Reputation: 32
I want the request to pass in both the cases if response contains "status":0 or "status":"0".
But if I include both this assertions in response assertion, it will take it as 'and'. It will pass only if both are satisfied. Please help me out of this.
Upvotes: 0
Views: 109
Reputation: 168072
If you use JMeter 3.2 (or later)
Reference: Response Assertions in JMeter 3.2 - New and Improved
If you use previous JMeter versions it still can be done but you will have to go for regular expressions
Upvotes: 0