Thursday, 15 May 2014

Protocol Advisor in Load Runner

      VuGen is one of the components of LoadRunner. It stands for Virtual User Generator. This component is used for creating, modifying and debugging the script. User can script using component in TSL scripting language. Load runner provides various predefined functions which can use to create script.

     There are various which can be used which creating script. The first step which required creating a script for any application in VuGen is Protocol information.

Protocol: A means of communication in application. A set of rules followed by application for communication.


Depending on protocol information, you can decide that LoadRunner is suitable tool or not for your application.
 
 LoadRunner supports various types of protocols:

Microsoft .NET Protocol
Java Protocol
Java Protocol - Manually Programming Scripts
Enterprise Java Beans (EJB) Protocol
Flex Protocol
AJAX Protocol
AMF Protocol
Citrix Protocol
RDP Protocol
Click and Script Protocols
Web Protocols
Oracle NCA Protocol
SAP Protocols
Java over HTTP Protocol
RTE Protocol
Windows Sockets Protocol
Mailing Service Protocols
Tuxedo Protocols
Siebel Web Protocol
COM Protocol
Database Protocols
LDAP Protocol
Wireless Protocols
SilverLight Protocol
Web Services - Adding Script Content
Web Services - Managing Services
Web Services - Security
Web Services - Preparing Scripts for Replay
Web Services - Service Emulation

     If your application is using any of above mentioned protocol then you can use load runner tool for performance testing.

     In case if you dont know which protocol should be used for your application,there is one feature in VuGen i.e., Protocol adviser.

    Protocol Adviser is one feature which help us to find most appropriate protocol used in application. It will display a list of protocols detected in your application.

How to use Protocol Adviser:

Step 1:
Navigate to “File > Protocol Advisor > Analyze Application



Application type: where you can choose that your application is win32 or MS internet explorer one

Step 2: Click on “OK” and it start analyze your application. It will also display a small popup which will provide option stop analysis process.
Step 3: Click on “Stop”

Step 4: It will give you the result of analysis and display a protocol or a list of protocols which you can use to create your script.

    In case of multiple protocols detection, it also suggest you about combinations of protocol which can be used in “Multiple protocols" mode.

No comments:

Post a Comment