Here my solution (I use it, it does not mean it's the better) You create two function, named getLoginName(key) and getLoginPassword(key). The key is a variable (a counter in jmeter) that change for every user.
Then, when you call them : you load one user, and put it in an ArrayList<User> (or a Map<Integer, User>, etc) and you use key to get the user if it's in the container, else you load it from Database. There is also the CSV solutions which might also work for you. -----Message d'origine----- De : Nguyen Cao Cuong [mailto:[EMAIL PROTECTED] Envoyé : vendredi 19 mai 2006 09:40 À : [email protected] Objet : How to set different username&pass for login request? 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 ---------------------------------------------------------- -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.6.1/343 - Release Date: 18/05/2006 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

