Aggregate count of response status codes

Rudra's Avatar

Rudra

13 Jun, 2016 11:36 PM

If we ran an Archani scan that sent 100 requests, I would like to see how many of those requests resulted in non 200 & 300 respionse status codes grouped by individual response codes. This would indicate either that the server became unstable resulting in 5XX, 403 authorization issues, etc.,

Is there a way to get this count of the response status codes for completed scans either by manually aggregating access logs or API exposing this info?

  1. Support Staff 1 Posted by Tasos Laskos on 14 Jun, 2016 07:47 AM

    Tasos Laskos's Avatar

    You can't get this info for completed scans but you can write a plugin that hooks to the HTTP client via http.on_complete and do what you please with the responses.
    The best way to go about it is check out the existing plugins to get an idea of how they work.

    Cheers

  2. 2 Posted by Rudra on 14 Jun, 2016 08:27 PM

    Rudra's Avatar

    That looks doable. Thx

  3. Support Staff 3 Posted by Tasos Laskos on 15 Jun, 2016 07:08 AM

    Tasos Laskos's Avatar

    No problem.

  4. Tasos Laskos closed this discussion on 15 Jun, 2016 07:08 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac