Noise Generator in Performance Testing

What is a Noise Generator?

In this article, we will see about noise generator in performance testing and its purpose. Recently HP has released its latest version of LoadRunner 12.02 with the capability of adding noise generation in the Controller.

Noise Generator

We can follow two approaches while testing the performance of the application: with noise generation and without noise generation. Typical tests with complex business scenarios, actions, transactions, etc. would be without noise generation.

Along with a complex business scenarios, actions, transactions, if you add a small load of GET request of the core URL that you are testing creates a noise in the background. This is called Noise Generator.

How to add Noise Generator to your script in LoadRunner?

Follow the below steps to add a noise generator to the scenario:

  1. Launch Controller
  2. In Design tab, right click on the script and select Add Script as shown below.
Add Script
Add Script
  1. Select Use a Noise Generator script accessing the following URL: and enter the URL under test as shown below.
Add Script Dialog
Add Script Dialog
  1. Click on OK.

Script path will be automatically added with the prefix “Noise_”. If you see the details of the script, you could see the script type as Noise as shown below.

Script Information
Script Information

Advantages of Noise Generator

  • No need to script the flow
  • One click settings
  • No specific configuration is required

Please note that you need to pay one tenth of the price of a regular virtual user.

Troubleshoot Snapshots in HP LoadRunner

In few instances after recording your business actions in VuGen, you cannot find the snapshot for your steps. In that case, we will see how to troubleshoot the snapshots in HP LoadRunner.

Please note that not all steps have snapshots, only the step with screen interactions for web, browser content window will have the snapshots.

Most of the protocols allows you to disable the capturing the snapshots. If there is no recording snapshot appeared, it might be due to following reasons:

  1. You are using earlier version of VuGen 6.02
  2. Snapshots are not generated for certain steps
  3. The imported actions do not have snapshots

If there is no replay snapshot, it might be due to following reasons:

  1. You are using earlier version of VuGen 6.02
  2. The imported actions do not have snapshots
  3. VuGen could not save the replay snapshots
  4. VuGen scripts directory is a read-only
  5. The steps refers navigation to a resource
  6. The imported actions do not have snapshots

 Following are the shortcuts of VuGen.

alt+f8Compares the Current Snapshots (Web Vusers only)
alt+insCreate New Step
ctrl+aSelect All
ctrl+cCopy
ctrl+fFind
ctrl+gGo To Line
ctrl+hReplace
ctrl+nNew
ctrl+oOpen
ctrl+pPrint
ctrl+sSave
ctrl+vPaste
ctrl+xCut
ctrl+yRedo
ctrl+zUndo
ctrl+f7Recording Options
ctrl+f8Scan for Correlations
ctrl+shift+spaceShow Function Syntax (Intellisense)
ctrl+spaceComplete Wizard (completes the function name)
f1Help
f3Find Next Downward
shift+f3Find Next Upward
f4Run-Time Settings
f5Run Vuser
f6Move Between Panes
f7Show EBCDIC Translation Dialog (for WinSocket data)
f9Toggle Breakpoint
f10Run Vuser Step by Step

Do not miss any post. Subscribe now for our free weekly newsletter.

HP LoadRunner 12 Tools

I hope you would have read my earlier posts on HP LoadRunner 12 and HP UFT release. Currently, I am in the process of testing HP LoadRunner 12 on my personal laptop. Last week I spent around 50+ minutes to install HP LoadRunner 12 in my system. You can check out my below video on how to install HP LoadRunner 12 on your system.

My laptop has six GB RAM, so it is more enough to install HP products. In this article, I have listed out the tools of HP LoadRunner 12 and its purpose. Below is the snapshot of the HP LoadRunner software package in the Start menu.

HP LOADRUNNER 12 TOOLS
HP LOADRUNNER 12 TOOLS

1. LoadRunner Agent Runtime Settings

This tool enables testers to run virtual users on a Load Generator (LG) machine without manually logging into the machine. If you want to manually login to the machine, you can select Manual log in to this machine option as shown below.

LoadRunner Agent Runtime Settings
LoadRunner Agent Runtime Settings

Once you have entered a valid username and password, click on OK, you will get below success message.

LoadRunner Agent Runtime Settings
LoadRunner Agent Runtime Settings

2. Configure Virtual Table Server Link

When you launch Virtual Table Server, you will get below window where you need to specify the Server Name and Port.

Configure Virtual Table Server Link
Configure Virtual Table Server Link

Once you have entered the valid server name and port, navigate to Start > All Programs > HP Software > HP LoadRunner > Tools, and then click on the Virtual Table Server link.

3. Diagnostics for J2EE and .NET Setup

This utility helps to setup the diagnostics for J2EE and .NET setup.

Diagnostics for J2EE and .NET
Diagnostics for J2EE and .NET

To setup diagnostics, you must start application server and make sure that you are not running any load test. To configure the settings, go to Controller > Diagnostics, select Enable the following diagnostics, and then specify the percentage of Vusers that you want to collect the diagnostics data. See the figure below.

Diagnostics for J2EE and .NET
Diagnostics for J2EE and .NET

4. Host Security Manager

When you launch Host Security Manager, it will prompt you to set up the master security key as shown below.

Host Security Manager
Host Security Manager

This setting will secure the connection between the Controller and Load Generators to make sure that the communication is safe, reliable and not vulnerable to hackers. Security key plays an important role, if there is a mismatch in the security key, and then the secure communication will not be established.

Launch Host Security Manager, click on Add Hosts. Enter the Controller name and the LG names as shown below, and then click on Add.

Host Security Manager
Host Security Manager

5. Host Security Setup

This utility helps you to setup the host security. If you want to allow non-secure communication, select accordingly as shown below. If you want to enforce secure communication, enter your security key and then click on OK.

Host Security Setup
Host Security Setup

6. IP Wizard

IP Wizard helps you to manage your system’s IP addresses. Once you launch it, you will get below window. Select Create New Settings, and then click on Next.

IP Wizard
IP Wizard

 Enter IPv4/v6 details, IP Wizard will automatically check if the server’s routing table will need updating. If yes, scripts will be generated. Then, click on the Next button.

IP Wizard
IP Wizard

In the last step, IP Wizard will display the IP address and its subnet mask details as shown below. Click on Finish.

IP Wizard
IP Wizard

 

7. Load Generator Calculator

Load Generator Calculator helps you to calculate how many LG you need for your script. This is just a technical preview. I have found few defects as well. You can send your feedback to vugen.feedback@hp.com

Load Generator Calculator
Load Generator Calculator

8. Network and Security Manager

This is also a technical preview; you may face issues while using this tool. It helps you configure the settings on your local and remote machine from your computer. You can update agent related settings as well.

Network and Security Manager
Network and Security Manager

9. Password Encoder

Many of us know about this utility where it encodes your password. Encoded password can be used in the Vuser script to hide your credentials. Enter your password in the Password: field and then click on Generate. Your password will be converted into an Encoded String as shown below.

Password Encoder
Password Encoder

10. Protocol Advisor

This is the most used feature in LoadRunner, which identifies the protocol of your application under test. Go to Record > Protocol Advisor > Analyze Application in VuGen as shown below.

Protocol Advisor
Protocol Advisor

 You will get below Protocol Advisor options as shown below. Enter URL address and then click on Start Analyzing button to analyze the application. Perform few actions and then click on the Stop button. LoadRunner will analyze and display the results accordingly.

Protocol Advisor
Protocol Advisor

11. SSL Utility

SSL utility helps you to convert you to convert your SSL certificate, test the connection, and remove certificate encryption.

SSL Utility
SSL Utility

Thanks for reading this post. Don’t miss any posts from QAInsights. Subscribe Now.

HP LoadRunner 12 and HP Performance Center 12 Released

March 17, 2014: HP released its most anticipated, revamped, and packed with awesome features for performance testing, HP LoadRunner 12 and HP Performance Center 12. I have not got chance to test LoadRunner 12 Beta, but I would like to share about the glimpse about HP LoadRunner 12 and HP Performance Center 12 and its features.

What’s new in HP LoadRunner 12 and HP Performance Center 12?

HP LoadRunner 12 and HP Performance Center 12
HP LoadRunner 12 and HP Performance Center 12

Cloud-based Load Generators (LG)

One of the interesting and most-wanted feature is injecting load from the cloud. Earlier, we need to have physical LGs to inject the load to the application under test. But now, it is possible to inject, scale the load from the cloud services like Amazon Web Services (AWS). You can configure the settings using Network Security Manager. You can add `n` number of cloud accounts, and manage your network profiles to generate huge load.

Mobile Testing

Now you can test any mobile application in this newer version. You can achieve most realistic mobile performance testing by integrating Shunra Network Virtualization. Other features include:

  • Define multiple geo locations per LG
  • New graphs and charts for network virtualization

Free 50 Virtual users

Now HP is offering 50 Virtual Users for FREE. This will definitely help to perform short-term projects, Proof of Concepts, Tool evaluation, etc. You will get all the protocols except GUI (UFT), COM/DCOM, GUI(UFT) virtual users and template bundle.

VuGen Features

  1. Replay your script to get statistics about Bytes, Total Connections, and Disconnections etc.
  2. Edit common file types in the editor like .txt, .dat, etc.
  3. Supports Microsoft Internet Explorer 11, Chrome 30, and Firefox 23.
  4. Record and Replay with Google Chrome
  5. Create scripts from Wireshark and Fiddler
  6. Record SPDY and HTML5 protocols

TruClient Features

  1. Record HTTP/HTML traffic from your TruClient script using TruClient script converter.
  2. It supports IP Spoofing, Rendezvous Points, VTS2, and Shunra.

Platforms Support

  1. Install HP LoadRunner 12 and HP Performance Center 12 in Windows Server 2012
  2. You can launch LoadRunner using non-administrator accounts with UAC and DEP enabled.
  3. You can integrate LoadRunner with Jenkins
  4. Supports latest version of Eclipse Juno, JUnit, and Selenium
  5. Linux LGs now supports LDAP, FTP, IMAP, POP, ODBC, DNS, and Windows Sockets. Replay can be through Unix LGs as well.

Download HP LoadRunner 12 and HP Performance Center 12 Now

Download HP LoadRunner 12 and HP Performance Center 12 Protocol bundles

Download HP LoadRunner software Datasheet

HP LoadRunner and HP Performance Center software

Thanks for reading this post. Show us some love by sharing this! Do not miss any posts like this.

Subscribe Now

LoadRunner 11.52 Patch 1 released

HP has announced LoadRunner 11.52 Patch 1 which contains following fixes:

  • VuGen Replay Performance
  • VuGen Replay – Conditional breakpoints
  • VuGen Search
  • Shunra Network Virtualization
  • Installation
  • License consumption in Oracle bundle
  • TruClient windows 8 support
  • Application Lifecycle Management Integration: compatibility with ALM 11.52 patch 1.
  • Service Virtualization integration: compatibility with SV 3.0.

You can install this patch over LoadRunner Service Pack 11.52.

Thanks for visiting QAInsights! Check out our new portal Testifications.com to get updates on Software Testing related certifications. We’re always posting interesting articles on QAInsights. I request you to subscribe so you don’t miss out anything.

Searching for QA Jobs Openings, check it at www.QAJobOpenings.com

Want to start a blog like this, please visit SpidyDomain to buy cheap web hosting and register domain.

Subscribe to our QAInsights YouTube Channel | Subscribe our free weekly newsletter or Google feeds

HP LoadRunner Experts Online for Online Expert Day

HP organizing HP LoadRunner Experts Online for Online Expert Day on Sep 17, 2013. If you have a contract, then you can join LoadRunner Support Customer Forum on September 17  where HP product Experts will be online for 12 hours to answer questions regarding Correlation, which includes:

  • Getting familiar with the standard procedure, both automatic and manual
  • Finding clues that may help to identify  problematic values

What is an Online Expert Day?

Online Expert Day is an event when HP experts answer your toughest technical questions.  Online Expert Days give you a chance to talk directly with the HP Experts.

[sociallocker][/sociallocker]

Starting on September 17th at GMT 8:00 (11:00 AM Israel Daylight Time / 01:00 AM Pacific Daylight Time), visit  LoadRunner Support Customer Forum and post your questions.

The Expert Day will end on September 17th at GMT 20:00 (11:00 PM Israel Daylight Time / 1:00 PM Pacific Daylight Time).

To participate, you do need access to the LoadRunner Support Customer Forum. If you experience any issues, please send an email to swcommunity@hp.com.

Thanks for visiting QAInsights! Check out our new portal Testifications.com to get updates on Software Testing related certifications. We’re always posting interesting articles on QAInsights. I request you to subscribe so you don’t miss out anything.

Searching for QA Jobs Openings, check it at www.QAJobOpenings.com

Want to start a blog like this, please visit SpidyDomain to buy cheap web hosting and register domain.

Subscribe to our QAInsights YouTube Channel | Subscribe our free weekly newsletter or Google feeds