Closed GoogleCodeExporter closed 9 years ago
And there should also be a way to log requests
Original comment by johan.ha...@gmail.com
on 16 Dec 2011 at 3:23
Something like this:
given().
log().all(). // Logs request headers (including cookies) and body
expect().
log().body(). // Logs only the response body
when().
..
These should work:
log.all()
log.body()
log.headers()
log.cookies()
To allow for backward compatibility we could possibly make the RequestLogConfig
extend RequestSpecification and ResponseLogConfig could extend
ResponseSpecification
Original comment by johan.ha...@gmail.com
on 17 Dec 2011 at 2:47
It should also be possible to configure the LogConfig in the RestAssuredConfig
Original comment by johan.ha...@gmail.com
on 17 Dec 2011 at 2:48
Original comment by johan.ha...@gmail.com
on 19 Dec 2011 at 7:34
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 22 Jun 2011 at 7:51