Skip to main content
Quick navigation

Accessing Http response data

When you do Http calls, you may need to access the data for checks.


Looking for how to access or extract the previous task data ? Here is the documentation

For example:

  • to validate if an attribute inside a JSON response is correct
  • to validate the status code of the response

There are two methods of selecting data for a check:

  • Field selection (JSON Query)
  • JavaScript

The below table indicates the different object identifiers that can be used to access attributes.

Note the information you are able to access depends on the task you are making the check on.

Http Call

It's possible to make checks on the metadata collected when you produce to Kafka.

AttributeTypeHow to access: Field selection (JQ)How to access: JavaScript
Headers{key, value}[].httpResponse.headerscontext.httpResponse.headers

Quick nav