The answer to your prayers are "CVS Data Set Config".

A small explanation for the fields needed....

Filename: the name of the file where the values are.
File encoding: Never used it (don't know what it does) so I always leave it 
blank.

Variables Names: Here you write the names of the variables that will represent 
your values.

Delimiter: the char that will separate your values.

Recycle & stop Thead should not be a problem if you have as many users as set 
of values.


An Example:
        The format of the file "usernames.txt" looks like follows:

        "
        ...
        Username56,password56
        Username57,password57
        Username58,password58
        Username59,password59
        ...
        "

Then the CVS should look as follows:

Filename: usernames.txt
File Encoding:
Variables Names: USER,PASSWORD
Delimiter: ,
Recycle:        true or false
Stop thread: true or false

Now whenever you need to use the username or password you write ${USER} resp 
${PASSWORD}


Hope this helps.


-----Original Message-----
From: Manish Chakravarty [mailto:[EMAIL PROTECTED]
Sent: den 1 juli 2008 21:55
To: JMeter Users List
Subject: Need to simulate 500 different users/ how to read them from file and 
parameterize the script?

Hello everyone,

I need to simulate 500 *different* users logging in and clicking on various
links on a website

I already know how to do a login by using the correct POST parameters.

I have a script where I can simulate one user logging in and going through
the flow of the application.

I need to parameterize the script so that I can simulate and scale up the
test for X number of *different* users (in this case, 500 )

I have the 500 different login id's/passwords required.
Obviously, I would want the JMeter test script to read usernames/passwords
from a file and execute the test.

What is the best way to go about this?




--
Manish Chakravarty
http://manish-chaks.livejournal.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to