You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ryo Sode <ry...@filemaker.com> on 2004/04/08 23:26:02 UTC
Response Assertion on HTTP header?
I am trying use JMeter to test and see if a HTTP header response contains
something like this:
HTTP/1.1 404 null
I thought this shouldn't be a problem if I just use Response Assertion
element and do "Contains" on this:
HTTP\/1.1 404 null
But it doesn't seem like this is working. Is the response assertion looking
at HTTP header at all or is it ignoring the HTTP header? Thanks.
Ryo
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Response Assertion on HTTP header?
Posted by Ryo Sode <ry...@filemaker.com>.
OK, I was on Jmeter 1.9.1 until yesterday and today I checked out 2.0. I see
that Response Assertion element now includes Response Code radio button, but
it still doesn't seem to be working against my test case which actually
produces HTTP 500 (unexpected error). I'd put 500 as the response assertion
and choose Response Code. Lookin at the Actual Results, even though the
response code 500 is returned, the result still comes out as a failure...
Ryo
> I am trying use JMeter to test and see if a HTTP header response contains
> something like this:
>
> HTTP/1.1 404 null
>
> I thought this shouldn't be a problem if I just use Response Assertion
> element and do "Contains" on this:
>
> HTTP\/1.1 404 null
>
> But it doesn't seem like this is working. Is the response assertion looking
> at HTTP header at all or is it ignoring the HTTP header? Thanks.
>
> Ryo
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org