How to send 4000+ requests in exactly 1 second?

后端 未结 4 1591
无人及你
无人及你 2021-01-17 08:29

I have an HTTP GET request. I need to send the request to the application server for more than 4000 times exactly in 1 second.

I\'m sending

4条回答
  •  不要未来只要你来
    2021-01-17 09:31

    1. If your PC is not enough, you should use distributed testing in Jmeter
    2. Keep in mind, that in theory you can send 4000 requests per second, they will spend some time on the way to the server, so there is probability that they will come not in 1 second. To avoid this, try to use high bandwidth lan( for example, you can host your server in Azure cloud and install Jmeter in cloud too. )
    3. If you will have no success with JMeter try to use Tank This tool specialized on high loading, and it should be possible to send even 10k requests in 1 second from 1 machine.

提交回复
热议问题