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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24443

AssertionResult has misleading failure message when Response Assertion has "not" box 
checked

           Summary: AssertionResult has misleading failure message when
                    Response Assertion has "not" box checked
           Product: JMeter
           Version: 1.9.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Main
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When an assertion fails, the failure message is something like "Test Failed, 
expected to contain: ABCtextXYZ".  But when using a Response Assertion and 
checking the "not" box, the message should read something like "Test Failed, 
didn't expected to contain: ABCtextXYZ".

Found bug on 1.9.1 and still existed in nightly dated 9/9/2003.

To reproduce: simply create

Test Plan
..|-- Thread Group
........|-- Assertion Results
........|-- HTTP Request
..............| -- Response Assertion

In the Response Assertion, check the "not" box and add a Pattern To Test that 
actually is included in the response (therefore, making the assertion fail).  
Run the test and check the Assertion Results to see the error message.  

Actual results:  It will claim that the test failed because your pattern was 
not found.  

Expected results:  It should claim the test failed because your pattern was 
found.

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

Reply via email to