Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a server which blocks burst request (if the same IP address accesses the server more than 3 times a second, it will serve 500 error).

So when I use Apache benchmark, I see a lot of failed requests, even when I set concurrency to 1.

Is there an option to set an interval between each request? Or is there similar benchmarking tools that offers this interval functionality?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

You're really not going to accomplish any meaningful load testing with concurrency limited to 3. You probably need to remove the requests per second restriction for the IP that you're testing from.

share|improve this answer
add comment

There is no such option.

Only configurable timing settings is

-t timelimit

Maximum number of seconds to spend for benchmarking. This implies a -n 50000 internally. Use this to benchmark the server within a fixed total amount of time. Per default there is no timelimit.

However, what is effect of benchmarking if you wait? You will not gain real results at all.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.