Hi
I have the following setup:
- Loadrunner 12.01 (Controller, Load Generator & VUGen) on Win2012 R2 8GB RAM - Server
- LR RDP Agent installed from the LR Additional components directory to Win 7 Pro SP1 8GB RAM - Workstation
Using VUgen I recorded a simple script using the RDP Protocol to connect to the Workstation, login, launch an application, conduct a transaction then log out.
I ran 3 iterations of the script (End-to-End) in VUGen on the LR Server and each one passed. I had the following settings in the RunTime :
- RDP, Synchronization
Fail image synch step on timeout = No
Disable synchronization failure dialogue = Ticked
- RDP, Advanced
Socket receive buffer size (bytes) = 65536
Socket receive buffer timeout (msec) = 5000
- RDP, RDP Agent
Replay using RDP Agent = Ticked
Wait time for RDP agent response (msec) = 30000
I loaded the script on to the LR Controller and userd the same Server for the LR Generator (Did not use the Workstation as a LG) to run for 1 user 1 iteration but it failed. It failed at the point where the RDP client tries to locates the RDP Agent on the Windows 7 Workstation.
In the script the login password is entered then straight after the following synch is attempted but fails:
Action.c(29):
rdp_sync_on_agent("StepDescription=Agent Synchronization 1",
"FailStepIfNotFound=Yes",
RDP_LAST);
The Vuser log shows the following:
Action.c(29): Warning:Received error PDU with code 0.
Action.c(29): Detected MCS shutdown packet
Action.c(29): Error:Connection reset by the server
Action.c(29): There was an error while synchronizing on the agent
Abort was called from an action.
The RDP Agent is installed and working on the Windows 7 Workstation because 3 iterations of the script were run successfully. So, why does it fail to recognise the RDP Agent when running the same script via the LR Controller? I am not using the Workstation as a Load Generator because the RDP Agent is installed on it.
Any help would be most appreciated.
kind regards
Raja