On 14/07/2008, Paule Zaksauskiene <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
>
>  In my Test Plan, I have got the GET HTTP request, which is not supposed
>  to  return any response.
>

All HTTP requests return a response (unless they time out)

>  However, when I run the test, the Sampler Result returns error as it
>  looks for a response, but receives the 404.
>

That is a response.

>  Please, see the answer below:
>
>
>
>  Thread Name: Thread Group 1-2
>
>  Sample Start: 2008-07-14 14:58:48 BST
>
>  Load time: 5
>
>  Latency: 0
>
>  Size in bytes: 0
>
>  Sample Count: 1
>
>  Error Count: 1
>
>  Response code: 404
>
>  Response message: Not Found
>
>
>
>  Response headers:
>
>  HTTP/1.1 404 Not Found
>
>  Date: Mon, 14 Jul 2008 13:58:48 GMT
>
>  Server: Jetty/5.1.3 (Windows XP/5.1 x86 java/1.5.0_14
>
>  Content-Type: text/javascript;charset=ISO-8859-1
>
>  Connection: close
>
>
>
>  How can I change HTTP request settings to make this request not to fail
>  in such case?

Use a Response Assertion:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Response_Assertion

Select: "Response Code" & "Ignore Status"

Set the pattern matching to "Equals"

Set the pattern to 404.

>
>
>
>  Thanks,
>
>
>  Paule Zaksauskiene
>
>
>
>

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

Reply via email to