Skip to main content

VuGen and Vuser Mechanism in HP LoadRunner Software

Vusers or Virtual users are the virtual counterpart of live human business application testers. A recorded set of activities by the Vuser is turned into a Vuser script which will is commonly used for testing business applications.

A Vuser Script is generated by an HP tool, VuGen which is also known as a Virtual User Generator. The VuGen is able to derive an entire Vuser script through documentation of a live business process in a specific application. While a business process is done, the VuGen records such activity, sorting only those that directly involve client and server interaction. This recording by the VuGen is an automatic process which copies the actual process of the business in the real world. The process is actually digital rather than doing the process manually.

The Virtual User Generator looks into the activities like client requests that were both sent and received by the server. 

When a playback is performed, the Vuser script directs a call to the server API commencing the communication. System resources are no longer needed by the client interface, where the Vuser can communicate freely with the server. This process allows for a multiple Vuser scripts to run at the same time on a single workstation. This further eases the workload as the process can cater large server loads even with fewer machines.

The Vuser scripts do not simply depend on the client software, allowing Vusers to look into the process of the server while it is still on the run and is only partially developed.

Standalone tests are made possible with the use of VuGen. Its significance in the verification of the Vuser script’s functionality is evident. Thus, allowing a transparent view on how a Vuser runs during a test.

You can add Vuser scripts to a LoadRunner Controller scenario. While using the Vuser script efficiently, you can get information on how a system responds. The resulting information of this activity can be review using an Analysis tool. This entire process can be simply summed up by a bank process where multiple Vusers withdraw cash from an ATM all at the same time.

Although a Vuser script can only be recorded using a Windows platform, it can still be run on either Windows or Linux platforms. 

The LoadRunner can accommodate various kinds of Vusers, where each type is set to manage several large activities, like the systems for architecture.

Unit Test Based Vusers:

Unit tests for formats such as .dll or .java/.class files can be supported by Microsoft Visual Studio or Eclipse LoadRunner.

The proper IDE for developer add-in should be installed to make the test. It can be located at the Additional components folder of the LoadRunner DVD.

GUI Vusers:

Functional testing scripts, like GUI tests, can be combined into a testing scenario by LoadRunner. It is then possible to make GUI test with the use of HP Functional Testing software – QuickTest or Unified Functional Testing.

Only run one GUI Vuser at a time on Windows-based load generator. Multiple GUI Vusers can be run using Citrix. Check out the Using QuickTest or Unified Functional Testing Test in Loadrunner to learn more about Windows-based GUI Vusers.


Popular posts from this blog

NeoLoad Interview Questions and Answers

Here are some of the interview questions and answers on NeoLoad:
What is NeoLoad?
NeoLoad is a performance testing tool designed to test different types of web, standalone and mobile applications.
What is the difference between Loadrunner, JMeter and NeoLoad?
Click here for differences
What are the different counters you monitor in NeoLoad?
Average Response Time(requests), average response time(pages), average requests/s, average throughput, current response time(requests), current response time(pages), current requests, current throughput, current users count, controller cpu load, controller memory load etc.
What are the different type of tools you can integrate with NeoLoad?
App Dynamics, CA APM Integration, Dyna trace integration, HP ALM or Quality Center Integration, Java and Jamo Solutions M-eux Test Integration, Jenkins Integration, perfecto mobile integration, selenium integration.
What are the different type of Operating systems you can monitor?
Linux Monitor, Solaris Monitor, AIX …

File operations in loadrunner with examples

In this post I will explain how to capture a value from server response and save to a text file using vugen.
How to capture and save to text file using loadrunner:
First I have recorded the script using and then i searched for IBM. We will get 10 results. I have captured all the 10 values and saved to a file.
Here is the code for that.

Sitescope Monitoring Tool Features and Monitors

Why Sitescope is called Agentless Monitoring Tool?
HP SiteScope monitors the application/infrastructure/server/operating system without installing any agent software on the system to be monitored. This feature makes the installation, usage and maintenance of Sitescope simpler when compared with the any performance monitoring tools like Diagnostics.
Sitescope Monitors:
Sitescope has also upgraded and changed drastically to meet the rapidly changing technologies and environments like virtualization and cloud computing. Using Sitescope we can monitor different web servers, application servers and database servers. We can also monitor operating systems Windows, Linux, Sun Solaris, IBM AIX. It has more than 100 monitors including Weblogic, Websphere, SAP, SIEBEL, SNMP, LDAP, Network Monitor etc. HP SiteScope can also monitor cpu utilization, response time, disk space, and resource availability of a variety of host types and application platforms.
Sitescope Features:
SiteScope provides failover …