How to record Ajax TrueClient script in Load Runner?

Ajax TrueClient Scripting

TrueClient Protocol or TrueClient Scripting is getting more popularized in the recent times. It will give you the client side metrics like how long the page took to load the images. So customer are really intersected to know the time taken to render the application.  Therefore the TrueClient scripting or protocol is getting more important and popularized.

How to Record Ajax TrueClient Script in Load Runner

1: Launch  the Vugen Application.

2: Select a new script from the Vugen and then TrueClient - Web Protocol from the protocol windows as show below.

3: Once the TrueClient Script window is displayed. Navigate to Record -> Develop Script or Click on Develop Script from the shortcut displayed. Develop script mode will be launched. (Note : Recording, Adding Transactions and parameterization or any action on the script need to be done in Develop mode only. Therefore you cannot edit or do any change in the view mode in Ajax TrueClient). Develop mode consist of two panel,

  • First panel is TrueClient panel where you will be recording step of the user action and modification of script is done in this panel.
  • Second Panel which is a preview window, where application will be displayed and the action are performed. It is a same as the google browser where you can perform the actions.

4 : Click on record option from the TrueClient panel and paste the URL of the application in the browser(Second panel).

5 : After completing the recording of the user action. Stop button in the recording section should be clicked in the TrueClient Panel

6 : Run the script and validate the script if the script have successfully completed. Once running the script completed you will seen Replay Successful and importantly all the step will have tick mark beside it.


How to record VUgen web script(HTTP/HTML)?

How to record VUgen web script(HTTP/HTML)?

Below are steps used for recording the web scripts

Launch HPE VUgen application.

Vugen Page

Once the application is launched, click on File ->New Script/Solution.

Create New Script Window will  be displayed. Most important section needed be selected/updated.

  • Protocol:-

    • You need to select single or multiple protocol for your recording the application. For example :- If you are using multiple protocols like RDP for logging in and browser for recording end user action. Then you need to select multiple protocols. But most of the application we will be going with the single protocols.
    • Select Web - HTTP/HTML Protocol from the window.
  • Script Name:-

    • Enter the appropriate name of the script in the Script Name Section.
  • Location:-

    • Select the directory where you need to select the script in the script directory section.
  •  Click on Create Button

Vugen Recording Window

Click on Recording Option->Recording from the menu bar.Recording Option Window will be displayed with the following sections.

  • Action Selection:-

    • Select the action(Section) where you want the script to be recorded when you start recording.
      • Vuser_int where you will record the action such as login or one time action.
      • Action, its the important section where main end user action will be recorded. And also it will be used to iteration the functionality.
      • Vuser_end where you will record the logout part.
  • Recording Mode:-

    • Record; If you are recording the web application then you need to select the Web Browser. And if you need to the record the desktop application then select Desktop application.
    • Application, Select the web browser in which you will recording the application.
    • URL address : Provide the application path or the web url of the application.
  • Setting:-

    • Check the box when you want to start the recording in the Start Recording option.
    • Provide the directory where your script need be working.
  • Click on start Recording.

Vugen Recording Section


Recording window will be opened. Where you can enter the transaction names, comments during the Recording phase. And even here you can change the action where scripts need to be recorded.

Vugen Recording Secition

Click on Stop Button, the script will be recorded and displayed as shown below. Script recording is completed you can start the modularisation of scripts.

Write your queries in the comment section will get back to you as soon as possible.