You can enable debug logging (on short test runs!) with the following
line in jmeter.properties:

log_level.jmeter.protocol.http.control.CookieManager=DEBUG

or the equivalent command-line flag:

-Ljmeter.protocol.http.control.CookieManager=DEBUG

Note: upper case L.

The output is not all that easy to read (I need to work on that), but:

* addCookieFromHeader() -  the method that takes the incoming cookies
* Add cookie - if the cookie is stored.

* Get cookie for URL -  look for cookie to send
* Cookie name - potential cookie
* matched - previously named cookie will be sent

If you don't get any of this, then either the CM is not being used by
the sampler, or it is in the wrong place or disabled, or the property
is wrongly spelt...

S.
On 25/10/05, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi
> I tried to use the CookieManager, but without success.
>
> I'll try the nighty build.
>
> Thanks
> F.
>
> ________________________________
>
> From: ext sebb [mailto:[EMAIL PROTECTED]
> Sent: Tue 10/25/2005 7:09 PM
> To: JMeter Users List
> Subject: Re: Cookie problem using XML-RPC
>
>
>
> The sampler extends HTTP Sampler, so I think it should handle Cookies.
>
> Try the nightly build and see if that fixes it - I've updated the
> cookie handling somewhat.
>
> S.
> On 25/10/05, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > Hi to all
> >
> > I've a problem with jMeter (2.1.1) when submitting XML-RPC requests.
> >
> > Here is the scenario:
> >  - I created a Thread Group containing the following items:
> >   - 1 SOAP/XML-RPC Request for login
> >   - 2 RegExp extractors to extract two Cookies from the login response
> >   - 1 HTTP Header Manager to add the previously extracted cookies in the 
> > following request (since I read that the SOAP/XML-RPC Request didn't use 
> > the CookieManager)
> >   - 1 SOAP/XML-RPC Request for data submission
> >
> > When I perform the test (1 run with 1 thread to check that everything 
> > works) the result is:
> >  - the login request succeded (returns 200 OK and the session cookies)
> >  - the data request fails (return 302, and checking the sent message it 
> > shows that the header contains the setted cookies (2 times each))
> >
> > So the login is ok, but when I try to use the retrieved session somthing 
> > goes wrong.
> >
> > Can someone help me?
> >
> > Thanks in advance
> > Francesco
> >
> >
> > ---------------------------------------------------------------------
> > 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]
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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