Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8330035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:59:32+00:00 2026-06-09T01:59:32+00:00

I have apache access logs that contain cookie information per request. Can I feed

  • 0

I have apache access logs that contain cookie information per request.
Can I feed these cookie values into a load test with jmeter?

My log format in apache is:

"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{Cookie}i\"" combined

I see the Access Log Sampler, I’ve got it working to the point where it reads in my access logs and generates requests, but it doesn’t seem to include the cookies from the log line. I’ve played with the HTTPCookieManager and have gotten it to work to the point where it will use cookies returned from one call, in the next call, but it doesn’t use the cookie values form the access logs. Am I trying to do something impossible or am I missing something?

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”

My access log contains many lines like the one above, each having different cookie values of course. I want to create a load test where I replay that access log file, including the logged cookies.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T01:59:34+00:00Added an answer on June 9, 2026 at 1:59 am

    Current implementation of Access Log Sampler does fully analyze the logs:

    • http://jmeter.apache.org/usermanual/component_reference.html#Access_Log_Sampler

    Documentation says:

    *127.0.0.1 - - [21/Oct/2003:05:37:21 -0500] "GET /index.jsp?%2Findex.jsp= HTTP/1.1" 200 8343
    

    The current implemenation of the parser only looks at the text within the quotes. Everything else is stripped out and igored.*

    You can open an enhancement request with a sampler access log file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My specific problem is that I have a set of Apache access logs, and
I have 51 GB of HTTP (Apache) access logs for my website going back
I have a requirement of parsing both Apache access logs and tomcat logs one
We have an application deployed on tomcat. To access application we are using apache
I would like to enable SOAP on my PHP5/Centos/Apache server. I have full access
I have apache httpd that I want to proxy to two different tomcat servers.
How can I deny access to particular directory in IIS. In Apache I could
I have a webpage that I only want a specific group to log into.
I have a Django application that logs users in and out using the standard
I have to find the commonly occuring IP addresses from apache logs. 12.1.12.1 9000

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.