How can I create variable from a response data. I want to create variable n1 which will get the value from variable v1, because v1 is diynamic variable.Response part:
q=q.replace("v1=2780");
How can I create variable from a response data. I want to create variable n1 which will get the value from variable v1, because v1 is diynamic variable.Response part:
q=q.replace("v1=2780");
Can you clarify your question a little? is "v1" a JMETER variable, or a variable in the program you are testing?
It sounds like you want to use a regular expression to extract the value of v1 and save the results as jmeter variable n1.
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor