Auto Create a Custom Property from an HTTP Response

Document created by Chris Sommerstad Employee on Jul 22, 2017Last modified by Sheril Joseph on Aug 14, 2017
Version 2Show Document
  • View in full screen mode

Extraction can be performed on any HTTP header, such as the Content-Type header using the following steps. For example, to show metrics about content within a given test. For HTTP response headers, it is not necessary to add anything to the target as was done in the Akamai example. This is because the Content-Type header is typically already automatically present in any HTTP response.

  1. To add a property set, select the Property Sets node and click the Plus icon to add a new Property Sets form to the message.

Note: This can be performed in either the Target Editor for a given operation (e.g. "get" or any other operation listed in the given target) or in the Clip Editor at the message level within the lower panel Message Editor). Note that target-level property sets will propagate for all messages based on the given target while message-level property sets are restricted to the one message).

  1. Change “The value of this field” from the default Field to Header.
  2. Enter the HTTP response header name whose value you want to extract. For example, Content-Type.

  1. In the “Will be stored in this property” section of the form, ensure that Type is set to Custom.
  2. Change Starting Element to “CurrentMessage”.
  3. Enter a property path as a name for the custom property. This name will appear as a node in Property Value widgets with the response values shown. For example, Content-Type.
  4. For this example, set the Starting Element to Current Message so that analytics are created for each message.
  5. In the Automatic Creation drop-down, select “Create and save value in analytics.”
  6. Save the target after making these changes.

Attachments

    Outcomes