How to Convert a LoadRunner Script to ZebraTester

LoadRunner Conversion to ZebraTester

You can import any LoadRunner script (*.c file) or multiple LoadRunner scripts in a ZIP file into ZebraTester by performing the following steps:

  1. Open "Project Navigator"

  2. Upload the LoadRunner script

  3. Click on the LoadRunner script file icon

  4. Click on "yes" when you are asked to convert the LoadRunner script file to a ZebraTester session file (*.prxdat)

  5. Click on the converted ZebraTester session file

  6. Click on the "Refresh Display" icon in the Main Menu


Introduction

In ZebraTester we can convert a recorded LoadRunner script to the ZebraTester recorded session.

The conversion will handle

  • Automatic Page break creation (“Think time” in LoadRunner)

  • Transaction creation( “Transaction” in LoadRunner)

  • Content verification (“Text check” in LoadRunner)

  • Handling of extraction and assigning of dynamic variables (“Correlation” in LoadRunner)

  • External parameters

  • Weblinks

  • Redirection

  • Loops

The conversion supports the following LoadRunner criteria

  • Web HTTP/HTML recordings (Also REST/ SOAP)

  • Both HTML based and URL based scripts.

  • Script language C

  • Both Single and Multiple script files(like vuser_init, Actions, and vuser_end)

  • It will work in both new and older versions  ( 11.x and 12.x) 

The conversion does not currently support the following LoadRunner features

  • web_reg_async_attributes

  • Include other files

  • Preprocessor conditionals are not supported like #if defined

  • Dynamic left and right boundaries for extraction

Conversion supports the following types of extractors

  • Left and Right Boundary Based Variable Extractor

  • RegExp Based Variable Extractor

  • XPath Based Variable Extractor

  • Form-based Variable Extractor 

There are 2 ways of conversions supported by ZebraTester

  1. Uploading a single file (.c file) or multiple files (.zip file) via the GUI

  2. Calling the standalone LRToProxyDataDump class with program arguments (pass –help for getting the argument details)

Example LoadRunner Conversion via a ZIP file

Step

Screenshot

Step

Screenshot

Upload LoadRunner recorded files

  1. Upload a LoadRunner File

    1. In this example, the LoadRunner Scripts were organized into a separate subdirectory, “LRscripts.”

  2. Click the Conversion Icon

Conversion Started

You will be prompted to confirm/stop the conversion:

Conversion Done

Once the conversion is finished, you will see a new file with a PRXDAT file extension.

 

Converted Session

Once the LoadRunner session is converted, click on it on the Project Navigator so it can be displayed in the Main Menu: 

 

Var Extractors & Assigners

Clicking on the line Hyperlinks allows you to access the Request and Response Details and Var Handler

It’s the Var Handler where you can assign and extract Variables from the recorded responses. Please see the Session Parameters page for more information on the Var Handler.

Can't find what you're looking for? Send an E-mail to support@apica.io