Snapshot Viewer will not populate the snapshot on error
Question ID: 106810
1
0

I wanted to see the error snapshot that was captured during the test running in Performance Center. I have installed the HP Snapshot Viewer on my machine that I am viewing the test in PC. When I click to view the camera icon then it is showing a small dialog saying downloading; but, will never show the snapshot.

Marked as spam
Posted by (Questions: 144, Answers: 1)
Asked on April 28, 2016 12:36 pm
72 views
Answers (1)
1
Private answer

When the LoadRunner agent runs as a service it runs under System user by default. The default temporary files folder for the System user is C:WindowsTemp. However, LoadRunner/Performance Center has implemented logic that avoids writing log or other temp files under the Windows folder. This is why, instead of writing to C:WindowsTemp it changes the path.Especially with Performance Center, the alternative path created is relatively long. It may become so long that when trying to create a snapshotunder it the creation process fails. The snapshot file name is long as well and the path including the snapshot name exceeds the maximum of 256 characters for Windows paths.
Fix
Change the temporary files folder pathfor the System user to a path that does not contain the Windows folder.
To do that, follow the steps below:
1. On all machines used as Load Generators, go to Control PanelSystem and SecuritySystem -> Advanced -> Environment Variables -> System Variables;
2. Change the values for TEMP and TMP to C:TEMP or other short path that does not reside under the Windows folder;
3. Restart the machines.

Marked as spam
Posted by (Questions: 0, Answers: 152)
Answered on April 28, 2016 12:36 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top