Hello,
I’m working on Gatling 2.0.0-M3a
I have the following code (consider that “something” and “something_else” are real jsonpath) :
.check(jsonPath(“something”).findAll.saveAs(“PRODUITS”))
In fonction of the response of the service i’ve got somtimes a list and sometimes something completly different.
I would do something like :
.check(jsonPath(“something”).findAll.saveAs(“PRODUITS”) or jsonPath(“something_else”).find.saveAs(“IS_EMPTY”))
Is that possible ?
I saw a previous where it was told to route if an error code occurs, but i don’t know how to implement it.
Thanks in advance.