New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Response Assertion "Ignore Status" cancels preceding assertion failures. #1694
Comments
Sebb (migrated from Bugzilla): The documentation states: "When the Ignore Status checkbox is selected, the Response status is forced to The purpose of the checkbox is to allow the response status to be checked, even |
deane.sloan (migrated from Bugzilla): Probably led astray a bit by the doco statement "There is no difference between |
deane.sloan (migrated from Bugzilla): Simply put - splitting a check where you want to make your own determination The documentation around response assertion has a statement that would lead you BTW - this seemed like a viable approach to let a known HTTP 500 error through Thanks for taking the time to read this. |
Sebb (migrated from Bugzilla):
Your example did not use the same options... |
Sebb (migrated from Bugzilla): |
Sebb (migrated from Bugzilla): Ignore Status should only be used on the first Assertion |
deane.sloan (Bug 38824):
Overview Description:
The Response Assertion setting "Ignore Status" causes a Response Assertion to
cancel/drop any preceding response assertion failures.
Steps to Reproduce:
child Response Assertions.
loop forever.
certain string successfully.
contain the string that you know will be returned (i.e. it will cause it to
fail).
not set.
the string that you know will be returned (i.e. it shouldn't fail).
Actual Results:
The HTTP Request sample is not set into an error state when only the first
Response Assertion is triggered/fails on a pattern. The first assertion is
correctly recorded in the log as failed - however the HTTP sample shows as
being in success and the thread continues.
Expected Results:
When the first Response Assertion is triggered/fails on a pattern, set the HTTP
Request sample to be in error and stop the thread. The documented behaviour of
the "Ignore Status" does not indicate that preceding assertions are effectively
ignored if this value is set.
Build/Platform:
Windows XP SP2
Java 2 Runtime Environment, Standard Edition build 1.5.0_06-b05
Apache JMeter version 2.1.1
Thanks
Severity: trivial
OS: Windows XP
The text was updated successfully, but these errors were encountered: