This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Testing and the fly likes 200 ok response code is considered as error in blazemeter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "200 ok response code is considered as error in blazemeter" Watch "200 ok response code is considered as error in blazemeter" New topic
Author

200 ok response code is considered as error in blazemeter

poorna alluri
Greenhorn

Joined: Apr 07, 2011
Posts: 2
I am new to load testing . We created scripts in jmeter and are running actual load tests on blaze meter.
the issue we are facing right now is the response code 200 is also getting considered as errors which is increasing our total error % in the aggregate report.

Response codes
response code count response message
Non HTTP response code: java.net.SocketException 2479 Non HTTP response message: Connection reset
200 44066 OK

In our understanding 200 response code is success but they are counted as error in blaze meter. this does not happen in jmeter . so all 44066 requests are considered as errors.
due to this our error% in aggregate report shows really high values.
Another issue is requests which are shown as failed in assertions are not considered as errors.

Assertions
assertion name count assertion message
Assert the Sueccess/Failure 688 Test failed: text expected not to contain /Sorry/
Response Assertion 362 Test failed: code expected to contain /200/

The above are not considered as errors in blazemeter

Any information on this would be helpful. is it some thing we could change in the script.Please help us understand more on this.


Vitali Diho
Greenhorn

Joined: Nov 20, 2013
Posts: 1
In JMeter , Response code of 200 can be counted as an error in several cases:
Assertion - for example you assertion set to look for some text in your reply and it wasn't there.
Embedded resources - for example you load HTML page with CSS, Images and JavaScript, and one or more of those resources where not found, then the whole Sample will be counted as failed.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 200 ok response code is considered as error in blazemeter
 
Similar Threads
Errores JMeter
jmeter results unrealistically fast
testing a single module using jmeter
Functional Testing using jmeter
Limit on Data/Key-Value Pairs in Form Submission