performance testing - How to take multiple values of a column in single column field in HP loadrunner -
i have 1 script in hp-loadrunner, want take multiple values of column in single field.
i have this:
variable1
test1
test2
test3
test4
i trying this:
variale1
test1,test2,test3,test4
i tried writing 'c' code solve unfortunately not able find proper solution.
is possible writing code change single column field during 1st test run , take values single column field ?
kindly me out, either in terms of writing 'c' code in script or change in excel/.dat file.
i think faced same problem try this:-
long fp; int i,j; char *searchvalue; char ch[10]; action() { fp=fopen("external file path","w"); for(i=1;i<=5;i++) { fputs("\"",fp); fputs(lr_eval_string("{internal file parameter}"),fp); for(j=1;j<=10;j++) { fputs(",",fp); fputs(lr_eval_string("{internal file parameter}"),fp); } fputs("\"",fp); fputs("\n",fp); } fclose(fp); return 0; }
Comments
Post a Comment