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 C19AF101DD for ; Thu, 10 Apr 2014 07:43:49 +0000 (UTC) Received: (qmail 55074 invoked by uid 500); 10 Apr 2014 07:43:48 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 55055 invoked by uid 500); 10 Apr 2014 07:43:47 -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 55043 invoked by uid 99); 10 Apr 2014 07:43:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2014 07:43:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of keijser@stone-it.com designates 193.172.124.224 as permitted sender) Received: from [193.172.124.224] (HELO mx01.stone-it.com) (193.172.124.224) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2014 07:43:40 +0000 Received: from [10.19.0.188] (unknown [10.19.0.188]) by mx01.stone-it.com (Postfix) with ESMTP id DE90A923535 for ; Thu, 10 Apr 2014 09:43:18 +0200 (CEST) Message-ID: <1397115798.7414.18.camel@porcaria.keijser.lan> Subject: variable within csv From: =?ISO-8859-1?Q?L=E9on?= Keijser To: user@jmeter.apache.org Date: Thu, 10 Apr 2014 09:43:18 +0200 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-2.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have a CSV that contains parts of an URI: /new.html /part.html /some.html In my test I loop over the CSV using variable $SUBPAGE. Now, one part can contain parameters: /new.html?period=1 /new.html?period=2 etc. I thought of making the number a random variable (1,2,3,4,5) and including the variable name in the CSV: /new.html?period=${RANDNUM} which would then translate to '?period=1' , '?period=2', etc. Unfortunately that doesn't work, as jmeter won't fill in the variable. I could remove the '/new.html' from my original CSV and make a separate request for that, using the RANDNUM variable, but perhaps there's a better way. Any advice is welcome! regards, Léon --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org For additional commands, e-mail: user-help@jmeter.apache.org