NeoLoad – Test Script Recording

NeoLoad is a well-known performance testing tool. In the previous article, you got to know about the functional and optional features of this tool. This article describes the step-by-step guide for the test script recording through NeoLoad Tool.

Steps for test script recording through NeoLoad

  1. Launch NeoLoad GUI
NeoLoad - Performance Test Script Recording - Launch
Figure 01: NeoLoad Launch Screen
  1. Create a new project, by clicking the ‘New Project’ link.
Figure 02
  1. Enter the project name and browse the directory where you want to save the test script. You can also keep the default directory path suggested by NeoLoad. If you work in a shared mode with your team then use the ‘Share Project’ option under the ‘Collaboration’ section. Click ‘Finish’.
NeoLoad - Test Script Recording - New project
Figure 03: New Project
  1. Saving project pop-up will appear.
NeoLoad - Test Script Recording - Saving project
Figure 04
  1. If you are launching the first project then ‘Quick Start’ window will be appeared to guide you.
NeoLoad - Test Script Recording - Quick Start
Figure 05: Quick Start
  1. Select ‘Design’ Component -> ‘User Paths’ Tab -> ‘User Paths’ Element -> Click ‘Start Recording’ to record the workflow.
NeoLoad - Test Script Recording
Figure 06
  1. ‘Start Recording’ dialogue box opens. Under the ‘General’ tab
    1. User Path
      1. Add the desired name of the workflow in the Name field.
      2. In ‘Record in’, select the container (Init / Actions) in which the User Actions will be recorded.
    2. Web
      1. Select the desired client (browser) to record the workflow. The list shows all the available browsers in your system.
      2. To simulate the real browser, you have the following options. Set these options as per your requirement:
        1. Delete cookies
        2. Clear cache
        3. Identify as – To set the version of the browser.
    3. SAP GUI
      1. Enable or disable SAP recording
    4. Citrix
      1. Enable or disable Citrix recording
      2. Set the given options as per requirement
  2. Click ‘OK’
NeoLoad - Test Script Recording - Start Recording
Figure 07
  1. The recording bar will appear with the following options.
    1. Start Recording (Default)
    2. Pause the recording
    3. Stop the recording
    4. Record in (Select the container)
    5. Transaction – Add the name of the transaction or fetch from the previous user paths or script.
    6. Rendezvous Point
    7. Help
NeoLoad - Test Script Recording - Recording Bar
Figure 08
  1. After recording the user actions, click ‘Stop the recording’ button (Square Button).
  2. ‘Post-recording Wizard’ window will open.
  3. Host Selection
    1. Select only the required hosts (AUT) and click ‘Next>’
Figure 09
  1. Dynamic Parameters
    1. ‘Search for Dynamic Parameters’ is the feature of auto-correlation in NeoLoad. This will search and auto-correlates possible pattern from the Framework Rules and by conducting generic dynamic parameters search.
    2. If it is a fresh record then it is recommended to skip the autocorrelation step by selecting ‘Skip this step’ option.
    3. Click ‘Next>’
Figure 10
  1. Think Time Parameter
    1. Use recorded think times: To set the think time as they are recorded. You can also change the think time later.
    2. Overwrite think times with … ms: To change the recorded think time as per the requirement.
    3. Click ‘Next>’
Figure 11
  1. Click ‘Finish’
Figure 12
  1. Now, you can see the recorded performance test script with Init, Actions and End containers.
Figure 13

Leave a Comment