I have the same site running on two different machines (behind the same firewall), same exact code. I have created a test plan with Jmeter that just hits the home page. If I run with first url everything works as expected and get Size in bytes 17265. If I then other size I get a size of 0. Both are returning 200 status.
Is there a setting on the server side that could be causing this? I dont think it is a Jmeter setting since all I am doing for the 2nd request it changing the URL
ADDING INFORMATION My HTTP Request Default I just add the URL and change nothing else
For the HTTP Request I didn't actuall modify ANY setting
This it the response body from one server:
And this is the Other that is ALSO returning a 200 Status:
Edit: I had seen that article but I had already had those features installed and working unless the is an additional setting somewhere in IIS that says even if these features are installed don't use them. Assuming that the errors in the logs would be under IIS there are no errors.
Your server might be requiring headers such as Accept-Encoding which JMeter is not sending by default.
To add it in see here
As well here is a JMX file testing your domain. Disable the HTTP Header Manager and you will get a 200 status but no data.
As you mention in your question this is not a JMeter issue.
It seems the server code or configuration might not be correct as per following links (mentioned by https://stackoverflow.com/users/7294900/user7294900):
And also this one:
Why does IIS return empty responses?
Suppressing HTTP 500 response codes
Check server logs for error logs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With