Why do I encounter the error "StInitSession(GUI-Level Testing Replay: 10 - Virtual user information, More than 1 user per Session is not allowed, please check if user credentials are provided" during
Before a GUI-Level loadtest is started Silk Performer has to verify if a Remote Desktop session is possible, it does this by performing the following checks:
- Checks the length of the user credentials (username and password) to see if either is of length 0. As by not specifying any user credentials you are inadvertently informing Silk Performer that you wish to run the test as a "Console Session" instead of a "Terminal Server Session"; this is especially true if you have also enabled the Active Profile Setting "Allow usage of console session on agents".
- The number of virtual users you wish to execute in the loadtest (as executing more than 1 virtual user is an indication that you wish to run the test as a "Terminal Server Session".
Therefore if you do not provide user credentials you are informing Silk Performer that you want to a loadtest as a "Console Session". However as it is not possible to execute more than 1 virtual user as a "Console" Session; Silk Performer thus stops the loadtest and reports the above error message in order to tell the end user "that it is not possible to execute more than one user on this machine with the blank user credentials".
For further information on the differences between a "Console" and "Terminal Server Session" please view the following resolution: When replaying a GUI Level BDF script what is the difference between running as a console session and a terminal server session?