How to compare in-memory array variables

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.


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