| || |
Calling scripts in load runner?
There might be certain things that I have to write a code for every time, instead I just want to call back a common code that I could write for myself. Is there any way in which I could call up other scripts in the ongoing script?
something like :
Now I would be using the 'If' part every time, is there no way to call it in all the scripts I require.
I dont know if I have been able to express my query effectively!!!
Re: Calling scripts in load runner?
The LoadRunner script is just a standard ANSI C code. Thus, define your functions in external file and include it to every script.
The second technique is to build your own DLL, then just call it using lr_load_dll(); function (limitation, - will not work on UNIX boxes). In addition, - take care of having your code thread safe.