Am quite new to load runner. Appreciate any kinda help.
is there any function/ way in LR to set the Rows in dat file to a specific Row.
say something like --?
which would set the current row to row 3 in dat file.
(i learnt abt. Lr_nextrow - which i dont think would help much)
Peter...Thanx all u guys for the response.
But still i feel, this wouldnt answer my req.
I want to perform something like this in a Single Iteration ->
Parameterfile. SetCurrentRow (1)
//sets the current row to 1 in param
//retrieve column values for Row 1
Parameterfile. SetCurrentRow (5)
//sets the current row to 5 in param
//retrieve column values for Row 5
Write your own function, SetCurrentRow(<row number>, which would then allow you to set your row context. There are two functions (see your lrun.h file) which you could take advantage of to write your own function, they are
int WINAPI lr_next_row PROTO(( LPCSTR table));
int lr_advance_param PROTO(( LPCSTR param));
<font size="2" face="Verdana, Arial, Helvetica">You mention you are new to LoadRunner. Perhaps the functionality you are trying to build in the form of a function is already there in LoadRunner. What precisely are you trying to do with the data for each virtual user?