DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38824>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38824

           Summary: Response Assertion "Ignore Status" cancels preceding
                    assertion failures.
           Product: JMeter
           Version: 2.1.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Overview Description: 
The Response Assertion setting "Ignore Status" causes a Response Assertion to 
cancel/drop any preceding response assertion failures.

Steps to Reproduce:
1) Create a test plan (+thread group etc) with a HTTP Request sampler and two 
child Response Assertions. 
2) Configure the thread group to "Stop Thread" after a sampler error and to 
loop forever.
3) Configure the HTTP Request sampler to a URL where you know it will return a 
certain string successfully.
4) Configure the first child Response Assertion with a pattern set to "NOT" 
contain the string that you know *will be* returned (i.e. it will cause it to 
fail). 
6) Ensure the "Ignore status" checkbox on the first child Response Assertion is 
not set.
5) Configure the last child response assertion with a pattern set to contain 
the string that you know will be returned (i.e. it shouldn't fail). 
6) Tick the "Ignore status" checkbox on the last child Response Assertion.

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

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to