Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 26649 invoked from network); 8 Nov 2004 22:56:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Nov 2004 22:56:56 -0000 Received: (qmail 73356 invoked by uid 500); 8 Nov 2004 22:56:38 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 73322 invoked by uid 500); 8 Nov 2004 22:56:37 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 73271 invoked by uid 99); 8 Nov 2004 22:56:37 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of sebbaz@gmail.com designates 216.239.56.246 as permitted sender) Received: from [216.239.56.246] (HELO mproxy.gmail.com) (216.239.56.246) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 08 Nov 2004 14:56:34 -0800 Received: by mproxy.gmail.com with SMTP id q44so70680cwc for ; Mon, 08 Nov 2004 14:56:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Ru/R3NYX9qj9PmHb6OlfnA1Hw/KtVkRX1Vk0yxEuM/NcwASPwQNjdqYXxe2m8C+Fus/wSkrM7eaO4/bZZnLqNCmePmoS5KO+ArMRoXKqrTam9xu9gi+eA+3MfMdXnwF7X51gPg9UsZonwI6Wd04kSfdCx9bPBQ/Hc0eQ9nuIch0= Received: by 10.11.118.80 with SMTP id q80mr131874cwc; Mon, 08 Nov 2004 14:56:33 -0800 (PST) Received: by 10.11.118.42 with HTTP; Mon, 8 Nov 2004 14:56:33 -0800 (PST) Message-ID: <25aac9fc041108145667f69fc7@mail.gmail.com> Date: Mon, 8 Nov 2004 22:56:33 +0000 From: sebb Reply-To: sebb To: Paul Leclerc Subject: Re: Properties not evaluated in Filename: values? Cc: JMeter Users List In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <25aac9fc04110814304edc2425@mail.gmail.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Mon, 8 Nov 2004 15:45:08 -0700, Paul Leclerc wrote: > This does NOT seem to work in GUI mode but DOES work in non-GUI mode. Ah well, thanks for trying it. > Are there plans to allow variable parsing early on and to allow this > for GUI mode? > It would be useful, but not sure if/when it will be done, as it seems to be quite tricky. Enabling -l to work for GUI mode might be easier. Can you make do with non-GUI mode in the mean-time? It uses far fewer resources... > > > On Mon, 8 Nov 2004 22:30:32 +0000, sebb wrote: > > On Mon, 8 Nov 2004 13:26:14 -0700, Paul Leclerc wrote: > > > > > > > Currently using: > > > jmeter.JMeter: Version 2.0.1 > > > jmeter.JMeter: java.version=1.4.2_04 > > > Running on Windows Server 2003 > > > > > > I'm trying to make my tests save the data from "View Results in Table" > > > to a dynamic filename passed in the commandline. If I manually set > > > the filename for "Write All Data to a File" to a static filename in > > > the GUI, it does write out the data. If I set it to a property, i.e. > > > ${__property(results,,d:/results.csv)}, nothing gets written out. > > > > > > I looked in the jmeter.log and see that the property IS picked up: > > > 2004/11/08 13:19:13 INFO - jmeter.JMeter: Setting JMeter property: > > > results=d:/res1.csv > > > > > > This doesn't seem to affect other "filename" related entries like the > > > "Location of log file" in the Tomcat Access Log Sampler. That works > > > correctly. > > > > > > I've tried changing the pathname separators (/ vs \) but am stuck. I > > > searched the Jmeter FAQ and mailing list and didn't see anything. Is > > > this a known issue? Am I doing something wrong? > > > > This is a known restriction - JMeter opens the log files before the > > test has been fully set up, and variables are not resolved at that > > point. > > > > See bug 25207. > > > > You can use the -l command-line flag to create a (single) log file > > with a variable name, for example > > > > jmeter -t test.jmx -l testyyyymmdd.jtl [-n] > > > > As far as I know this works with GUI as well as non-GUI tests. > > > > > Paul Leclerc > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org