-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
for me the following works pretty well:
1.) Create n users within the application with name and password in
0..n. You may use a prefix like "user_" such that with n=1000 you
have "user_0" to "user_1000"
2.) Add a Pre-Processor->Counter to the root of your Test Plan which is
configured as follows:
Start: 0
Increment: 1
Maximum: n
Reference Name: user_id
Do not check "Track counter independently for each user"
3.) In your HTTP Request you now simply use the variable ${userId} as
your userName and password fields (with leading prefix if desired):
userName: ${userId}
password: ${userId}
Now the threads are using the n credentials sequentially in a "modulo
n+1 fashion".
Of course, this is solely a solution for a controlled test environment
and not for systems in productional use! The "CSV solution" would be
most appropriate in those cases.
André
OK but counter dosnt work with file upload
"java.io.FileNotFoundException: C:\${userid}.XML"
do you know, how it works??
--
View this message in context:
http://www.nabble.com/Test-for-many-user-login-tf4136258.html#a11780542
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]