From issues-return-13579-archive-asf-public=cust-asf.ponee.io@jmeter.apache.org Thu Nov 1 16:05:41 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id AA244180652 for ; Thu, 1 Nov 2018 16:05:40 +0100 (CET) Received: (qmail 12117 invoked by uid 500); 1 Nov 2018 15:05:39 -0000 Mailing-List: contact issues-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@jmeter.apache.org Delivered-To: mailing list issues@jmeter.apache.org Received: (qmail 12106 invoked by uid 99); 1 Nov 2018 15:05:39 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2018 15:05:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 53F621A5042 for ; Thu, 1 Nov 2018 15:05:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -10.301 X-Spam-Level: X-Spam-Status: No, score=-10.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id TGq4mDKJQKLI for ; Thu, 1 Nov 2018 15:05:38 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 2E9985F1D4 for ; Thu, 1 Nov 2018 15:05:38 +0000 (UTC) Received: from asf-bz1-us-mid.priv.apache.org (nat1-us-mid.apache.org [23.253.172.122]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTPS id 585E5E002F for ; Thu, 1 Nov 2018 15:05:37 +0000 (UTC) Received: by asf-bz1-us-mid.priv.apache.org (ASF Mail Server at asf-bz1-us-mid.priv.apache.org, from userid 33) id 7660560507; Thu, 1 Nov 2018 15:05:36 +0000 (UTC) From: bugzilla@apache.org To: issues@jmeter.apache.org Subject: [Bug 62861] httpclient.reset_state_on_thread_group_iteration doesn't reuse connection for think time > 1second Date: Thu, 01 Nov 2018 15:05:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: JMeter X-Bugzilla-Component: HTTP X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: abhish3k.v@gmail.com X-Bugzilla-Status: NEEDINFO X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: issues@jmeter.apache.org X-Bugzilla-Target-Milestone: JMETER_5.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bz.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://bz.apache.org/bugzilla/show_bug.cgi?id=3D62861 --- Comment #4 from Abhishek Rao --- (In reply to Philippe Mouawad from comment #3) > (In reply to Abhishek Rao from comment #2) > > Hi Philippe, > >=20 > > The first one is okay.=20 > >=20 > > The configuration you mentioned works, but how do I achieve pooling and > > indefinite reuse rather than reusing for an arbitrary time period? For > > example: I have scripts acting as clients using pooled connection > > architectures to talk to web-services internally where this feature wil= l be > > really useful in simulating.=20 >=20 > What if you set: > httpclient4.idletimeout=3D0 > httpclient4.validate_after_inactivity=3D1700 > httpclient4.time_to_live=3DVery high value >=20 >=20 > > Can this be a UI modifiable in future and > > parametric? > > Also, how do I achieve hybrid simulations with one thread group using > > httpclient.reset_state_on_thread_group_iteration=3Dtrue and one that ne= eds it > > set to false? >=20 > This would be an enhancement request. > Workaround is to use distributed testing with 1 JVM in first mode and sec= ond > JVM in second mode. I dont think the workaround would apply for my scenario, because there's two thread groups in the same script and each requires a different setting. Distributed mode with different settings across JVMs would mean both the th= read groups are affected, when the scenario calls for just one thread group to h= ave the setting reflected. I think I'll split it into two tests for now and run them in parallel. I think the aforementioned will make for a great enhancem= ent, I also found out that HC4 supports PooledConnectionManager which solves the problem. --=20 You are receiving this mail because: You are the assignee for the bug.=