Why does not the Virtual User behave as expected?

If, during playback, the Virtual User behaves in an unexpected manner (no record created in the database) or contains errors, it is more than likely that some requests are being replayed with faulty parameters.

  1. Find the faulty request:
  2. NeoLoad detects an error when the response contains an HTTP error code. If the page returned by the server contains the code 200, NeoLoad will not detect the error. To be able to detect it, you must add assertions or manually check which pages are returned during the Virtual User validation process (use the Open in browser button). For more information about using assertions, see Validate a server response.
  3. Find the parameter that needs changing
  4. Usually, the parameters to be changed are IDs. You can repeat the recording, for example, and compare the requests to see which IDs differ.
  5. Replace the appropriate value
  6. To retrieve a variable, use a Variable Extractor. Next, replace the parameter with the variable created.

Failure to handle a dynamic parameter causes errors. For more information, see Handle an application dynamic parameters.

Generally speaking, you may need to extract and replace some data. For more information, see Create a variable extractor.