login vsi company logo login vsi company logo 250x40

normal console, silent mode: cant run in background

  • bwithaar
  • bwithaar's Avatar Topic Author
23 Jan 2012 13:29 #63 by bwithaar
bwithaar created the topic: console, silent mode: cant run in background
•VSI Version:3.5
•Test system: Microsoft RDS
•Operating system version target: Server2008R2 x64
•Operating system version launcher(s):Server2003 x86
•Office version target: Office 2010

...busy automating login vsi tests....

Questions concerning the Console, 'silent' mode:

1) I am only aware of one Console parameter: 'silent', this works, however
would it be possible to also specify the test configuration/profile?
This way it would be possible to automate a series of tests that have their own configuration,
like workload, username prefix, sessions and timeframe etc..

2) 'Silent mode' unfortunately still brings up a form.
This way it's not possible to run it in the background.
For example I tried using psexec:

a) First open a remote shell to the target system where to run the console
psexec \\computername cmd
b) Then issue the command to run the console to start a console at the remote computer:

C:\WINDOWS\system32>"g:\vsishare\software\launcher\Console\VSI Management Console.exe" silent "test3"

after a while following message shows up:

Unhandled Exception: System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at VSI_Admin_Console.frmSilentRun.preScreen()
at VSI_Admin_Console.frmSilentRun..ctor(String name)
at VSI_Admin_Console.Program.Main(String[] args)

So this does not work.

Additionally, when a test already running, and issuing a new console silent, a popup shows up saying
'Could not start the test: an actve test is running".
In silent mode I would need to have these errors in a log file and output as errorlevel.

Any alternative way to start a test? Perhaps something like
- copying a new test folder into vsishare\_VSI_Logfiles
- copying a new test configuration into vsishare\_VSI_configuration\_CurrentTest

3) Cosmetic: The form appears to have 4 fields. Their default text shows "label1"


Please Log in to join the conversation.

24 Jan 2012 12:02 #64 by m.plettenberg
m.plettenberg replied the topic: Re: console, silent mode: cant run in background
Hi Bart,

1 + 2) We deliberately chose to make the MMC show forms even when running in silent mode. This is because from a launcher perspective its never possible to initiate remoting sessions (like real users do) without having a user logged on to the console. If i remember correctly you have the MMC running on launcher 1 so there should always be at least a console (autologon) or rdp session open.

Next to that i totally agree that we should give you a return code that you can work with in your automation workflow, i will work on this and keep you posted.

3) The cosmetics have already been brushed up and will be updated in the next release.

Please Log in to join the conversation.

  • bwithaar
  • bwithaar's Avatar Topic Author
24 Jan 2012 12:57 #65 by bwithaar
bwithaar replied the topic: Re: console, silent mode: cant run in background
Yes that's a workaround: running the console-silent-form on one of the Launchers, as these are configured to autoadmin logon. Also I can figureout a way to have the form interact with the desktop.

In the meantime I got a workaround in place, wich also enables me to use test profiles:

In \\server\vsishare\_VSI_Logfiles I have 2 test folders that ran in the past where I removed *.txt and *.log files, and the Reset and _ActiveSessionsFinished folders.

Before I run a new test, I copy the desired folder in to a new testname, and then copy the name of the new folder as !!!_<name>.isActiveTest to \\server\vsishare

Then I reboot first the device being tested, then the Launchers, and it all starts running.

At least that starts the desired test.

Please Log in to join the conversation.

What our customers are saying

Shai Maskit - Kaminario

“We tested 750 seats so customers can compare Kaminario with solutions from other vendors. It really comes down to delivering the best user experience at the right price point. As soon as we show the solution and that it has been validated by Login VSI customers can rest assured that it will fit the rest of their environment.”

Shai Maskit, Director of Product & Solutions at Kaminario

Andrew Mills - Nutanix

“Predictability is a key piece to VDI. It’s one of reasons that VDI has scared people away, but Login VSI solves that. If you’re going to do it, do it right. Login VSI really gives that rubber stamp on doing it right.”

Andrew Mills, VDI Alliances Manager at Nutanix

Johnny Blizzard - Health Insurance Organization

"We now have indisputable empirical proof supporting our claims. With Login VSI, we can run our own applications against various hardware platforms before we move to production! Application owners can see how their code impacts their users on our systems and we can present our findings to management for funding increases. We can also advocate for the users when supporting their claims of poor performance, all because of Login VSI."

Johnny Blizzard, Sr. IT Systems Engineer at a Health Insurance Organization

Login VSI, Inc.

300 Tradecenter

Suite 3460
Woburn, MA 01801

Phone: +1 844 828 3693

Login VSI B.V.

De Entree 85
1101 BH Amsterdam
The Netherlands

Phone: +31 20 705 1200