You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by wicky_boy <wi...@gmail.com> on 2009/03/05 14:02:10 UTC

HTTP response assertion apparantly not working

Hi,

Need a sanity check.

I have an HTTP request which I don't want to appear as an error in my test
script.

The returned code and message is '301' and 'Moved Permanently' respectively.

I have setup the response assertion:

Response Field to Test = Response Code
Pattern Matching Results = Matches
Pattern to Test = 301
NOT = TICKED

The repsponse message is:

Thread Name: Thread Group 1-1
Sample Start: 2009-03-05 07:55:37 EST
Load time: 3
Latency: 0
Size in bytes: 0
Sample Count: 1
Error Count: 1
Response code: 301
Response message: Moved Permanently

After putting in the assertion the step still appears in the view results
tree as an error?

Is there something obvious I'm missing?

-- 
View this message in context: http://www.nabble.com/HTTP-response-assertion-apparantly-not-working-tp22351187p22351187.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org