jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Bull <>
Subject Re: help needed
Date Fri, 11 Nov 2005 15:42:39 GMT

You should use two config elements
right click --> add --> config element --> CSV Data Set config
right click --> add --> config element --> User Defined variables

The data set config allows you to specify the file you wish to use and the
variable names to read the values into.

The User defined variables allows you to define the variables referred to
by data set config.

Finally you refer to the vaiables in the parameters section of the http
request by enclosing the variable name in ${}

For example your file is like this,


You enter the file name into the Filename field. The path is relative to
the directory your script is in.

Into the Variable names field add 'username,password'.

You add username and password to the user defined variables page.

You refer to ${username} and ${password} in the parameters section of the

Each time the script performs another iteration the next line will
automatically be read from the file.


-----Bhanu <> wrote: -----

From: Bhanu <>
Date: 11/11/2005 03:28PM
Subject: help needed

> i'm a fresher to JMeter and have learnt to create
basic test scripts.
  I need to create a JMeter script that will automate
> user creation process on a website.  There are 2
> main  steps in the user creation process.  First,
> "register" the user with the website.  Next, you
> have  to log in as administrator and approve the
user's  registration. In this task, i will have to
read in  data from a flat file. The eventual file will
have a list of user names and passwords on each line -
> i shud use these values dynamically in the script
each iteration.

Pls suggest how could this task be accomplished using
JMeter GUI tool.
> Thanks so much in
> advance.
> -Bhanu

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message