-----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é
mara666 schrieb:
> How can i create test for many user login to web page
>
> example:
> HTTP Request:
> userName: ${login} "(+1)"
> password: ${password}
>
> How to???
>
- --
André van Hoorn
Birkenweg 21
D-26725 Emden
Telefon: +49 (4921) 954231
E-Mail: [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGpv23LKwmE5jzZmkRAp/gAKDOnaONBYBKzGkATJVqL59GU6yE4QCfcPO8
qoxU1ktHCfc20wdpVVo4DQc=
=6e8j
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]