Applies to LoadNinja 1.0, last modified on November 19, 2019

This section describes various use cases and best practices for recording scripts with LoadNinja.

Video tutorial

 

Wait until the page fully loads

To avoid issues during the playback, make sure the script recorder has fully loaded the page before interacting with elements on this page. Keep this in mind when starting recording and navigating between pages during testing.

Recording interactions with specific elements

LoadNinja supports recording of various interactions with websites. However, some elements require that you perform additional actions for correct recording.

Buttons

When recording interactions with a button, click it as close to its center as possible. This will prevent unwanted issues during the playback.

Form fields

When recording interactions with form fields — especially with long ones — place the mouse pointer closer to the starting zone of the needed form field. Usually, it is in the left part of the form field.

Tip: To find the boundaries of a form field’s starting zone, move the mouse pointer over the field and wait for the pointer to change its shape.

Performing data-driven scripts

LoadNinja supports parameterized data-driven testing, with .csv and .txt files used as a data source. Record scripts that require varying input, parameterize URLs, or get wider coverage on your website performance.

To learn how to use data sources in your tests, see Using Databanks in LoadNinja Tests.

See Also

Script Settings
Scripts

Highlight search results