Monday, December 9, 2013

Error: Extenstion lrcVba was not loaded. You are running under secure mode and this extension is not allowed-Error in loading Extension or DLLs while running LG over firewall

When running COM/DCOM scripts either from standalone Controller or from Performance Center, they fail with

"Error: Extenstion lrcVba was not loaded. You are running under secure mode and this extension is not allowed"
The same issue can happen for VB and JAVA user scripts.

To solve this follow these steps:

To be able to run the COM/DCOM scripts on an InjectorOverFireWall machine, or any other protocol type which is not allowed to run over the firewall by default, do the following:
1. Open the *.usr file, located in the script directory, using notepad and find the value for Type=.
2. On the LG machine, go to (pc install dir)\dat\mdrv\lrc_mdrv.dat file and open it in notepad
3. Add the flag "SecurityMode=on" under the relevant section like [lrc], [lrcVba], [lrcCreplay], [lrcVbareplay] etc
4. Save the changes and restart the agent process or service on the LG machine.
5. Run the test again.It work will fine

How to check the Transactions done by a Vuser in Analysis

The Analysis data pulls out the transaction data for all the vusers for your test run. If you are interested in getting data for a particular vuser then you can do that by:

Go to Transactions Summary Report, right-click on the graph and select filter.

On the filter page select VuserID filter and give a proper value or range of Vuser to get the appropriate data.

If you are not sure what is the VuserIDs during your test run then click on vusers button and it will list the VuserID used during your test