I've added a User Defined Variables element
- Then created a variable ${Parameter} with value "123456" and passed it in a GET request.
- Created a second variable ${Response} with value "Invalid code 123456"
I've added a Response Assertion element
- Added the ${Response} variable to the Response Assertion
When I send the request like this, everything is fine. But if I add the second variable in the value field, then an Assertion error is returned.
What I'm trying to do is to add a variable to the value field of an already existing variable: e.g. Set the Value of the ${Response} variable as "Invalid code ${Parameter}"
How can I achieve this in jmeter?