I wish did fix the issue. I previously had a small VBScript that would test if a specific website was accessible by sending a GET request. The script itself was extremely simple and did everything I needed: , A direct translation of your code would be something like this:
Does that help The cause of the problem is the Elastic Load Balancers on AWS. They, by default, timeout after 60 seconds of inactivity which is what was causing the problem. So it wasn't NginX, PHP-FPM or PHP but the load balancer.
Why am I getting a HTTP 400 bad request response when sending a manually-crafted HTTP request over a TCP socket?
may help you . Use the multi interface. Add a new handle and start a new request every N seconds and let it take its time. It'll handle "any" amount of simultaneous transfers for you. "any" because there's probably a limit in number of open sockets a process is allowed to use (depending on the environment you want this for).
Jmeter is skipping http request under thread Group but some time its sending http request