smartcat-labs / berserker

Berserker is load generator with pluggable input source and configurable output.
Apache License 2.0
52 stars 8 forks source link

Enable logging of request and response #44

Open milannister opened 6 years ago

milannister commented 6 years ago

It should be possible to log the actual queries (requests) that are generated and response for each of the query.

This is useful for several reasons:

  1. to (sanity) check that the queries are generated is what we want
  2. to (sanity) check that returned response is what we want

This can be implemented in two steps:

  1. enable logging of requests and response (without providing the link for it, just plain logging of all the requests and responses)
  2. each response should reference a request somehow, so that it is possible to link the request and response