Gatling - Log body of request in simulation.log or console

前端 未结 5 2322
我寻月下人不归
我寻月下人不归 2021-02-19 00:28

I would like to see what is in the body of the post that I am sending in my script. In fact, I would like to see the request, request body and response. From looking at the docs

5条回答
  •  醉梦人生
    2021-02-19 00:58

    Add this to your logback.xml

    
    

    This will print following details for each failure -

    1. Request url
    2. Request header
    3. Request body
    4. Response header
    5. Gatling session data

提交回复
热议问题