Script Recording

NeoLoad – Test Script Recording

A popular performance testing tool is NeoLoad. You learned about the functional and auxiliary characteristics of this tool in the preceding blog. This blog outlines a step-by-step procedure for recording test scripts using the NeoLoad Tool.

To record a test script using NeoLoad, follow these steps:

1. To launch the NeoLoad GUI (Graphical User Interface)

C:\Users\HP\AppData\Local\Temp\ksohtml4000\wps36.png

                                              Figure:01

2. By selecting the ‘New Project’ link, you can start a new project.

C:\Users\HP\AppData\Local\Temp\ksohtml4000\wps37.png

                                                                                                      Figure:02

3. To create a new project in NeoLoad and specify the project name and directory, follow these steps:

  • Launch NeoLoad: Start by launching the NeoLoad tool on your computer.
  • Access the Home Screen: Once NeoLoad is launched, you will be directed to the home screen of the application.
  • Click on the “New Project” Link: On the home screen, locate and click on the “New Project” link. This link is typically displayed prominently on the home screen or within a menu bar.
  • Provide Project Details: After clicking the “New Project” link, a dialog box or window will appear, prompting you to provide project details.
  • Enter Project Name: In the dialog box, enter a suitable project name in the designated field. Choose a name that accurately reflects the purpose or nature of the project.
  • Browse Directory: Next, browse the directory where you want to save the test script associated with the project. You can either select a specific directory by clicking the “Browse” button or use the default directory path suggested by NeoLoad.
  • Share Project (Optional): If you are working in a shared mode with your team and want to collaborate on the project, you can use the “Share Project” option. This option is typically found under the “Collaboration” section within the project creation dialog box.
  • Click “Finish”: Once you have entered the project name, chosen the directory, and configured any additional settings, click the “Finish” button to create the new project.
C:\Users\HP\AppData\Local\Temp\ksohtml4000\wps38.png

                                                                                                      Figure:03

4. The saving project pop-up window will appear.

C:\Users\HP\AppData\Local\Temp\ksohtml4000\wps39.png

                                                                             Figure:04

5. If this is your first project, a “Quick Start” window will open to help you get started.

C:\Users\HP\AppData\Local\Temp\ksohtml4000\wps40.png

                                                                             Figure:05

6. Design’ Component -> ‘User Paths’ Tab -> ‘User Paths’ Element -> To record the workflow, select ‘Start Recording’.

C:\Users\HP\AppData\Local\Temp\ksohtml4000\wps41.png

                                                                              Figure:06

7. Opens the “Start Recording” dialog box.

  1. User path
    1. Add the required workflow name in the Name box of the “General” tab’s User Path.
    2. Choose the initiating or actions container (‘Record in’) where the user actions will be recorded.
  2. Website
    1. To record the workflow, choose the desired client (browser). The list displays every browser that is installed on your computer.
    2. You have the following choices to mimic the actual browser. Set these parameters in accordance with your needs:
      • Delete cookies
      • Clear cache
      • Identify as – To set the version of the browser.
  3. SAP GUI:
    1. SAP recording can be turned on or off.
  4. Citrix
    1. Enable or disable Citrix recording
    2. Set the given options as per the requirement

8.’OK’ should be clicked.

C:\Users\HP\AppData\Local\Temp\ksohtml4000\wps42.png

                                                                                      Figure:07

9. The following settings will be available in the recording bar.

  • Recording to begin (by default)
  • The recording is paused
  • Turn off the recording
  • Record in (Select the container)
  • Add the name of the transaction or fetch it from earlier user paths or scripts, if appropriate.
  • Rendezvous Point
  • Help
C:\Users\HP\AppData\Local\Temp\ksohtml4000\wps43.png

10. Click the (c)”Stop the recording” button (the square button) when the user activities have been recorded.

11. It will launch the “Post-recording Wizard” window.

12. Hosting Choice

  1. Just click ‘Next>’ after selecting the necessary hosts (AUT).
C:\Users\HP\AppData\Local\Temp\ksohtml4000\wps44.png

                                        Figure:09

Dynamic Parameters

  • NeoLoad’s version of auto-correlation has a feature called “Search for Dynamic Parameters.” Through the use of general dynamic search parameters, this will look for and automatically correlate any potential patterns from the Framework Rules.
  • It is advised to skip the autocorrelation stage if the record is new by choosing the “Skip this step” option.
  • Select “Next”
C:\Users\HP\AppData\Local\Temp\ksohtml4000\wps45.png

                                      Figure:10

Think Time Parameter

  • Use recorded think times: To set the think time as they are recorded. You can also change the think time later.
  • Overwrite think times with … ms: To change the recorded think time as per the requirement.
  • Click β€˜Next>’
C:\Users\HP\AppData\Local\Temp\ksohtml4000\wps46.png

                          Figure:11

  • Click β€˜Finish’
C:\Users\HP\AppData\Local\Temp\ksohtml4000\wps47.png

                 Figure:12

  • You can now see the performance test script that was recorded, complete with Init, Actions, and End containers.
C:\Users\HP\AppData\Local\Temp\ksohtml4000\wps48.png

                                      Figure:13

Conclusion

NeoLoad provides a comprehensive set of features and functionalities for test script recording. By following the step-by-step guide, users can efficiently record the workflow of their applications and simulate real user interactions. The “Start Recording” dialog box allows users to specify the user path name, choose the container for recording, select the desired browser or application type, and set options for simulating browser behavior.

With options such as deleting cookies, clearing cache, and identifying as a specific browser version, NeoLoad enables users to closely mimic real-world scenarios during the recording process. Additionally, the tool offers specific features for SAP GUI and Citrix app Event recording, allowing users to enable or disable these features as needed.

Scroll to Top