Share this page

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

Script development with TruClient is fast, but fewer Vusers can be run with the TruClient web protocols than with the 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 - Web or TruClient 2.0 - Web, and then converting it to a Web - HTTP/HTML script.

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

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

1. Create a TruClient - Web or TruClient 2.0 Web script.

   To convert an existing TruClient script, open the 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.

- Conversion of TruClient 2.0 scripts to Web - HTTP/HTML is not supported for scripts recorded using Firefox.

## See also

- Web - HTTP/HTML protocol
- Working with TruClient
- Working with TruClient 2.0

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 26.1-26.3 All View Local Help Center View Online Help Center Version: