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.

Latency / Packet loss / Bandwidth for the predefined profiles in NV

These are the Latency, Packet Loss and Bandwidth values configured in the pre-defined network profiles in Network Virtualization and Network Virtualization for Mobile

Profile Name Latency (ms) Packet Loss (%) Bandwidth – Downlink (kbps) Bandwidth – Uplink (kbps)
3G 75 0 780 330
Edge 200 0 100 100
LTE 40 0 10000 7500
DSL 25 0 2000 256
100% Loss 0 100 10000 10000
Very Bad Network 500 10 1000 1000

* This applies to Network Virtualization v8.xx and Network Virtualization for Mobile v 88.xx

Network Virtualization statistics counters are not being displayed

When running a PC/LR load test with Network Virtualization, the NV statistical counters are not being displayed 

Please try these steps to resolve the issue.
1. Make sure that the times on all of the hosts are in sync.  It is recommended to use the same NTP Server to sync them
2. Make sure that the Controller and LG do NOT have the same hostname
3. Make sure that port 8182 are opened for all PC/LR hosts.
4. On the LG, start the Shunra NV Agent, chose the Active Adapter, and make sure that the adapter that is handling the test traffic is selected.
5. Make sure that the test scripts have the appropriate traffic (just ping test or think time do not count).

Ports used for the Shunra NV for HP 8.6x components

The follow ports are used for the Shunra NV for HP 8.6x components:

1. TCP 443 (HTTPS): PC Server (or Controller) <–> Shunra NV Global Library

access to the Global Library

2. TCP 8182: Controller <–> LG

retrieving statistics during test run

3. TCP 1947: Controller <–> Shunra License Server

floating license checkout / checkin

4. UDP 1947: Controller <–> Shunra License Server

automatic discovery of floating licenses

User-defined *.NTX file located on a shared folder/drive with Shunra for HP 7.1

How to run Performance Center load-test with Professional mode WAN Emulation (user-defined *.NTX file located on a shared folder/drive)

Performance Center default setting hides the option to use an *.NTX file from a shared folder/drive in Professional mode. The default available option to accomplish such use-case is to download it from a VE Desktop server.

The steps below will enable using a file from a shared folder/drive as the network characteristics for a Performance Center load-test when Professional mode WAN Emulation is enabled.

1. Access Performance Center user site and load the test settings to be updated (or create a new test)

2. Go to the Workload tab

3. Make sure Actual Load Generators are defined in the test

4. Click the WAN Emulation Settings… button (the button with the cloud image)

5. Select a load generator from the list

6. Mark the Enable WAN Emulation check-box

7. Click the WAN Emulation Settings button

8. Click the Additional Settings… button

9. Mark the Professional mode includes opening files located on a shared drive check-box

10. Click OK

11. Select the Professional radio-button

12. Click the Browse button and locate the NTX file to be used for that Load Generator

13. Click OK

Please note that the shared drive must be accessible to the Controller machines.

Shunra NV for HP LG component on the host with IP spoofing

How do I use the Shunra NV for HP LG component on the host with IP spoofing

On the LG with IP Spoofing, if the Active Adapter list does not have the IP address that is spoofed, then try this in CMD window.

vcatcli SetActiveAdapter -ip <IP Address> , where <IP Address> is the Address being spoofed.

If the LG Compoent is licensed (or still have the temporary 2-day license), then verify by:

1) Start a test with the NV Agent

2) Verify emulation by pinging the host’s Gateway

3) Start a test with HP LR or PC

4) Verify with the Shunra statistics graph and TRT of the tests

(NOTE: Ping test will not show emulation when starting test with HP LR or PC)

Installing Shunra NV for HP Performance Center fails

Installing Shunra for HP Performance Center Server site fails

Error Message: Error: -1603 Fatal Error during installation

For Shunra for HP 7.1, Follow these steps:

1. Open Windows Manager

2. Add the folder: C:\Program Files(x86)\Shunra PerformanceSuite\Shunra for HP Performance Center

3. Open the IIS Manager

4. Default WebSite -> Right-Click -> Add Application…

5. Alias: ShunraVEDControl Physical Path: C:\Program Files(x86)\Shunra for HP Performance Center

6. Install the Shunra for HP Performance Center Server and User Site component

7. Installation should be successful now

8. In the IIS window, Right-Click on ShunraVEDControl -> Manage Application -> Advanced Setting…

9. Change the Application pool to: ShunraVEDControlPool

10. Click OK to save changes

11. Open a browser to http://localhost/ShunraVEDControl/ to verify that installation is correct

For Shunra NV for HP 8.6x, Follow these steps:

1. Open Windows Manager

2. Add the folder: C:\Program Files (x86)\Shunra\SNV4PC

3. Open the IIS Manager

4. Application Pool -> Right-Click -> Add Application Pool…

5. Name: SNV_AppPool .NET: v4.0 Integrated

6. Default WebSite -> Right-Click -> Add Application…

7. Alias: SNV Physical Path: C:\Program Files (x86)\Shunra\SNV4PC

8. Install the Shunra NV for HP PC Server component

9. Installation should be successful now

10. In the IIS window, Right-Click on SNV -> Manage Application -> Advanced Setting…

11. Change the Application pool to: SNV_AppPool

12. Click OK to save changes