Hi,
Can you please provide an example for me to reproduce it? I'll
need all assertion settings and sample JSON.
--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
assert-jsonpath:
- jsonpath: "$.error"
validate: true
expected-value: "Serial number (${serial}) does not belong to Customer (${customer})"
- jsonpath: "$.status"
validate: true
expected-value: 400
{"error":"Serial number (23323) does not belong to Customer (001)","status":400}serial = 23323
customer = 001There were a bug fixed in JSON plugin around this recently. Can
you make sure you have the latest plugin installed?
You have sent me the assertion settings, but did not send actual
JSON you get from server. I need it to reproduce the issue.
{"error":"Serial number (23323) does not belong to Customer (001)","status":400}
You received this message because you are subscribed to a topic in the Google Groups "jmeter-plugins" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jmeter-plugins/-wTW5EKUFLs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jmeter-plugin...@googlegroups.com.
This looks like Taurus issue. JMeter plugin enables matching as regexp by default, so your string template does not match.
Temporary workaround would be to modify your template with
backslashes: expected-value: "Serial number \(${serial}\) does not
belong to Customer
\ (${customer}\)"
. Maybe you'll need double backslashes, I'm not sure.
The proper solution would be to support the regexp flag in
Taurus.