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 804693
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T23:57:36+00:00 2026-05-14T23:57:36+00:00

My website serves gzipped content. I verified with Firebug and YSlow. However, JMeter does

  • 0

My website serves gzipped content. I verified with Firebug and YSlow. However, JMeter does not request the gzipped content. Therefore, it gets all uncompressed content. As a result, my test cases take much longer (6-10x longer) than they do in reality.

How can I make JMeter request gzipped content from a website?

FYI, I am using the latest stable build: JMeter 2.3.4 r785646.

  • 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-05-14T23:57:37+00:00Added an answer on May 14, 2026 at 11:57 pm

    Add an HTTP Header Manager to the Thread Group in your Test Plan.

    Add the name-value pair:

    • Name: Accept-Encoding
    • Value: gzip,deflate,sdch

    This will ensure that all JMeter requests use HTTP compression.

    To verify:

    1. Add this Listener to the Thread Group: View the Results Tree
    2. Run your test plan
    3. View the Sampler result tab for one of the webpages.

    Do you see these name-value pairs?

    Content-Encoding: gzip
    Vary: Accept-Encoding
    Transfer-Encoding: chunked
    

    If yes, then you’ve successfully setup gzip requests in JMeter. Congrats.

    Another way to verify is in the Summary Report stats:

    You’ll see that the Avg Bytes values are the uncompressed sizes. That’s OK. For whatever reason, that’s how JMeter works. Pay attention to the KB/sec column. That will show an improvement of 6-10x with gzip enabled.

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

Sidebar

Related Questions

It works on XAMPP but not on the host that serves my website (linux
Struts 1.3 application. Main website is NOT served by struts/Java. I need to forward
My employers website has multiple hostnames that all hit the same server and we
I'm trying to build a standard compliant website framework which serves XHTML 1.1 as
My website has a file: www.mydomain.com/contact.php If I request any of the following (which
If one needs to create an office website (that serves as a platform for
I am running a website locally, all the traffic is routed through NGinx which
all. I am required to build a website with each page under 130kb. I
I have an element that serves as the banner on my website. This banner
I have one website on my server, and my IIS Worker Process is using

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.