jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Léon Keijser <keij...@stone-it.com>
Subject variable within csv
Date Thu, 10 Apr 2014 07:43:18 GMT
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


Mime
View raw message