Extract contents and assign it to a variable

The following screen shot depicts the simple HTML page described in the previous section. You may have recorded pages that enter the account information, including an already existing user name. The example application has then returned the following form and you have recorded the submission using one of the suggested user names. The one you choose during the recording phase has no importance because you will be using the one you decide to extract.

  1. Select the HTTP request containing the content to be extracted:
  2. Go to the Variable Extractor settings:
  3. Add and define a variable:
  4. Test the variable:
  5. Define the behavior when the extracting mechanism fails:
  6. Confirm variable creation: