Share this page

# Record a Windows Sockets script

This task describes optional steps that you can perform when recording using Windows Sockets.

For details on starting a recording session, see Record a Vuser script.

To do before you start recording:

1. After creating a Winsock script, select Record > Recording Options and click the WinSock node.

2. In the EBCDIC section, select a translation table. If your data is in ASCII format, select the None option. Otherwise VuGen will convert the ASCII data. For details, see Translation tables.

3. In the Exclude Settings section, add any non-relevant sockets to the list. You should exclude hosts and ports that do not influence the server load under test, similar to the local host and the DNS port (53), which are excluded by default.

   To exclude the entries from the recording, but include them in the log, clear the Do not include excluded sockets in log option.

   For user interface details, see WinSock recording options.

4. Indicate a think time threshold. If VuGen detects a pause in action less than the threshold time, it will not generate a Think Time step/ lr_think_time function. For details, see WinSock recording options.

To do after recording and saving the script:

1. Replace recorded values with parameters using the shortcut menu. For more information, see Parameterize scripts.

2. If you need to regenerate the script, for example if you want to include an excluded host:port, or if the translation was not correct:

   - Select Record > Regenerate Script.
   - Click the Options link.
   - Under General, select Protocols, and then under Active Protocols, ensure that the Windows Sockets check box is selected.
   - Under Sockets, select Winsock, and then modify the settings.

   Note: Options for script regeneration are available for multi-protocol scripts only.

Back to top

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 All View Local Help Center View Online Help Center Version: