M
M
MKrivosheev2012-06-20 20:09:56
stress testing
MKrivosheev, 2012-06-20 20:09:56

Code "400" for a certain request - this is normal. How to inject it to Jmeter?

There is a RESTful API that can return a 400 code if something happens. It is assumed that the “case of what” will not be extremely rare, so this case will be included in the load test.

Those. it turns out that the answer "400" to one specific request is the norm. However, the "error" status is assigned to the request, it seems, always on responses of 4xx or 5xx. Accordingly, the listeners “blush” and a misunderstanding begins, where is the real error, and where is the very “not an error”.

Is it possible to specify that 400 is considered correct for a given request? I read descriptions of post-processors and listeners for a long time, however, I did not find anything like that :(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2012-06-20
@MKrivosheev

Is it possible to change the code in the API? 400 is a Bad Request.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question