11 Replies Latest reply: Oct 20, 2010 9:50 AM by 806768 RSS

    Oracle Load Testing

    user13062020
      Hi,

      I have recorded a script using OpenScript and when i tried to execute the same using OLT,it is giving en error.Error occured while running Virtual users.The details of the error is given below.

      Watch VU Grid tab:
      status- Orphaned agent
      Current Error-Unexpected Agent exit. Code = 0
      Previous Error-Unexpected Agent exit. Code = 0

      Configuration is given below

      No.of virtual users:50

      Usermode:Java client


      Can anyone help me please?


      Regards,
      Sandeep.

      Edited by: user13062020 on Oct 7, 2010 11:40 PM
        • 1. Re: Oracle Load Testing
          Jamie_Lockhart
          Have you tried re-starting the agent service?

          Jamie
          • 2. Re: Oracle Load Testing
            user13062020
            Hi Jamie,

            Thanks for the help,i have restarted the agent service,but now it is showing the error message "error communicating with Oracle Load Testing Manager on oats-am:/localhost:9001:Timed out after 60 seconds".Can you please help on this.

            Regards,
            Sandeep.
            • 3. Re: Oracle Load Testing
              Jamie_Lockhart
              Hi Sandeep,

              Is there anything in C:\OracleATS\logs\agentmanager.log. Also, if you run netstat -a is there a sevice listening on port 9001?

              Jamie
              • 4. Re: Oracle Load Testing
                glenn.s
                As Jamie mentions, first verify the running agent manager. Execute only 1 virtual users in OLT until you have confirmed the OATS system is working working correctly. 50 is not recommended until you have seen at least 1 running in your trials.

                command line > netstat -a | find ":9001"
                • 5. Re: Oracle Load Testing
                  user13062020
                  Hello Jamie,

                  The content of the agentmanager.log is pasted below.Yes,there is a service listening on port 9001.

                  08:40:22,922 INFO [EmpStartAuthenticator] Authentication config has been updated on Thu Oct 07 15:02:22 IST 2010
                  08:40:23,078 INFO [AgentProcessDescriptorManager] Loaded process descriptor <AgentProcessDescriptor
                  descriptorFile=C:\OracleATS\agentmanager\processDescriptors\DataCollector.properties
                  typeId=service.exe
                  exe=C:\OracleATS\DataCollector\bin\service.exe
                  workingDir=C:\OracleATS\DataCollector\bin
                  settingsHandler=oracle.oats.agents.processDescriptors.DataCollector.SettingsHandler />
                  08:40:23,109 INFO [AgentProcessDescriptorManager] Loaded process descriptor <AgentProcessDescriptor
                  descriptorFile=C:\OracleATS\agentmanager\processDescriptors\ETesterEx.properties
                  typeId=eTesterEx.exe
                  exe=C:\OracleATS\OFT\ETesterEx.exe
                  workingDir=C:\OracleATS\OFT
                  settingsHandler=oracle.oats.agents.processDescriptors.ETesterEx.SettingsHandler />
                  08:40:23,359 INFO [AgentProcessDescriptorManager] Loaded process descriptor <AgentProcessDescriptor
                  descriptorFile=C:\OracleATS\agentmanager\processDescriptors\JavaAgent.properties
                  typeId=empJAgent.exe
                  exe=C:\OracleATS\jdk\jre\bin\olt-agent.exe
                  workingDir=C:\OracleATS\agent
                  settingsHandler=oracle.oats.agents.processDescriptors.JavaAgent.SettingsHandler />
                  08:40:23,359 INFO [AgentProcessDescriptorManager] Loaded process descriptor <AgentProcessDescriptor
                  descriptorFile=C:\OracleATS\agentmanager\processDescriptors\OpenScript.properties
                  typeId=openScriptCML.exe
                  exe=C:\OracleATS\jdk\jre\bin\otm-ose-agent.exe
                  workingDir=C:\OracleATS\agent
                  settingsHandler=oracle.oats.agents.processDescriptors.OpenScript.SettingsHandler />
                  08:40:23,391 INFO [AgentProcessDescriptorManager] Loaded process descriptor <AgentProcessDescriptor
                  descriptorFile=C:\OracleATS\agentmanager\processDescriptors\RswMint.properties
                  typeId=RswMint.exe
                  exe=C:\OracleATS\OFT\RswMint.exe
                  workingDir=C:\OracleATS\OFT
                  settingsHandler=oracle.oats.agents.processDescriptors.RswMint.SettingsHandler />
                  08:40:23,391 INFO [AgentProcessDescriptorManager] Loaded process descriptor <AgentProcessDescriptor
                  descriptorFile=C:\OracleATS\agentmanager\processDescriptors\ThirdPartyTest.properties
                  typeId=thirdPartyTest.exe
                  exe=C:\OracleATS\jdk\jre\bin\otm-3rdparty-agent.exe
                  workingDir=C:\OracleATS\agent
                  settingsHandler=oracle.oats.agents.processDescriptors.ThirdPartyTest.SettingsHandler />
                  08:40:23,406 INFO [AgentProcessDescriptorManager] Loaded process descriptor <AgentProcessDescriptor
                  descriptorFile=C:\OracleATS\agentmanager\processDescriptors\WgPro.properties
                  typeId=WgPro.exe
                  exe=C:\OracleATS\OFT\WgPro.exe
                  workingDir=C:\OracleATS\OFT
                  settingsHandler=oracle.oats.agents.processDescriptors.WgPro.SettingsHandler />
                  08:40:23,469 INFO [Messenger] Messenger Loaded....
                  08:40:23,469 INFO [EmpStartMain] PortListener Loaded....
                  08:40:23,656 INFO [ProcessRunnerFactory] Constructed Generic process runner
                  08:40:23,688 INFO [EmpStartMain] EmpStart initialization complete: port=9001, agentManagerDir=C:\OracleATS\agentmanager, version=9.10.0182.000
                  08:40:25,766 INFO [EmpStartMain] Listening on port: 9001


                  Regards,
                  Sandeep.
                  • 6. Re: Oracle Load Testing
                    user13062020
                    Hi glenn.s,

                    I have executed with one VU in the OLT,but the same error message is coming.

                    Regards,
                    Sandeep.
                    • 7. Re: Oracle Load Testing
                      Jamie_Lockhart
                      Hi Sandeep,

                      Have you tried testing whether OLT can communicate with the agent - in OLT go to Manage -> Systems -> VU Agent Systems -> OLT Server -> Edit -> Test. Does it give a success message?

                      Jamie
                      • 8. Re: Oracle Load Testing
                        user13062020
                        Hi Jamie,

                        Yes,It is giving a successful message "The system specified can be successfully accessed by the Oracle Load Testing server.


                        Regards,
                        Sandeep.
                        • 9. Re: Oracle Load Testing
                          Alex
                          Sandeep

                          Can you see if you can connect to port 9001 in the agent machine.

                          You will need to run to following command in the command prompt

                          telnet <agent_hostname> 9001

                          You should get a screen with lots of characters in it if the connection is successful.

                          Alex
                          • 10. Re: Oracle Load Testing
                            user13062020
                            Hi,

                            I had given telnet localhost 9001 in the command prompt and i could see a blank screen.I have installed OLT in my pc only and it came with OATS installation.


                            Regards,
                            Sandeep.

                            Edited by: user13062020 on Oct 12, 2010 3:39 AM
                            • 11. Re: Oracle Load Testing
                              806768
                              I have the same problem, please help.

                              Best Regards,
                              Todor