What it does

RequestTracker pings a given website every few seconds and tracks latency over time. This latency is plotted on a graph when it's told to stop, such as with a SIGINT (`^C).

How it does

RequestTracker is written in Python and uses the requests library to simplify making HTTP requests. The time it takes to get a response after each request is stored in an array, along with the time the request was completed.

When it's finished, the pygal library is used to graph latency over time by feeding the two arrays (latency and time completed) to it, where it does all of the heavy lifting.

Each request can also be stored in a corresponding CSV to be graphed in different software.

Why it does

This was originally written to see how long it would take to load an application decisions page for a major college around the time decisions were released. It just happened to be useful for other reasons.

Built With

Share this project:

Updates