header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
December 01, 2008, 07:14:23 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Supplying Username at runtime
Welcome, Guest. Please login or register.
December 01, 2008, 07:14:23 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Supplying Username at runtime
« previous next »
Pages: [1] Print
Author Topic: Supplying Username at runtime  (Read 256 times)
vgandhi
Newbie
*
Posts: 1


« on: September 05, 2008, 03:21:31 pm »

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?

Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,466


« Reply #1 on: September 05, 2008, 09:12:28 pm »

Hi!

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

<element>username${ThreadIndex}</element>

the ThreadIndex will be replaced with the corresponding id.

regards!

/Ole
eviware.com
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header