-
Notifications
You must be signed in to change notification settings - Fork 8
Using Ylib
Installation
Easy method:
0) Get the loadrunner script template.
(todo: create one ;-) )
Complicated method:
0) Download Ylib
1) Open a script inside the Loadrunner Virtual User Generator
2) Copy the Ylib files into the script’s directory.
3) Click on “File” → “Add Files to Script”.
4) Add what files you need, starting with “string.c” (repeat step 3 as needed).
5) For each file added add a line like the following to globals.h:
#include “string.c”
Substitute string.c with the name of the file you need.
Some files depend on other files in order to work. Most of them require string.c, some will require logging.c or transaction.c as well.
Usage:
Once the files are added the easiest way to check if everything works is by adding y_start_action_block() and y_end_action_block() calls to an action at the very start/end. If the script won’t run you did something wrong ;-)