Skip to main content

Posts

Difference Between HTML and URL Mode in Loadrunner

What is the difference between HTML and URL Mode?

HTML Mode:

HTML Mode is the default recording mode available in Loadrunner for Web (HTTP/HTML) scripts. When you record an application in HTML mode it will not record all the resources, but it will keep in extras as shown below and when the same script is executed it will parse all the urls one by one in extras and It will take some time to parse all the urls. Please find an example of HTML Mode below for Bing.com.

Bing.com in HTML Mode:

You will get 50 Vusers License From Loadrunner 12 Community Edition.

HP has changed his way of doing business with their products. It is trying every possibility to get the business and to give the competition to other tools.
Jmeter, Neoload and some of the top tools are also giving a huge competition to the HP Loadrunner. HP is also rapidly upgrading the Loadrunner to meet the latest technology upgrades and the competition.
HP has come up with Loadrunner 12 community edition, where you will get 50 Vusers license to performance test your application. You can test your app on any protocol with the 50 Vusers. This helps you a lot before finalizing in buying the license of Loadrunner. Sometimes we buy the license and get to know that we can't do the performance testing with the Loadrunner where this will become the hectic. 
Here is another good news now, you can purchase the vusers license with your credit card or PayPal, which was not there earlier. HP has come up with a website called pronq.com where we can buy the licenses easily.
By the way which tool…

Flex Protocol in Loadrunner - Recording | Correlation | Jars | Errors

Overview of Flex Protocol:

What is Flex:
Flex emulates a client and server application method. Flex uses different technologies to develop Rich Internet Applications using Flash Player. Adobe Flex is a powerful framework, using we can develop powerful interactive applications. These flex applications are set of MXML and some other files combinely play the script on the flash player or also called swf files.

Examples: Share market graphs, that change dynamically over the internet. Usually, these type of applications are developed using Adobe Flex.

Recording: We usually record this application with multi protocol web and flex protocol. 

Correlation in Flex Protocol: For regular web functions we use the web_reg_save_param function for correlation. For flex we use lr_xml_get_values and lr_xml_find functions to capture the values from the response. The name itself indicates that we are capturing xml values from the response.

The main value which we do correlation in Flex protocol is DSID.

Once yo…

How many load generators do we need for Performance Testing

It's one of the regular questions that will be asked as to how many load generators do we need in Loadrunner or any other tool. It depends upon the testing tool that we use and the configuration of our system (Example: CPU, Memory, Operating System etc.).

Without knowing the exact load generators sometimes the performance testing results may vary. For example, if we need four load generators instead we ran the test with only two load generators and the load generator machines will get slower and the permance testing results may vary.

Recently I have gone through an article where the HP Loadrunner team beautifully explained about how many load generators do we need for our test.

We need to follow these steps to calculate how many load generators do we need. 

First, we need to record the script and enhance the script to work with multiple users and iterations.Once the script is ready, upload the script to controller and run the script with one user using a few minutes delay before the s…

How to Monitor a Vugen Script in Sitescope

Hi guys,

The HP Sitescope team has explained about how to upload a Vugen script to Sitescope and Monitor the script in Sitescope.

Suppose your application is loading slowly and you are not sure where exactly the problem is. Then you can run your script in Sitescope and it will show you where exactly the problem is.

Many people do not know that there is an option in the controller as well where it will show the breakdown of the transaction.

Hope this video helps you.




How to Integrate Sitescope with Loadrunner - Screenshots Attached

The integration of Sitescope with Loadrunner is a simple task that can be done in two minutes.

Launch the controller
Go to System Resource Graphs
Click on Sitescope
Click on Add Measurements
Add the Host Address or IP address of the machine that Sitescope installed as shown the following image.
If it is prompted for the Username and Password give the credentials as required.

If the controller is connected to the Sitescope you are able to see all the counters that the Sitescope has in your machine as shown in the following image.

Once you successfully add the Sitescope you will see all the monitors / counters that the Sitescope has.

Add the measurements that you want to require and click on okay. Here I have added CPU utilization.



Step by Step Procedure on How to add Alerts in Sitescope

Adding alerts in Sitescope is very easy. Before adding the alerts in Sitescope we need to go to the properties as shown in the below image and change the threshold values as required.

Once the threshold setting has been set.  Click on Alert tab and click on * button and a new pop up opens give an alert name and select the alert action as shown in the following image.

Alert Actions: We have different alert actions one of the popular alert action is Email. For example, if the CPU reaches 80 percent trigger an email alert to the required members. We have already set threshold limits at 80 percent as shown in the first image. Now, we will set the remaining settings as shown in the following image.

Once you click on the email action the following image opens.

Once the above settings as shown in the image are set and click on save. You will see as shown in the following image.