login vsi company logo login vsi company logo 250x40

Debugging Login PI Workloads

Debugging Login PI Workloads

Login PI offers two out of the box workloads to monitor your virtualized desktop environment from the perspective of an end-user. These workloads use the same applications as your regular users like native Windows and Microsoft Office apps, but it’s also possible to customize the workloads. When you create a new workload in Login PI you can run into several issues. In this blog I will provide some tips and tricks to debug your customized workloads.

There are usually three common issues with workload errors, from a simple typo, to focusing on the wrong window or using the wrong parameters. By default Login PI generates warnings to help you isolate the issues in the workload. These warnings can be found in the Windows Event Viewer, Login PI web interface but also on the console of the launcher itself.

1. Event Viewer

Typos can be easily located by opening the Event Viewer and clicking on “PI – Alerts”. In the example below I wrote “MSPaint.ex” instead of “MSPaint.exe”. This is just a small typo but it will definitely cause errors in your workload.

debugging login pi workloads event viewer

Alerts in the Event Viewer

2. Login PI Dashboard

In the Login PI Dashboard you can find alerts that indicate that the workload is focusing on the wrong window. In this case I have misconfigured the title of the Calculator. Instead of using Calculator I used “Calculating”. The timeout appears in the Alerts Panel of the dashboard.

debugging login pi workloads alerts panel

Alerts in the Login PI Dashboard (logname/executable/title)

3. Console on the Launcher

An error like “Invalid parameter count” is visible in the console on the launcher.

debugging login pi workloads console on the launcher

Invalid parameter count in the console on the launcher

Workload Debugging

These three places will help you to locate the root cause of the most common workload issues, but sometimes these warnings require additional information. To gather more details about what Login PI is doing you can enable Engine and Workload debugging. This can be enabled in the database:

1. Open the MS SQL Management Studio and go to the Login PI database.

2. Edit the table dbo.WorkloadSettings

debugging login pi workloads dbo workloadsettings

3. Change the EngineDebug and WorkloadDebug value to true

debugging login pi workloads enginedebug workloaddebug true

After enabling debugging, the Login PI engine will be displayed in red instead of green within the session. During the session Login PI will now write all actions into the debug folder. The debug folder can be found in the temp directory of the virtual user (%Temp%\PI\DebugLogging).

debugging login pi workloads console on the launcher debug status bar

The default status bar and with debugging enabled

In case you are not able to locate a workload issue with debugging enabled, our support team is always willing to help you!

About the author

Jasper Geelen (@jaspergeelen) has a background in ICT and joined Login VSI as a pre-sales engineer in 2015. He loves drinking a lot of coffee (some might call him an addict). In his spare time, Jasper enjoys a beer and he is part of a football / soccer team. He also coaches a team of younger football players.


Tags: How-to, Login PI, Workloads, Best Practices, Support

Popular Blogs

login-vsi-vdi-performance-summit

The VDI Performance Summit - Virtual Conference and Expo

Visit the VDI Performance Summit to gain knowledge and experience about performance and tuning VDI, improving End-User Experience and IT service. Join us at the ONLY virtual event 100% dedicated to VDI performance and tuning | May 2, 2019 This 1-day event offers key-notes presented by the best VDI performance experts in the world, technical and business oriented breakout sessions, the possibility to chat with experts directly to discuss your own situation, and a virtual exhibit hall featuring… Continue Reading

Scalability testing Parallels Remote Application Server with Login VSI

Recently I went to VMworld in Barcelona where Login VSI had a booth on the expo... While I can’t remember exactly how many conversations I had - there had been so many that I lost my voice on day one. What was new this year is that quite a few people asked if our software is compatible with the solutions from Parallels specifically their Remote Application Server (RAS) (Datasheet). Continue Reading
Login VSI Blog Article - Microsoft Windows 10 Default FTA Associations - Teaser Image

Windows 10 Default File Type Associations and Login VSI

When Login VSI 4.1 was released, the majority of desktops were running Windows 7 and life was easy. We’d set the default filetype for an application and it would simply work. The default and industry standard workloads in Login VSI include launching and using Adobe Reader as part of the virtual user simulation. Because Login VSI doesn’t always know which version of Adobe Reader is installed, or where it’s installed, the workload relies on the file type association (FTA) for .pdf documents to be… Continue Reading
Login VSI - Press Release - IGEL - Login VSI Partner to Optimize End User Computing Experience Image

[Press Release] IGEL Partners with Login VSI to Optimize the End User Computing Experience

Login PI enables organizations to better protect the performance and availability of their IGEL OS-powered virtual desktop environments San Francisco, USA, Feb. 6, 2019: IGEL, a world leader in software-defined endpoint optimization and control solutions for the secure enterprise, today announced that it is partnering with Login VSI, provider of software solutions to test and actively monitor the performance and availability of virtual desktop environments, including VDI and… Continue Reading
Login VSI - Blog - Login PI Blog Teaser Image - Windows Virtual Desktop: How To Monitor User Experience With Login PI

Windows Virtual Desktop – How to Monitor User Experience?

Microsoft has just announced the public preview of their new Windows Virtual Desktop (WVD) offering at Microsoft Ignite on Tour in Amsterdam today. For those of you who’ve not followed the rumors or the private beta, here’s the outline... Continue Reading
Investigating Online Application Performance with Login PI

Investigating Online Application Performance with Login PI

As many companies do, we use a CRM system. Recently, I have been getting complaints about our cloud CRM system, Microsoft Dynamics, being slow. I tried to investigate this by shadowing one of our users to see what was wrong. As expected, everything was fast. 15 minutes later, the same user reported slowness again. How could I investigate this without bothering the users? Continue Reading
Cookie Settings