.exec(invalidCode.httpRequest .extraInfoExtractor { response => if (response.status != 200) { val scnName = response.session.scenarioName // how to output it with errors? } Nil })
---- Errors --------------------------------------------------------------------
> status.find.in(200,304,201,202,203,204,205,206,207,208,209), b 1 (100.0%)
ut actually found 422
================================================================================
So I see that you can get at the scenario name with the following. How do I go about adding that to the official failure message output?
.exec(invalidCode.httpRequest.extraInfoExtractor { response =>if (response.status != 200) {val scnName = response.session.scenarioName// how to output it with errors?}Nil})
Can I access the errors from the scala class? I want to see the error message within the output below...
---- Errors --------------------------------------------------------------------
> status.find.in(200,304,201,202,203,204,205,206,207,208,209), b 1 (100.0%)
ut actually found 422
================================================================================
--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.