A script (or web test) is a sequence of user actions in the tested web application. Usually, a script corresponds to some business transaction on the website. For example, a script for an online shop can include the following steps:
Each virtual user in LoadNinja simulates this or that script, that is, it simulates a sequence of user actions. Load tests that you create in LoadNinja run dozens and hundreds of virtual users, that is, they simulate dozens and hundreds of scripts working with the tested web application simultaneously. This approach helps you simulate the load that hundreds of concurrent real users produce on your tested web application. This is contrary to some other load testing tools that simulate individual requests or go through all the links on your website without simulating a specific sequence of user actions.
To create scripts, record real user actions in the tested web applications. See Record Script for details.
A single project can contain any number of scripts.
To view a list of scripts in a project, go to Projects, click your project on the list, and then switch to the Web Tests tab.
When you start recording a script or open an existing script, the script recorder opens.
A script consists of steps, which consist of events. Steps usually correspond to individual web pages in an application, and events correspond to user actions such as link clicks or keyboard input.
Most test events have the Think Time command before them. Think time indicates pauses between user actions, which makes the test more realistic. You can override the recorded think time in your test settings if needed.
You can view the script as a list of events or as a Mocha script.
To learn more about editing scripts, see:
You can attach a databank to your script to parameterize the events using the values from the databank. This way, you can repeat the test several times using different sets of data. For details, see Using Databanks in LoadNinja Tests.