Saturday, 31 March 2018

How to test number of HTTP requests an API can handle per minute

I want to test how many requests my API (an express app run locally) can handle per second. I wrote a bash script which calls 'curl' to the API in a loop and takes an argument designating the number of curl calls. However, I think the bottleneck is on the testing end. I don't think I'm seeing the amount of API calls the API can handle, but rather the amount of calls my local machine can generate. Is there a simple way to test an API like this? Is there a test framework that can generate high volumes of calls?

Submitted March 31, 2018 at 01:16PM by GuyF1eri

No comments:

Post a Comment