How to execute VB script in Loadrunner Http/Html Protocol?

VB scripts cannot be executed directly from vugen. So what we will be doing is, we will be launching the vb script from a batch file and that batch file will be called from the loadrunner.
Its like executing the vb script from command line.

Step 1: Creating a Batch file

Open a notepad and paste the below command to call the vb script and save the notepad as .bat (batch) file.


Step 2: Creating a Loadrunner Web Script

Below is the loadrunner script to execute the batch file.



11 comments: