Convert TruClient - Web scripts to Web - HTTP/HTML scripts
Script development with TruClient is fast, but more Vusers can be run with VuGen Web - HTTP/HTML than with TruClient. You can combine the advantage of fast script development, and the advantage of running many Vusers, by developing your web script with TruClient and then converting it to a Web - HTTP/HTML script.
For details on recording a TruClient - Web script, see the TruClient Help Center (select the relevant version).
Note: During the conversion, comments and APIs are added to the Web - HTTP/HTML protocol script that document the conversion process.
To convert a TruClient - Web script to a Web - HTTP/HTML script:
-
With the TruClient script open in VuGen, select Tools > Convert TruClient Scripts > Convert to Web HTTP/HTML.
Tip: Make sure you have closed the TruClient Side Bar.
-
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.
-
-
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.
-
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.
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.
Known issues
Conversion of TruClient scripts to Web - HTTP/HTML scripts does not support converting steps that call 127.0.0.1 (localhost).
See also: