A web test (or script) is a sequence of user actions in the tested web application. Usually, a test corresponds to some business transaction on the website. For example, a web test for an online shop can include the following steps:
Each virtual user in LoadNinja simulates this or that web test, 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 web tests 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 web tests, record real user actions in the tested web applications. See Record Web Test for details.
A single project can contain any number of web tests.
To view a list of web tests 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 test or open an existing test, the web test editor opens.
A web test 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 test as a list of events or as a Mocha script. If you edit the Mocha script, LoadNinja will update the test accordingly (if possible).
To learn more about editing web tests, see:
You can attach a databank to your test 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.