Create a Vuser Script Replay a Vuser Script Use Correlation Studio Debug a Vuser Script Insert Transactions into a Vuser Script Insert Parameters into a Vuser Script View Replay Summary Tab

How to Record a Vuser Script

  1. Create a new script or open an existing script. For details, see Creating or Opening Vuser Scripts.

  2. (Recommended) Modify the Windows DEP settings.

    1. Open Start > Control Panel > System.

    2. In the Advanced tab, click Performance settings.

    3. In the Performance Options Data Execution Prevention tab, select the first option, DEP for essential services only.

    4. If you cannot change this option, click Add. Browse to the client program, for example IEXPLORE.EXE.

    5. If neither of these options are possible, try to disable DEP completely.

      1. Open a command prompt.

      2. Run the following command: bcdedit.exe /set {current} nx AlwaysOff

      3. Reboot the machine

      4. Verify that the settings took effect by running the following at the command line: BCDEdit /enum

      5. Verify that nx   AlwaysOff.

  3. (Optional) Configure the recording options.

    The recording options affect the way a Vuser script is recorded and how it is generated after the recording. For details, see Recording Options.

    Tip: If the business process you want to record contains asynchronous push communication, select Recording Options > HTTP > Advanced > Use streaming mode when recording with the LoadRunner Proxy.

    If you are not able to successfully record a script with VuGen, select Recording Options > HTTP > Advanced Node and check the Use LR Proxy to record a local application option. Then rerecord your business process.

  4. Start the recording session.

    To start recording, click the Record button on the VuGen toolbar, make the relevant selections in the Start Recording dialog box, and click Start Recording. VuGen's floating toolbar appears, VuGen opens your application and begins recording your actions.

  5. Perform business processes on your application.

    Perform the desired business processes that you wish to record. The floating toolbar allows you to insert transactions, rendezvous points, and comments. You can also use the floating toolbar to specify into which section of the script to record. For user interface details, see Floating Recording Toolbar.

    Click the Stop button on the floating toolbar when you are finished recording.

    Note: To cancel the recording session, click the Cancel Recording button on the floating toolbar. When you cancel a recording, VuGen removes all of the code that was added to the script during the current recording session, thereby restoring the script to its status before the current recording session. For details on enabling/disabling the Cancel Recording button, see Scripting Options Tab.

Back to top