On 29/06/2010, Karsten Gaul <[email protected]> wrote:
> Hi again,
>
>  I have some problems getting POST requests through JMeter.
>
>  The jmeter.log prints the following:
>  readResponse: java.io.IOException: Server returned HTTP response code: 401
> for URL:
>
>  It is just a warning though because when I follow my server's log the
> required actions are executed.

That does not sound right, unless somehow your test plan is resending
the request.

The server should not reject a request and then process it.

AIUI the request will be rejected fairly early on (if it is a 401) and
the servlet code won't even see it.

>  Well, 401 is an authorization issue which I thought to have solved by
> providing the auth manager. This one is required anyway because the site on
> test has a .htaccess login. Whitout the manager, the get requests fail too.

So does the Auth Mgr fix get requests?

> The post requests are mostly for sending data in order to create an account
> or something like that.
>
>  Can anyone explain the behaviour of jmeter for the post requests and what I
> can do against it?

What do you see in the Tree View Listener?

How does that compare with what a browser sees?

http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour

>  rgds
>  Karsten
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail:
> [email protected]
>  For additional commands, e-mail:
> [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to