Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question