jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <>
Subject Re: Upgrade to jmeter 3 stops Cache Manager sending If-Modified-Since
Date Tue, 04 Oct 2016 15:14:55 GMT

Am 4. Oktober 2016 16:26:19 MESZ, schrieb Menno Jonkers <>:
>I have a very basic scenario in JMeter 2.13 that connects to a webapp
>using https and basic authentication (w Authorization Manager), then
>logs in and starts requesting some often used app urls to measure their
>performance and load. It use the Cache Manager and nicely deals with
>etags and Last-Modified / If-Modified-Since.
>This all worked fine, dealing with a lot of Response code: 304's, but
>would break down during a longer run because once in a while JMeter
>would omit the Authorization header in its request. Unable to find any
>issues/pointers on that, I decided to give JMeter 3.0 r1743807 a go.
>But with JMeter 3 and the exact same Test Plan no If-Modified-Since
>header is sent out, despite the app still sending Last-Modified
>See example header at the bottom.
>Rebuilding the plan from scratch in JMeter 3 hasn't made a difference.
>Googled quite a bit to no avail. Any suggestions on where to look next?

Look for vary header handling in the release logs. Those requests will not be cached anymore.


>Example request/response pair in JMeter 3 below (they all look like
>Cookie Data:
>Request Headers:
>Connection: keep-alive
>Host: docker-host:32768
>User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_91)
>Authorization: Basic YXhtb2RlbGVyOm1vZGVsZXJwYXNzd29yZA==
>HTTP/1.1 200 OK
>Date: Tue, 04 Oct 2016 13:59:06 GMT
>Server: Apache/2.2.15 (CentOS)
>X-Frame-Options: SAMEORIGIN
>X-XSS-Protection: 1; mode=block
>X-Content-Type-Options: nosniff
>Cache-Control: max-age=0, private, must-revalidate
>X-Request-Id: 0cb8c0ed-82ea-415b-9b7d-40b00470e143
>X-Runtime: 0.386244
>X-Powered-By: Phusion Passenger 4.0.59
>Last-Modified: Tue, 27 Sep 2016 11:59:44 GMT
>Status: 200 OK
>Vary: Accept-Encoding
>Keep-Alive: timeout=15, max=85
>Connection: Keep-Alive
>Transfer-Encoding: chunked
>Content-Type: text/html; charset=utf-8
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

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

View raw message