user3590832
user3590832

Reputation: 11

Need to send N requests to the server using curl in 1 second?

I am trying to do the load testing on the server by using cURL command. How can I send N number of requests in 1 second to the server? for e.g if iam sending 100 requests to the server then all the 100 should go in 1 second. I have incorporated the cURLS in the bash script and tried to automate the test. However, I am able to send 100 requests in 24 seconds or more.

Upvotes: 1

Views: 1992

Answers (1)

Alex Hill
Alex Hill

Reputation: 711

You might want to look into using Apache AB benchmarking tools http://httpd.apache.org/docs/2.2/programs/ab.html

It's a lot more effective than just cURL, and you can send thousands of requests per second.

Upvotes: 1

Related Questions