Resource Variables

Resource Variables are used to validate network calls that a page makes and to verify that it loads as expected. As an example, a user may want to use resource variables to do technical verifications.  Resource Variables offers a lot of flexibility.

Sample simple Use Case: Verify that all network calls are loading as expected.

Sample complex use case: Validating information within the DOM/source code to ensure that data matches the visual elements that are displaying on a page.  Further, that the segmentation is working as expected and the correct subset of users are having the correct experience as expected based on the information that is loading.

Resource Variables are applicable within Architect.  

To begin, it is important to set up what url's are acceptable to show in the resource variable drop down menu in architect.

 To Set Up (Add) the Resource Variable URL's in Architect

  1.  Go to the Team tab in Functionize *Note: the Team tab is only available to an Admin account.
  2. Click on Resource Tracker then define what URLs should show in the Resource Variable drop down in Architect.
  3. This is the Resource Tracker Whitelist.mceclip1.png
  4. Please specify the URL of the resources that need to be tracked in Architect.  Note: each resource will be tracked for requestHeaders, responseHeaders, QueryString and associated parameters. 
  5. If Regex is selected, use the syntax as example:* or ** -- as wildcards.
  6. When ready, click Submit.
  7. These will now be available when applying a Resource Variable during test creation.

To Apply a Resource Variable

  1. Turn the ADV (advanced) toggle to On in Architect.
  2. Click the + icon for Type instructions.
  3. Click Page Variables flag.
  4. Select Resource Variables radio button.
  5. Select the appropriate url for verification from the URL drop down menu.*
  6. Select the Variable Name. In this example, the user is selecting statusCode.
  7. Select the Operator.
  8. Select the Value. *The current value will auto populate.
  9. Click Continue.