Share this page

# Regenerate a Vuser script

If you need to revert back to the originally recorded script, you can regenerate the script. This is ideal for debugging or fixing a corrupted script.

When you regenerate a script, VuGen removes all of the manually added enhancements to the recorded actions in the script. If you added parameters to your script, VuGen restores the original values. The parameter list, however, is not deleted; you can reinsert parameters that you created earlier. Note that regeneration only cleans up the recorded actions, but not those that were manually added.

Note: If your script was imported from a .zip archive file, make sure that it was archived with all files. If it was saved with the runtime files only, you will not be able to regenerate the script to its original recorded state. For details, see Zip Vuser scripts.

To regenerate a Vuser script:

1. Initialize the regeneration.

   Select Record > Regenerate Script. A warning is displayed indicating that all manual changes will be overwritten.

2. (Optional) Modify regeneration options.

   Click Options to open the Regenerate Options dialog box.

   - In a multiple protocol script, use the General > Protocols node to specify the protocols you want to record when the script is regenerated. For user interface details, see General > Protocol recording options.
   - To change the Script options, select the General > Script node and select or clear the appropriate check box. For user interface details, see General > Script recording options.

   Click OK to close the Regenerate Options dialog box.

3. Indicate whether to include imported actions.

   If your script contains actions imported from another script, the dialog box contains an option to delete imported actions during the regeneration.

   If you chose to regenerate the script in a different language (using the General > Script options in the previous step), then non-recorded actions are automatically deleted. Non-recorded actions include imported, renamed, or manually added actions.

Note: If a Java over HTTP Vuser script encounters errors during the code generation phase, the errors are displayed in the Error pane. The Error pane displays details about each error, as well as recommended actions. Follow the recommended actions and regenerate the script.

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: