Can apache-jmeter check the return value of a url for a correct response?

The setting for apache-jmeter allows you to send a URL to a web server in multiple threads. I am interested in first determining whether the response codes are 200-500, and then whether the returned content is returned to the expected content. Is this detailed configuration possible?

+5
source share
2 answers

I believe this from what he says here.

+3
source

Yes Yes. You just need to add two response arguments to your HTTP sampler.

One that checks the response code, and a second that checks the response message.

.

+8

All Articles