You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2012/08/03 00:35:38 UTC
[Bug 53648] New: Add ability to read cookies from access log in
Access Log Sampler
https://issues.apache.org/bugzilla/show_bug.cgi?id=53648
Priority: P2
Bug ID: 53648
Assignee: issues@jmeter.apache.org
Summary: Add ability to read cookies from access log in Access
Log Sampler
Severity: enhancement
Classification: Unclassified
OS: Mac OS X 10.4
Reporter: jaysellers@gmail.com
Hardware: Macintosh
Status: NEW
Version: unspecified
Component: HTTP
Product: JMeter
I would like the ability to use the AccessLogSampler to generate http requests,
but I want the requests to use the cookies that were logged in the access log
as well.
Maybe allowing users to state where in the log line the cookies are. You could
ask for that information in a number of ways. For me, my LogFormat is:
"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{Cookie}i\""
combined
An example log line:
1.2.3.4 - - [31/Jul/2012:23:04:06 -0400] "GET /someurl/ HTTP/1.1" 200 28
"http:/domain/endpoint?params" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4)
AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11"
"cookie1=value1;cookie2=value2"
So maybe an optional configuration parameter could be the LogFormat, or simply
stating which group of characters surrounded by "" are the cookies. For the
example above it would be 4.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53648] Add ability to read cookies from access log in Access
Log Sampler
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53648
--- Comment #1 from Jay Sellers <ja...@gmail.com> ---
Adding link to original conversation
http://stackoverflow.com/questions/11784019/jmeter-how-to-use-cookies-from-an-access-log-for-load-testing
--
You are receiving this mail because:
You are the assignee for the bug.