output HTTP response to simulation.log

I was checking this group to see how to output HTTP response - and one of the responses point to https://github.com/gatling/gatling/wiki/Gatling-2#http-misc this is an outdated link, could someone point me to a newer link please?

Add a file appender in your logback.xml
https://github.com/bbc/gatling-load-tests/blob/master/src/test/resources/logback-test.xml

Thank you

I can write a Python script to extract the HTML from the gatling.log and open it in a browser if you are interested?

I am sure that will be useful for a lot of people. If you want to do that, I would love it.

True…:slight_smile:

This should redirect HTML responses in the Gatling log to an HTML file.

sgrep ‘"" … “”’ gatling.log > gatling.html