Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 78FD4C14C for ; Tue, 24 Apr 2012 17:15:57 +0000 (UTC) Received: (qmail 69359 invoked by uid 500); 24 Apr 2012 17:15:56 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 69333 invoked by uid 500); 24 Apr 2012 17:15:56 -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 69322 invoked by uid 99); 24 Apr 2012 17:15:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2012 17:15:56 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 209.85.213.43 as permitted sender) Received: from [209.85.213.43] (HELO mail-yw0-f43.google.com) (209.85.213.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2012 17:15:50 +0000 Received: by yhkk6 with SMTP id k6so649541yhk.2 for ; Tue, 24 Apr 2012 10:15:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=znonQiSt1MUrwK1MmPqMI+nxP5u2D2zGbixmykky9F8=; b=EwEjDsOV7C3zNfa8iTijQLY+4hkHdnszTaUePDjHGyHKz1BHuMiFIiYG5mBJv+lvPG BDBOO26iidoLlBzwgF9Fe6wEDutJbvrMy1o18VczSlm+Gt+wnBsdRBu+W6uHaMVNgQZH I0VGY2eaCam1WlViomgp12wTZyhhsNPxmqJ0CgrblH8ocjIMkSLvcDB7MT8TEos7xtsv Wbw1+jWFb6RZcnbLBZEe0p8llq7VUCpMdsUPMxotTzg/Icfg0g9OLHP+iz4A/nuMmvE9 O0p52sxRqNtLLZswNzqM9CKs2lykntNNeI/KtQOv/Ecn7RCDXE7bouy3SMcQe/hkRdGA EBdQ== MIME-Version: 1.0 Received: by 10.60.29.39 with SMTP id g7mr10499751oeh.6.1335287729573; Tue, 24 Apr 2012 10:15:29 -0700 (PDT) Received: by 10.182.90.230 with HTTP; Tue, 24 Apr 2012 10:15:28 -0700 (PDT) In-Reply-To: References: Date: Tue, 24 Apr 2012 18:15:28 +0100 Message-ID: Subject: Re: user parameters in external filepaths From: sebb To: JMeter Users List Content-Type: text/plain; charset=ISO-8859-1 On 24 April 2012 17:58, Peri Stracchino wrote: > I'v just figured the problem out!!!!!!!!!!! > I specified the path thus > C:\Jmeter2.5\jakarta-jmeter-2.5.1\bin\${ID}.txt > The penny suddenly dropped. The path separator was being interpreted as an > escape character, and the dollar sign was then being treated literally > rather than as indicating the start of a variable to expand > So I tried escaping the last path separator like so: > C:\Jmeter2.5\jakarta-jmeter-2.5.1\bin\\${ID}.txt > > and all was well :-), the variable now expands and my files are uploaded Rats! I should have noticed that; another user had a similar issue a few months back. It's unfortunate that the escape character is the same as the Windows path separator. BTW, you can use / instead of \ on Windows; Java converts as necessary. Also, JMeter can use relative path names. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org For additional commands, e-mail: user-help@jmeter.apache.org