JavaScript

How it works

NeoLoad allows the execution of JavaScript within Virtual Users, which means you may insert a JavaScript action when designing a User Path. The code used may invoke common JavaScript functions declared in the NeoLoad JavaScript libraries.

What you can do

The NeoLoad API is mainly used to manipulate NeoLoad variables and set up cookies for the current Virtual User. Basic JavaScript functions allow the handling of strings and dates, calculation, and so on.

For more information about the NeoLoad API features, see API overview.

What you cannot do

The script does not run within the context of the HTML request, so manipulating a request response DOM tree is impossible. Consequently, functions built into browsers for extracting or manipulating the HTML document are not included.

The following is a non-exhaustive list of functions or objects that are not supported: