Hi all
Need help with below gatling code. I have 3 tests in below code. First two tests work fine. Need help with 3rd test.
Hi all
Need help with below gatling code. I have 3 tests in below code. First two tests work fine. Need help with 3rd test.
There a “is” check step for verifying equality.
Hi Stephane
Can you pls help me with the Gatling syntax.
I was not able to get the syntax for checking equality.
Thanks.
is just performs a simple equals, so, depending on what you’re trying to compare, you might just be comparing references and not doing a deep comparison. It depends on how equals is implemented for the type you’re comparing.
If is doesn’t work as you’d like, you could write your own Validator, see http://gatling.io/docs/2.1.7/http/http_check.html#http-check-validating