jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AlexAitch <>
Subject Re: Issue with cookies / cookiemanager
Date Tue, 09 Nov 2010 09:28:28 GMT

Some additional information:

I have looked at using a Regex extractor, rather than the cookie manager.
Here is a sample of my response header:

Response headers:
HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 2477
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
Set-Cookie: ASP.NET_SessionId=ic2401a5r2sbng45wat5b43z; path=/; HttpOnly
X-Powered-By: ASP.NET
Date: Tue, 09 Nov 2010 09:16:24 GMT

So I added a Regex extractor as a child of an initial load http request:

Ref Name: Set-Cookie
reg Expression: +
Template: $0$
Match No.: 1

And with the subsequent requests, I added http header managers as childs
with the value: JUSERCOOKIE=${Set-Cookie}

I am guessing this is slightly wrong? 

Thanks in advance


View this message in context:
Sent from the JMeter - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message