+

Search Tips   |   Advanced Search

Why does the Virtual User not 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, add assertions or manually check which pages are returned during the Virtual User validation process (use the Open in browser button).

  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.

Generally speaking, we may need to extract and replace some data.


Home