REST API Stress Test

Great, so finished your newly designed REST API that will back up your upcoming platform. You are about to hit live and you are expecting a fair amount of visitors, but there is the possibility of overcoming that amount and you want to test your API to see how far it can go.

Enter stress tests. Stress tests can simulate users that come and hit requests over your API. The frequency of those requests is the key metric here and what you really want to know is how much you can afford.

The most well known stress test utility out there is Apache's AB. If you have installed Apache already you also have installed AB. So fire up your console, write ab and hit Enter.

AB is benchmarking tool for Apache servers, but you can use it with every HTTP serving platforms, such as Nodejs apps.


Read Next

The reason I do what I do
20 October 2016
I am Kostas Bariotis, a web developer, a proud wanderer and a passionate doer. My mission is to write clean and efficient code, to solve problems on the Web and to learn something more. Read more about me or get in touch .