Ajax Click and Script Functions in Loadrunner

//
The following function emulates the real behavior of Ajax click and script applications in Loadrunner.

Function Name
Description
ajax_accordion
This functions emulates the user extending or collapsing a Menu
ajax_autocomplete
This functions emulates the auto complete based on the text that we entered.
ajax_collapsiblepanel
This function emulates the user extending or collapsing some of the fields in the application.
ajax_rating
This function emulates the user setting a rating of a rating control.
ajax_reorderlist
This function emulates that reordering of lists.
ajax_slider
This function emulates setting of value using slide control.
ajax_tabs
This function emulates the user performing on folder-style tabs in atlas applications.
Read More

SAP Click and Script Functions in Loadrunner

//
SAP click and script functions emulates the real behavior of users performing on SAP business process using Loadrunner. VuGen records all the activity that user performed on the SAP application. The following functions are generated during recording.

sap_button
Emulates a user click action on SAP application button.
sap_check_box
It emulates user action performing on SAP GUI check box.
sap_drop_down_menu
It emulates user action performing on the drop down menu
sap_edit_field
It emulates that user click on any editable field.
sap_iview
It emulates SAP Enterprise Portal application iView frame on SAP GUI.
sap_list
It emulates the use of drop-down menu on multiple SAP GUI list for HTML application.
sap_menu
It emulates the user navigation on top level menu of SAP GUI.
sap_navigation_bar
Emulates the user action on navigation bar on SAP GUI web application.
sap_ok_code
It emulates the user typing text on ok code box on SAP GUI HTML application.
sap_portal
Emulates the user performing on SAP enterprise portal desktop.
sap_radio_group
Emulates that user choosing a radio button out of multiple radio button options.
sap_tab_strip
Emulates the user switching from one tab to another in web application.
sap_table
Emulates the user use on SAP tables or grid.
sap_tree_view
Emulates the actions on SAP GUI tree view object.
Read More

HP Stomrunner Load – Agile Performance Testing Tool from Loadrunner Team

//
So you working agile these days, the application developing has become faster and faster day by day and the release periods getting closer and closer with so many involved in development. You needed to be very easy to plan, run and scale your web and mobile performance testing so that any one regardless of his expertise can easily handle the agile testing process.

HP Stomrunner Load enables agile development team to easily test and tune the applications. Stomrunner Load is very simple, and it allow to easily design load test on cloud and identify the performance issues quickly.

You can use your Loadrunner scripts with Stomrunner Load. All you need to do is upload you scripts to Stomrunner Load.

You can try HP Stomrunner Load here..

Check out this video for more on HP Stomrunner Load.



Read More

SAP extends its reseller agreement with HP to sell Loadrunner

//
HP has recently signed a reseller agreement with SAP. On this agreement, SAP will resell all the HP Software testing products such as Loadrunner, UFT etc. SAP is offering all the HP solution under Sap Fortify by HP to identify the bugs/defects/issues that occur during development.

SAP believes that a company will suffer huge losses if there are any business interruptions, security and performance issues during production and it will also affect the brand image of the company. The SAP Fortify by HP products will help to detect the issues before the application goes to production and helps to fix the issues.

Sap Fortify by HP will help in the following areas:

  • It will help to identify and fix the software defects.
  • It will help to lower the cost of development of software.
  • It will fix the performance issues before application goes to the production.
  • It will help to fix all the security issues in the application.

Read More

Web Controller in Loadrunner - A New Feature From Loadrunner 12.02

//
HP has released a new feature called the Web Controller. The name itself indicates that now you can control your load test from the browser interface and can be accessed through a browser. Now, you can run your load tests from anywhere. It is just like a small HP Performance Center.

You can see some of the screenshots of the Loadrunner Web Controller here.

Web Controller 1

Web Controller 2

Web Controller 3



What are you waiting for... Let's go ahead and install the new version of Loadrunner.

Please note that this has been added in Loadrunner 12.02 as tech preview and not a fully functional component. You can give your feedback in this link.

For more Loadrunner Tutorials

Read More

Converting Fiddler Session to VuGen Script in Loadrunner

//
In this tutorial, I will show you how to convert Fiddler session to Loadrunner Script.

Download the fiddler from the following website: http://www.telerik.com/fiddler. You can also download chrome extension of fiddler here.

Fiddler Download


Fiddler Download 2
Fiddler Download 2

Click on Install, once you download the Fiddler, as shown in the following images.

Fiddler Installation 1

Fiddler Installation 2


Fiddler Installation 3

Fiddler Installation 4

Once you install the Fiddler go to Start -> Programs and Search for Fiddler OR go to Internet explorer and click on tools and click on Fiddler.

Fiddler Launch

Once you launch the fidller, click on WinConfig and Click on exempt all and click on save changes.

WinConfig Settings

Now, open the application in the internet explorer. The events will be automatically recorded in fiddler as shown in the following image.

Recorded Events

Once the navigation has been completed, click on save sessions.

Save All Sessions

The file will be saved with .SAZ extension.

Open the vugen, click on File Open->script/solution and select all files as shown in the image. and select the .saz file. 
All Files


The vugen will automatically converts .SAZ file to Loadrunner script.

Generating Vugen Script


Generating Vugen Script 2

Generating Vugen Script 3
Read More

Loadrunner 12.02 Protocol Updates and Changes

//
HP has released the new version of Loadrunner 12.02. HP team has changed a lot of changes in Loadrunner 12.02. The following protocols are updated with more user friendly features.

Citrix ICA:

Enhanced interactive logging: It will help you to go through the logs easily and help you find the issues quickly.

Text trapping: A new feature has been added for Java application in Citrix Agent.
Letest Version: Now, you can use the latest version of XenDesktop and NetScaler Access Gateway.

Web - HTTP/HTML:

There are many Features add to Web protocol

It supports the latest of Internet explorer, Chrome and Firefox.
New traffic filtering recording option.
GWT 2.5 and 2.5.1 Support
TLS1.1 and TLS1.2 Support

RTE Protocol: Now RTE protocol supports the latest of Windows 8.1, Windows 2012 R2 and IPV6 Support.

Oracle - Web: Now Oracle Web protocol has enhanced correlation rules for Oracle Fusion and Oracle ADF.

Flex: The new Flex protocol supports the latest of Flex and GraniteDS.

Web Services: Now, Web Services protocol supports SOAP 1.2.

TruClient:

Now, TrueClient protocol has come up with the better object identification method. This helps good control over scripting when compared with the previous of Loadrunner.

HP has provided step-by-step examples on how use object identification methods in the Loadrunner documentation. This will definitely will be a great feature in this version.

Now, you have the option to import and export between the TruClient scripts. This will help scripting easy.

Read More

Siebel Web Protocol in Loadrunner - Challenging protocol in Loadrunner

//
Siebel Customer Relationship Management (CRM) is one of the top CRM applications, which help organizations to achieve maximum sales, marketing, customer service etc.

Siebel protocol is similar to Web (HTTP/HTML) protocol, but has made lot of changes to the settings to work with Siebel Web Protocol. It is one of the complex protocols where we face lot of issues during scripting, but HP has provided predefined correlation rules, which will help you the scripting easy.

Before recording make sure you set the following recording options:

  1. Go to Recording Options (CTRL+F7) -> Recording -> HTML-based script -> HTML Advanced and set “A script containing explicit URLs only (e.g. web_url, web_sumit_data)”.
    Siebel Recording Options 1
    Siebel Recording Options 1
  2. In, “Non HTML-generated elements (e.g. JavaScript, VBScript, ActiveX, Applets)” set “Do not Record”.
  3. Go to HTTP Properties -> Advanced node and set “clear the Reset context for each action check box”. 
    Siebel Recording Options 2
    Siebel Recording Options 2

Set the following run-time settings after recording:

Go to Run-time settings -> Browser -> Browser Emulation and set “simulate new user on each iteration”.

Siebel Runtime Settings
Siebel Runtime Settings
Some of the Common Errors in Siebel Protocol:

Back or Refresh Error:

We get error, when we pass the wrong TimeStamp or SWEC Count. For every request, the SWEC count will increase, if we pass the wrong SWEC, it will fail by throwing “Back or Refresh Error”.

Server Busy Error:

The following error is one of the common error which we get frequently during scripting and execution.

"The server you are trying to access is either busy or experiencing difficulties. Please close the Web browser, open a new browser window, and try logging in again.[01:55:21] "

The main cause for this the sessions might be less, we should ask for Siebel administrator to increase the sessions in the server.

The following commands will be useful to increase the sessions in the server:

srvrmgr:dev_srv1> CHANGE PARAM MAXMTsERVERS=4 FOR COMP eautoObjMgr_DB
Command completed successfully.

srvrmgr:dev_srv1> CHANGE PARAM MAXTASKS=400 FOR COMP eautoObjMgr_DB
Command completed successfully.

Read More

Web_add_header and web_add_auto_header usage in Loadrunner

//
Web_add_header:

Web_add_header function is used to add header only to HTTP request that follows it.

Read More

Jmeter Tutorials - One Page for All Your Jmeter Queries

//
Jmeter - A performance testing open source tool with huge online support. Jmeter is evolving from day to day and it has occupied almost 40 percent of the market share. Jmeter is developed in Java and has a lot of advantages when compare with any other performance testing tools.

We can use Jmeter for different types of Testing. 
Performance Testing (Mainly), Load Testing, Volume Testing, Stress Testing, Functional Testing and Regression Testing.

Some of the advantages of Jmeter are:

  • Jmeter has many features firstly unlimited virtual users that we can simulate.
  • Open source tool with large online community.
  • We can integrate Jmeter with selenium and we can run selenium functional testing scripts with Jmeter.
  • We can integrate different Jmeter plugins with Jmeter according to our requirement and we can also develop plugins in Java for Jmeter.
  • Jmeter supports multiple protocols Web (HTTP/HTML), JDBC, FTP, JMS and LDAP.

How to install Jmeter in Your PC:

Installing of Jmeter is very simple. Before installing of Jmeter you need to install JVM 6 or higher. You can download the latest jdk from this link 

You can download Jmeter binaries from the following website in the .zip format and extract in any of the folder and go to the bin folder and click on the icon with name "ApacheJmeter" which is an executable jar file as shown in the following image.


Once you click on the obove Icon the Jmeter application will be launched as shown in the following image.

Jmeter has many options we cannot learn all these options at one go. As you work on this tool you will learn them slowly. We will discuss some of the main options and you can explore additional options by yourself.

Here I am listing all the options that Jmeter has

Test Plan 

Threads (Users)
Thread Group
Setup Thread Group
Teardown Thread Group

Jmeter PPTs That Might Help You:

Read More