I want to load string into variables from a local .log file (which works) and then check for a particular string.
I tried Response Assertion but this is only for HTTP responses?
The choices of JMeter Assertion scope are in:
You can use Dummy Sampler as a parent for you assertion, assertion should be configured as per below image:
See How to Use JMeter Assertions in 3 Easy Steps guide for more information on using assertions.
On the Response Assertion, one of the selections should enable you to assert on a variable.
Look for the check box "JMeter Variable" and enter the variable name in the text box next to the option. This will cause the response assertion to look at the value of the variable, not sampler data.
Hope that helps, if not please clarify the question!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With