jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio Boso <ser...@bosoconsulting.it>
Subject Re: Is there a way to acquire the server side cookie
Date Mon, 16 Jul 2012 07:52:22 GMT
Hi

you can try disabling the
"check cookie syntax" flag in the jmeter properties

Also, set the client to HTTP4.0

ciao


Il 16/07/2012 08:14, Nirodha Pramod ha scritto:
> Hi,
>
> I have a requirement to call 2 web services with Jmeter.
> 1. Call the authentication service and login to the server with usename
> password as service parameters.
> 2. Call another admin service and add a resource to the server. But calling
> this service requires, first to be logged into the server using the above.
>
> When I run the test my second service call fails with an authentication
> failure. I used a cookie manager but it did not help.
>
> I figured out the issue, which is when I call the first service it creates
> a session cookie in the ServiceContext (server side) and use it for further
> authentications. But the server does not identify that the second call is
> from the same client. Solution is I have to use the server side session
> cookie in my subsequent calls.
>
> Is there a way to acquire this server side session cookie with Jmeter and
> use it for subsequent service calls.
>
> thanks in advance,
> Nirodha


-- 

Ing. Sergio Boso





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


Mime
View raw message