Follow a link using an attribute value

The following procedure describes how to find the link identified by the text Next Page in the response referred to earlier. It will also allow you to dynamically play back all the link parameters values during playback.

  1. Select the HTTP request containing the URL with dynamic parameters:
  2. Change the HTTP request type. In the Type drop-down list, change the HTTP request type from Manually define the request to Follow a link from the previous request.
  3. Make sure the referrer is the preceding request. In the Extract and follow a link from field, make sure that the request shown is the one containing the href HTML tag. If this is not the case, click on the Change the referrer button and select the correct referrer.
  4. Select the link attribute. Click on the Link whose option box, then select the attribute to search for. For the example, select link text to tell NeoLoad to search for a link content of the type <a href=..>[content_to_be_searched_for]</a>
  5. Enter the attributes value. In the is field, enter the attribute value to search for, in this case "Next Page". This tells NeoLoad to search for a link whose form is: <a href=..>Next Page</a>. This will instruct NeoLoad to extract any link whose label is "Next Page" and dynamically inject it during the test.