Split a Dynamic Value Returned by Server in Load Runner

I want to split the dynamic value - "HelloVuserNo1" into 3 parts - Hello, Vuser, No1.
I am using API web_reg_save_param_ex for the correlation, but need help in splitting the dynamic response

Showing Answers 1 - 3 of 3 Answers

krunal

  • Jun 2nd, 2017
 

I want to split the dynamic value - "HelloVuserNo1" into 3 parts - Hello, Vuser, No1.
I am using API web_reg_save_param_ex for the correlation, but need help in splitting the dynamic response
ANSWER:
1st Correlation
web_reg_save_param_ex("ParamName=Corr1","LB=","RB=", "SaveOffset = 0","Savelen=4",LAST);
so Corr2 will Hold #Vuser#
2nd Correlation
web_reg_save_param_ex("ParamName=Corr2","LB=","RB=", "SaveOffset = 4","Savelen=4",LAST);
so Corr3 will Hold #No1#
3rd Correlation
web_reg_save_param_ex("ParamName=Corr3","LB=","RB=", "SaveOffset = 8","Savelen=3",LAST);
so Corr1 will Hold #Vuser#

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions