To add additional information to the report

Gatling version:3.11.5
Gatling flavor: java
Gatling build tool: maven

I wanted to extend the reporting after running the simulation. Take a look at my test example—I would like to add “headerValue” from the session. However, in the report, it is displayed as #{headerValue}, and it does not show the actual header value. I am clarifying whether it is correctly stored in the session—it is stored correctly because in this line it works properly: .headers(activationHeader("#{headerValue}")). It seems that this method does not work—how can I fix it? Perhaps there are other ways to present additional information in the report. I have reviewed the Gatling documentation but found nothing. Does anyone have any ideas?

Check.name takes a static value so you can’t do this.

Yes, I’ve seen that in the Gatling documentation. Is there any other way to extend the report?

Not built-in. You’d have to implement your own checks.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.