Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 41948200B8B for ; Tue, 4 Oct 2016 17:15:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 401F3160AC9; Tue, 4 Oct 2016 15:15:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7CE08160AC5 for ; Tue, 4 Oct 2016 17:15:16 +0200 (CEST) Received: (qmail 77317 invoked by uid 500); 4 Oct 2016 15:15:15 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 77306 invoked by uid 99); 4 Oct 2016 15:15:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2016 15:15:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 06EFB180516 for ; Tue, 4 Oct 2016 15:15:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id RjSMxkJJi5DK for ; Tue, 4 Oct 2016 15:15:11 +0000 (UTC) Received: from internetallee.de (internetallee.de [81.169.162.220]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id D365B5F368 for ; Tue, 4 Oct 2016 15:15:10 +0000 (UTC) Received: from [10.243.71.201] (unknown [176.7.127.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by internetallee.de (Postfix) with ESMTPSA id ACFC74948009 for ; Tue, 4 Oct 2016 17:15:02 +0200 (CEST) User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: Upgrade to jmeter 3 stops Cache Manager sending If-Modified-Since From: Felix Schumacher Date: Tue, 04 Oct 2016 17:14:55 +0200 To: JMeter Users List Message-ID: <96E7A7F8-1B6D-4267-BA04-F503D227A314@internetallee.de> archived-at: Tue, 04 Oct 2016 15:15:17 -0000 Am 4. Oktober 2016 16:26:19 MESZ, schrieb Menno Jonkers : >Hi, > >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 >headers. >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. Regards, Felix > >Thanks! > >Menno > > > >Example request/response pair in JMeter 3 below (they all look like >this): > >JM REQUEST > >GET >https://docker-host:32768/test_sets/677acb51-cb06-4af4-9e5a-9b0dfc275bdf/update_list > >Cookie Data: >tm_gui_acceptance_test=33fbc47f1c5c3cb55061589b5d1c9109 > >Request Headers: >Connection: keep-alive >Host: docker-host:32768 >User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_91) >Authorization: Basic YXhtb2RlbGVyOm1vZGVsZXJwYXNzd29yZA== > >APP RESPONSE > >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: user-unsubscribe@jmeter.apache.org >For additional commands, e-mail: user-help@jmeter.apache.org -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org For additional commands, e-mail: user-help@jmeter.apache.org