Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 53638 invoked from network); 3 Sep 2010 20:11:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Sep 2010 20:11:44 -0000 Received: (qmail 36080 invoked by uid 500); 3 Sep 2010 20:11:44 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 36044 invoked by uid 500); 3 Sep 2010 20:11:43 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 36036 invoked by uid 99); 3 Sep 2010 20:11:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 20:11:43 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stan_derry@intuit.com designates 12.149.175.12 as permitted sender) Received: from [12.149.175.12] (HELO mail2.intuit.com) (12.149.175.12) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Sep 2010 20:11:38 +0000 DomainKey-Signature: s=default; d=intuit.com; c=nofws; q=dns; h=X-SBRS:X-IronPort-AV:Received:Received:X-MimeOLE: Content-class:MIME-Version:Content-Type: Content-Transfer-Encoding:Subject:Date:Message-ID: In-reply-to:X-MS-Has-Attach:X-MS-TNEF-Correlator: Thread-Topic:Thread-Index:References:From:To:Return-Path: X-OriginalArrivalTime; b=Esm38OPWT4bxl9JajIu1lPadbnnd0qiJC0nGPK2WfOCshQgg+QClW1g3 Gp3xtABwK2tkp8heiDZzU1WxqpzSlUiGQYIYL/lg3HjPYMvMxdZDEon6P oIRf4b+kIeoZInS; DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intuit.com; i=stan_derry@intuit.com; q=dns/txt; s=default; t=1283544698; x=1315080698; h=mime-version:content-transfer-encoding:subject:date: message-id:in-reply-to:references:from:to; z=MIME-Version:=201.0|Content-Transfer-Encoding:=20quoted- printable|Subject:=20RE:=20sample_variables=20property |Date:=20Fri,=203=20Sep=202010=2013:11:16=20-0700 |Message-ID:=20|In-reply-to:=20 |References:=20=20|From:=20"Derry,=20Sta nton"=20|To:=20"JMeter=20Users=20L ist"=20; bh=8rOoC12maCvO62pD+e/rTTns4884RmidERNAhwdb80A=; b=EVblMMH5x3Fj3sR7vk/dO2cT7pPIsm3+iPRlV97mIDji+IqDpsDzWNmA brwvhM+LeFsdgtJArNR/j3Aq3bgte8kkPlB5ZHB4dunXjEhneAeFbuNVa Mvyuz+14EIuieZP; X-SBRS: None X-IronPort-AV: E=Sophos;i="4.56,314,1280732400"; d="scan'208";a="214403507" Received: from relay-ex.sd.intuit.com (HELO SDGEXBH03.corp.intuit.net) ([172.17.135.77]) by mail2.sdg.ie.intuit.com with ESMTP; 03 Sep 2010 13:11:18 -0700 Received: from SDGEXEVS07.corp.intuit.net ([172.17.135.182]) by SDGEXBH03.corp.intuit.net with Microsoft SMTPSVC(6.0.3790.4675); Fri, 3 Sep 2010 13:11:18 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: sample_variables property Date: Fri, 3 Sep 2010 13:11:16 -0700 Message-ID: In-reply-to: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: sample_variables property Thread-Index: ActLoxv8OTvL8GtuSqS7KI40nVtiyAAAHbFA References: From: "Derry, Stanton" To: "JMeter Users List" X-OriginalArrivalTime: 03 Sep 2010 20:11:18.0205 (UTC) FILETIME=[2B38BED0:01CB4BA4] Deepak, Thanks for the response. True on passing in on the command line, however, I've been running more in a client-server mode and don't want to stop/start each server prior to a different run. Will look at the code and post to the developers list. Stan -----Original Message----- From: Deepak Shetty [mailto:shettyd@gmail.com]=20 Sent: Friday, September 03, 2010 1:03 PM To: JMeter Users List Subject: Re: sample_variables property when you say per test do you mean every time you run the test plan (in which case you simply run by command line and pass different values)? If you want an ANT sample I can send this. do you need to do this in the TestPlan , perhaps dynamically? Then you'd probably need to modify source code -- I'd start with org.apache.jmeter.samplers.SampleEvent .BeanShell would probably not work because the variable names is initialized statically in SampleEvent so it wouldnt have any effect if you set the property after this class was loaded . You could modify the source code . it might be useful to post to the developers list if this is indeed what you want to do. regards deepak On Fri, Sep 3, 2010 at 12:47 PM, Derry, Stanton wrote: > I have several tests where I want to save different variables to the JTL > file. Is there a dynamic way to set the sample_variables property per > test? I tried via a bean shell, it did set the property, however, the > Simple Data Writer Listener didn't pick up on the new setting. > > > > Stan > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org