Design a test scenario

Designing a test scenario consists in recording a Web browsing sequence. NeoLoad keeps track of every browsing action to create a simulated user: It is the Virtual User. The Virtual User helps generate a behavior pattern, called User Path. When running a test, NeoLoad relies on the User Path to create duplicates—customized with variables—of the simulated user.

A test scenario is easy and quick to design, within a test project. The design process includes the following steps:

Warning: Before recording the scenario, it is recommended to close all HTTP client applications (other Web sessions, Twitter client, and so on). NeoLoad records all the HTTP flows going through the machine. It is necessary to close HTTP clients or define exclusion rules in NeoLoad to avoid unwanted requests in the recording.

  1. In NeoLoad, choose File > New to create a new test project.
  2. In the project, click Start Recording. In the Recording dialog box, enter the name of the User Path and specify the conditions of the browsing sequence you are about to capture.
  3. In the displayed Web browser, enter the URL of the test site. Browse as usual. NeoLoad records all your actions.
  4. When recording (or after), you can create Transactions to organize the visited pages and structure your scenario as business transactions. Subsequently you can configure them for reuse in other scenarios.
  5. Once you are done with the browsing sequence, click Stop Recording. The Post-recording Wizard pops up. Follow the wizard steps to configure your User Path.
  6. Back in the NeoLoad Controller, specify the running parameters of the new User Path in the Runtime Parameters area.
  7. To check the User Path — and correct errors or unexpected behavior —, choose Run > Start Checking > Start Checking. Check the requests and the responses. Check every potential error raised by NeoLoad.
  8. Back in the NeoLoad Controller, you choose the Populations tab to manager User Path groups with the wizard.
  9. Choose the Monitors tab to define the monitors of the servers hosting the tested application.

For more information about: