jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuck Henson" <chen...@wellinx.com>
Subject RE: user parameters question
Date Fri, 10 Sep 2004 21:14:46 GMT
there's probably an easier way to do this...

You could define a user for each thread and then define the the parameter
value for each user as _stringfromfile(filename). You would have to have a
seperate data file for each user.

It sounds like a lot of work but I wrote a shell script to generate the xml
for the collection items in the user parameter that define each user (rather
than read in from a CSV file) incrementing my parameter value (a record id)
and the collection object id on each iteration of the shellscript. Then just
read that output into the jmx file. when I brought up the test plan into the
jmeter gui.. all the users were there and thier incremental record id's were
defined for each user. you could use the same idea with incremental file
names.



-----Original Message-----
From: JEsterh@mb.bluecross.ca [mailto:JEsterh@mb.bluecross.ca]
Sent: Friday, September 10, 2004 4:01 PM
To: JMeter Users List
Subject: RE: user parameters question


Sure did. Tried it unchecked, too.

With "update" checked, each thread in a thread group uses a new value, but
the thread group still reverts to the top of the file after it loops. With
"update" unchecked, everything just uses the first value every time.

Jonathan


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message