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)
Figure:01
2. By selecting the ‘New Project’ link, you can start a new project.
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.
Figure:03
4. The saving project pop-up window will appear.
Figure:04
5. If this is your first project, a “Quick Start” window will open to help you get started.
Figure:05
6. Design’ Component -> ‘User Paths’ Tab -> ‘User Paths’ Element -> To record the workflow, select ‘Start Recording’.
Figure:06
7. Opens the “Start Recording” dialog box.
- User path
- Add the required workflow name in the Name box of the “General” tab’s User Path.
- Choose the initiating or actions container (‘Record in’) where the user actions will be recorded.
- Website
- To record the workflow, choose the desired client (browser). The list displays every browser that is installed on your computer.
- 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.
- SAP GUI:
- SAP recording can be turned on or off.
- Citrix
- Enable or disable Citrix recording
- Set the given options as per the requirement
8.’OK’ should be clicked.
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
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
- Just click ‘Next>’ after selecting the necessary hosts (AUT).
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”
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>β
Figure:11
- Click βFinishβ
Figure:12
- You can now see the performance test script that was recorded, complete with Init, Actions, and End containers.
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.