TestUser
TestUser

Reputation: 967

How to measure http(s) requests sent per second sent by my executable?

I have a C++ executable which makes use of cURL to make HTTP(s) requests to an external server. Is there a good way for me to determine the requests sent per second? Any way or tool will be helpful.

Upvotes: 0

Views: 231

Answers (1)

Remy Lebeau
Remy Lebeau

Reputation: 597325

Increment a counter every time the application makes a request. Have a separate timer that checks and resets the counter every second. Average the values over time as needed.

Upvotes: 1

Related Questions