jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AlexAitch <alex.hamil...@gmail.com>
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

Alex


-- 
View this message in context: http://jmeter.512774.n5.nabble.com/Issue-with-cookies-cookiemanager-tp3255345p3256501.html
Sent from the JMeter - User mailing list archive at Nabble.com.

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


Mime
View raw message