I am running into strange problem during my QALoad testing . I have created a script that i am to able validate successfully but when i try to run using that script on conductor by assigning them on different machines it starts failing..error like "Some screen was expected something else came up " starts coming. i believe session on various machines are getting mixed up I have variablized session id in script but then also such errors are coming.
Do you peole see any other reason to this problem? It would be gr8 if someone could suggest any solution for it Thanks in advance!!
I had the same problem before. It was because the Player Agent to the machine I was trying to use was turned off. I couldn't figure it out until I diagnosed the machine and I saw there was no player agent on it.
no the machines are already up and script starts running also but the problem is that if fails in between erratically saying that some screen was expected and else came up...
I debugged at the script and found screen that is coming should be coming much later in the script . That makes be believe that probably qaload is mixing up the session id of two agent machines it uses.
It is very unlikely that QALoad is mistakenly mixing up sessions on its own.
Are you using multiple Web servers with a load balancer? If so, you may consider that some applications require sticky sessions in which all requests from one user are supposed to be mapped to the same server by the load balancer (or perhaps a proxy server machine?). If the load balancer or proxy server is not configured to route all of the traffic from a given user to the same server, it may explain the behavior you are seeing. Load balancer/proxy machine would need to be reconfigured to solve this issue.
Another possibility, if you have variablized your user logins, is that the various users you are pulling in from the datapool will pull up different pages based on their permission level within the application or based on the data that the user login is linked to. It is best for all user logins running one particular script to be very homogeneous (i.e. the same) regarding permissions, etc.
Also, if you are using more than one tier of Web servers and you variablized the session ID or JsessionID by doing a global replacement, you may be inserting one server's sessionID of JsessionID for the other server when the QALoad script executes. By "more than one tier of Web servers", I mean, for example, where your main Web/application server hands off to a Web/application reporting server which then directly interacts with the user).
What version of QAload are you using? Are you using the WWW protocol?