The CSV DataSet Config test element would be suitable here.
Create a file containing the names and passwords in CSV format:
name1,pass1
name2,pass2
etc.
Add the CSV DataSet element to the test plan.
Suppose you call the variables USER,PASS.
You can then use ${USER} and ${PASS} on the login page.
Note that the CSV file is shared between threads and iterations; each
time some data is fetched, the next line is read from the file.
S.
On 19/05/06, Nguyen Cao Cuong <[EMAIL PROTECTED]> wrote:
Hi, I' Cuong,
I've begin using Jmeter, and have a script like:
|-> Thread
|-> Login request
|-> Request for task1
.
I put 10 to Numbers of Threads field, How to set each thread that uses
different username & password for Login request when run test plan?
(assume that above script is created by record using Proxy server).
Please help me!
Thanks and best regard!
----------------------------------------------------------
QA team
Vietnam Image Partner System, Co., Ltd
7th Floor, No3 Do Hanh st, Hanoi, VietNam
Tel: (84-4) 9427720 Fax: (84-4) 9427721
URL: <http://www.imagecity.jp/> www.imagecity.jp;
<http://www.vips.com.vn/> www.vips.com.vn
----------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]