How to repeat HTTP requests multiple times and simultaneously without delay?

Asked

Viewed 694 times

3

I need a way to send http request’s several times, without change of any request.

Currently I have used Charles Proxy - I take the request of an iPhone app and so I can repeat it on my computer. Charles Proxy repeats as many times as necessary, but with some delay between requests. I noticed that the server does not accept the same request if sent after 200ms. Therefore, it needed a program or other means that could send 30 requests, for example, all at the same time, without delay. Is there any way to accomplish this?

I have no control over the server, which is not mine. I just get ready requests from the iphone and repeat in windows.

  • 1

    What type of request? REST, simple HTTP? There are several tools in various languages that allow you to do this. You wouldn’t need to create a specific program, just configure the tool with the number of threads, the number of requests per thread or the duration of the test.

  • http/1.1 POST. I’m open right now.

  • Take for example this example how to test load with the Soapui tool (which makes SOAP and RESP).

  • Another interesting tool for load testing is the Proxy Sniffer. With it you can record the test and it generates the code (in Java) for you to adapt in the way you want, besides having a system for you makes the execution of the recorded tests according to the requested parameters. Anyway, that’s what you’re looking for?

  • I will use the Sniffer proxy. But I wanted a program that could simply repeat POST https from a server at the same time.

1 answer

1

The Apache Jmeter is able to perform the load test you need. It is free and open source.

Just remember that sending too many requests to a server can knock you down or slow you down, and can generate something that will be considered as a Denial of Service Attack, Denial of Service (Dos) in English. This is especially severe when the server is not yours.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.