How to view a requests body before it is sent

I am using Pebble templates and want to see if they are being filled out correctly before sending the request. What is the best way to view the requests body before it is sent?

I only intend on doing this as part of debugging or logging.

In Gatling in




You can set logger to show Request and Response:

<!-- uncomment and set to DEBUG to log all failing HTTP requests -->
<!-- uncomment and set to TRACE to log all HTTP requests -->
<logger name=“io.gatling.http.engine.response” level=“TRACE” />

That does work for all requests, is there a way to only look at specific requests?

This is for all HTTP trafic.
It’s fast change and for debugging for atOnceUsers(1) it’s a good choice.
I have tried for more complex scenarios and console show what I need :wink: