Run time error “Server Error in ‘LoadTest’ Application.” when we click on test

Run time error “Server Error in ‘LoadTest’ Application.” is observed when we click on scenario both in My Performance Center and DesktoClient version 12.56 .

The full error message is:

Server Error in ‘/LoadTest’ Application.

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a “web.config” configuration file located in the root directory of the current web application. This <customErrors> tag should then have its “mode” attribute set to “Off”.

<!– Web.Config Configuration File –>

<configuration>
<system.web>
<customErrors mode=”Off”/>
</system.web>
</configuration>
image text
The test can be edited but in the summary tab the error message appears.

The issue is observed when analysis template and/or resource monitors which were deleted from the project are used it the problematic test.

To overcome the issue the missing analysis template and/or resource monitors should be removed from the test.

1. If the test is using a deleted analysis template the options are in the test to choose another analysis template or the default analysis template by following the steps below:

Click on a problematic test
Click on Edit test button
In test window select Advanced-> Analysis Template Options
In the Analysis Template Options select:
Use default Analysis Template
Click on OK
Save the test

2. If the test is using a deleted monitor the missing monitor need to be removed from to test or substituted it with an existing monitor.

To delete a Monitor please follow the steps below:

Click on Associated Monitors tab
Select the missing Monitor
Click on Remove Selected
To add an existing monitor

Click on Associated Monitors tab
Select “Add Monitor Profile” or “Add Monitor OFW”
Select the Monitor from Select Monitors part of the screen.

ALM server occupies large space with many files named java_pidXXXX.hprof

The HPROF are files created as logs for the java virtual machine, they are created automatically by the server in the java virtual machine of ALM.
There was a reason for the server to be slow when these files are being created, because they are huge.
These files can simply be removed to reduce the disk occupation.
However, there’s an option to disable the heap dump file generation, but it is not suggested to do that.
For information how to disable the hprof files please type the sign # before wrapper.java.additional.10=-XX:+HeapDumpOnOutOfMemoryError in the wrapper.conf file.
The wrapper.conf file is located at ~\HP\ALM\wrapper

On the link below could be found more information about these files: http://docwiki.cisco.com/wiki/Java_HProf_Files

What is _system_user_ in ALM and how ALM uses this user

In the Site Administration database schema (the default name qcsiteadmin_db) in the SESSIONS_HISTORY table ALM uses “_system_user_” with a type of ALM Internal Server.

The _system_user_ is an internal user used by ALM with a type of “ALM Server Internal” in order to perform internal operations. It was introduced in ALM 11.

Any operations on ALM entities are monitored by the permissions granted to the user performing them and thus an internal user is needed. For example, QPM Calculation engine needs to access to different projects and entities.

Here are some characteristics for this user:
– It does not have a password and it is internal thus preventing login using this user.
– It does not consume a license. This is a user created for internal server jobs proposes.
– This user is created upon installation/upgrade process.
– It enables automatically on project creation, as part of the TDAmin group. This indicates that the user’s permissions are equal to regular admin user.
– The user is hidden from the Site Administrator’s users list and it does not appear as one of the users enabled on the projects. This is done to prevent deleting the user or changing its properties.
– The records on the user are stored inside the qcsiteadmin_db. If the user list is managed using LDAP, the user is not defined in it. Its scope is only inside ALM since it is not representing a normal user.

Reset User Settings on ALM Octane

On some scenarios user might report that they cannot access certain modules or perform certain actions they were able to do before. Most of the times the issue is related to a corrupted user profile in ALM Octane. To clean the settings you need to follow these steps:

1. Logon with the user credentials to the correct workspace

2. Paste the following url to the browser’s address bar after verifying that the sharedspace id and workspace id are correct:

https://<Octane Server>.<domain>.com/ui/?p=<sharedspace>/<workspace>#/clear-settings

How to set Proxy Settings from ALM Excel Add-in

As of the latest ALM Excel Add-in version (12.55.1 for ALM 12.2x & ALM 12.55) it is possible to set the Proxy Settings directly from the Microsoft Excel -ALM Add-in’s interface.

Default configuration is using Internet Explorer’s connection settings. In specific situation ( using proxy authentication or multiple proxy servers) a successful connection to the ALM server might not be possible and this would require setting manually the proxy settings.

In case that no Proxy Server should be used, user should click on Show Proxy Settings button, then select Use a Proxy Server option and leave Proxy & Port fields empty.

Error message when the Add-in cannot connect to the ALM server because of incorrect proxy settings or wrong ALM connection string/URL:
“Unable to connect to the ALM server. Please check the server URL.”

Integration Support Matrices for ALM 12.60 and Tools are provided below

Product Integrated Product & supported versions
Application Lifecycle Management 12.60
Business Process Testing (BPT) 14.50
Performance Center (PC) 12.60
LeanFT 14.50
Unified Functional Testing (UFT) 14.50
LoadRunner (LR) 12.60
Mobile Center (MC) 2.8
Sprinter 14.50
AGM on prem 2.57
Service Virtualization (SV) 4.20
Service Manager (SM) 9.60
Project and Portfolio Management (PPM) 9.50
Business Process Testing 14.50
Application Lifecycle Management (ALM) 12.21, 12.55, 12.60 , 14.01 (SaaS)

Unified Functional Testing (UFT) 14.50
LeanFT 14.50
Mobile Center (MC) 2.8
Sprinter 14.50
Performance Center 12.60
Application Lifecycle Management (ALM) 12.60
Unified Functional Testing (UFT) 14.50
Network Virtualization (NV) 9.14
Service Virtualization (SV) 4.20
SiteScope 11.50, 11.51
Diagnostics 9.50
Real User Monitor (RUM) 9.50
Mobile Center (MC) 2.8
Unified Functional Testing 14.50
Application Lifecycle Management (ALM) 12.21, 12.55, 12.60, 14.01 (SaaS)
Business Process Testing (BPT) 12.21, 12.55, 12.60, 14.50
Performance Center (PC) 12.60
LoadRunner (LR) 12.60
LeanFT 14.50
Sprinter 14.50
Network Virtualization (NV) 9.14
Service Virtualization (SV) 4.20
Mobile Center (MC) 2.8
LeanFT 14.50
Application Lifecycle Management (ALM) 12.21, 12.55, 12.60, 14.01 (SaaS)
Unified Functional Testing (UFT) 14.50
Mobile Center (MC) 2.8
LoadRunner 12.60
Application Lifecycle Management (ALM) 12.21, 12.55, 12.60
Unified Functional Testing (UFT) 14.50
Network Virtualization (NV) 9.14
Service Virtualization (SV) 4.20
SiteScope 11.50, 11.51
Diagnostics 9.50
Mobile Center (MC) 2.8
Sprinter 14.50
Application Lifecycle Management (ALM) 12.21, 12.55, 12.60, 14.01 (SaaS)
Business Process Testing (BPT) 12.21, 12.55, 12.60, 14.50
Unified Functional Testing (UFT) 14.50
Mobile Center (MC) 2.8
Service Virtualization 4.20
Application Lifecycle Management (ALM) 12.60
Performance Center (PC) 12.60
LoadRunner (LR) 12.60
Network Virtualization 9.00
Unified Functional Testing (UFT) 14.50
Mobile Center 2.8
Application Lifecycle Management (ALM) 12.60
Business Process Testing (BPT) 14.50
Bussiness Process Monitoring (BPM) 9.50
LeanFT 14.50
Unified Functional Testing (UFT) 14.50
Sprinter 14.50
Performance Center (PC) 12.60
LoadRunner (LR) 12.60
Network Virtualization 9.14
AppPulse Mobile 2.7