Unanswered question

Why we get Assertion errors while running the test

while running the test we are getting some Assertion failed errors, actually i didn't configure any Assertions in Response Validations but getting errors ,when i am getting this errors i din't get any issues in my application logs ,but i need to know about this errors can you please suggest me on this

UPENDAR P.
UPENDAR P.

UPENDAR P.

Level
1
251 / 750
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

From that Error tab if you select the "Assertion" button instead of the "Response" button you see the assertion that failed.

If you did not configure any assertions then it's probably due to a variable extractor that did not match.

That means that the response sent by the server during your test was probably different from the recording.

You should check the content of that response if it is the expected one and compare it with the recording to figure out why the assertion failed.