+

Search Tips   |   Advanced Search

  • Previous Topic
  • Next Topic
  • Book Index
  • Handle an application dynamic parameters

    In This Section

    1. Understand the problem
    2. Run the Virtual User validation
    3. Identify the request containing the error
    4. Identify the parameter to be handled
    5. Make the parameter dynamic manually
    6. Globally replace a parameter in a recording
    7. Re-check the Virtual User
    8. Make the parameter dynamic manually
    9. Additional links

    See Also

    1. Design - Dynamic Parameters
    2. Choose a data extraction method
    3. Create a variable extractor
    4. Submit a form from the previous request
    5. Follow a link from the previous request
    6. Use framework parameters to automatically search for dynamic parameters


    Understand the problem

    The HTML pages generated by the applications usually contain dynamic elements, that is to say elements whose values vary from one call to the next. Typically, these include unique identifiers that cannot be replayed "as is", and which must be handled individually.

    When a dynamic parameter is not handled correctly:

    NeoLoad automatically handles the most common parameters, such as the Framework .Net __VIEWSTATE parameter. However, NeoLoad cannot automatically handle some parameters specific to an application. These needs to be handled individually, that is to say by placing an extractor on the value returned by the server and injecting the extracted value into the appropriate requests.

    This tutorial will show how search for, and handle, a dynamic parameter. The steps are as follows:

    1. Identify the request returning the error
    2. Identify the parameter to be handled
    3. Search for the request whose response contains the value to be extracted.
    4. Place the Variable Extractor.
    5. Inject the variable in the appropriate requests.
    6. Validate the changes.

    The example used throughout this tutorial is taken from an e-commerce demo application. The recorded scenario concerns the purchasing of an animal on the website.


    Home