cancel
Showing results for 
Search instead for 
Did you mean: 

Supplying Username at runtime

Not applicable

Supplying Username at runtime

I have a requirement wherein I need to supply username at runtime. For eg, If I run  a loadtest with 100 users, then first user should be submitted with username user1 , second with username user2 and so on. Is there a way to achieve this?
1 REPLY 1
Super Contributor

Re: Supplying Username at runtime

Hi!

yes.. easiest is if you use the ThreadIndex context variable in a property expansion.. ie in your request enter

username${ThreadIndex}

the ThreadIndex will be replaced with the corresponding id.

regards!

/Ole
eviware.com
New Here?
Join us and watch the welcome video:
Announcements