You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2003/11/05 20:52:23 UTC

DO NOT REPLY [Bug 24443] New: - AssertionResult has misleading failure message when Response Assertion has "not" box checked

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: jmeter-dev@jakarta.apache.org
        ReportedBy: daniel.yuen@dejima.com


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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org