Since different JDKs are needed by the different scripts that you need to be run concurrently from Controller on a single LG you can use Terminal Services as an option.
1. Launch the LoadRunner Agent as a process.
2. Before launching the sessions and the respective agents make sure you select Start -> Programs-> LoadRunner -> Advanced settings -> Agent Configuration -> Enable Terminal Services.
3. Open a different terminal session for each JDK environment on the Load Generator machine. Log in as a different user for each session. You can set up the environment for each user to point to a different JDK.
4. On each session, launch the Agent process. This process will pick up the JDK specified in the environment variable.
5.In the Controller, connect to each session as LG:0, LG:1, LG:2, and come to a "Ready" state. Then, run each script in the session that has the respective JDK.
No comments:
Post a Comment