0
votes

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.

1

1 Answers

0
votes
  1. If you use JMeter 3.2 (or later)

    JMeter 3.2 Assertion

    Reference: Response Assertions in JMeter 3.2 - New and Improved

  2. If you use previous JMeter versions it still can be done but you will have to go for regular expressions

    enter image description here