Convert a TruClient - Web script to Web - HTTP/HTML format

Script development with TruClient is fast, but fewer Vusers can be run with TruClient - Web protocol than with Web - HTTP/HTML protocol. You can combine the advantage of fast script development and the advantage of running many Vusers by developing your script with TruClient and then converting it to a Web - HTTP/HTML script.

You must understand Web - HTTP/HTML protocol to successfully replay the script.

To convert a TruClient - Web script to a Web - HTTP/HTML script:

  1. Create a TruClient - Web script. For details, see Record a TruClient script.

    To convert an existing TruClient - Web script, open the TruClient script in VuGen.

  2. Save the script and close any open TruClient windows.
  3. On the VuGen toolbar, click the Convert button.
  4. In the Convert TruClient script to Web - HTTP/HTML script dialog box:

    • Define the name and location for the converted script.

    • Click Options if you want to change any recording options before the conversion. For details, see Recording options.

  5. Click Convert.

    VuGen opens the web browser and replays the recorded TruClient script, while converting the script.

    The converted Web - HTTP/HTML script and the Recording Report are then displayed in new tabs in the VuGen Editor.

  6. After the script is generated, review the script, keeping in mind that the Web HTTP/HTML protocol records on the transport level. For example, you may need to address correlation or parameter issues in your converted script.

    To help you understand the new script, during the conversion, comments and APIs are added to the Web - HTTP/HTML protocol script that document the conversion process.

When you add a converted script to a scenario, VuGen offers to create a new Vuser group for the script, provided that the original TruClient script is in the specified path. Having a separate group enables you to view its results separately.

Limitations

Conversion of TruClient scripts to Web HTTP/HTML scripts does not support converting steps that call 127.0.0.1 (localhost) address.

Back to top

See also: