Define rUsers
Defining rUsers is the first step in preparing a load test. Once rUsers are defined, this step does not have to be repeated, unless rUsers are deleted.
Note: Define rUsers only applies to AppLoader suite if it is installed onto a server, if the AppLoader suite is installed on a PC, rUsers cannot be defined.
To define rUsers, go to "Injectors" section.
Click the “Define rUsers” button in the menu bar. “Injector rUsers” form opens;
Mode: Select the type of rUser accounts to create from the drop down menu (Incremental; From CSV File).
- Incremental – Choose this mode if testing in a non-domain environment. Local user accounts will be created simultaneously on both the Windows server and within AppLoader.
- From CSV File – Choose this mode if your testing environment requires that you use authenticated domain users. Domain user accounts must already exist on the Windows server. A CSV (comma separated values) file containing username, password, and domain must be prepared in advance to create users in this mode.
- One rUser – Choose this mode to allow multiple session IDs to use one username account.
If From CSV File is chosen the CSV File to Import field will appear:
CSV File to Import: If using “From CSV File” mode, navigate to the CSV file containing the user accounts to be uploaded to Apploader.
Clicking on the icon will allow you to browse through your folders for a CSV file.
Format CSV File
For testing in an environment that requires authenticated domain users, select the “From CSV File” mode when creating rUsers.
Note: Be sure that the domain user accounts have been created on the Windows Server hosting the Injector prior to “Creating” rUsers with AppLoader.
Create a CSV file (no header row, no spaces before/after commas) containing user names, passwords and domain. Dedicate a row to each user. Below is a sample CSV file:
rwilliams,password2012,mydomain
tjones,password2013,mydomain
asmith,password2014,mydomain
rclark,password2015,mydomain
CSV files can be created in Microsoft Excel - “Save as type” CSV (Comma Delimited) (*.csv) or with a word editor like Notepad – “Save as type” All Files (*.*) and add the .csv extension to file name.
If Incremental or One rUser modes are selected the following will be displayed:
Start Index: Specify the numerical index form where the users will be launched. For Injectors using CSV files, this is the line number in the CSV file.
User Name: Provide a generic user name for rUser accounts. Apploader will add a sequential numeric suffix to make each account unique (e.g. ruser001, ruser002, ruser003, etc…). User names must be compliant with the Windows server requirements. Recommended value: ruser)
Password: Enter a password for the rUser accounts. Password must be compliant with the Windows server requirements. Recommended value: Password123).
Click “Submit” to issue the “Define rUsers” command.
Note: If rUsers are not created prior to launching a test, Injector will automatically create rUsers for the test.
Start rUsers
The next step in the process is to “Start rUsers”. This process launches the rUserManager on the Injector and initiates the rUser logins.
Note: Start rUsers only applies to AppLoader suite if it is installed onto a server.
Click the “Start rUsers” button. The “Start rUsers” window pops up;
Number of Users: Specify the number of users to start on the selected Injector.
Start Index: Specify the numerical index form where the users will be launched. For Injectors using CSV files, this is the line number in the CSV file.
Launch Delay: Specify a launch delay in seconds. The system waits this amount of time after starting each rUser. It is recommended to use a delay value to avoid overloading the system by logging in multiple user accounts all at the same time. For example, a Launch Delay of 5 results in a new rUser logging in every 5 seconds.
Click “Submit” to start rUsers.
Started rUsers can be viewed in the “Real Time” page of the Controller;
Tip: You can also start rUsers by clicking on the button. Copy the link and paste it on the Web Browser. You can change the number of ruser in the following link.
Once you open the link on your browser, you will receive the following message:
Comments
0 comments
Please sign in to leave a comment.