Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Latest commit

 

History

History
18 lines (14 loc) · 832 Bytes

result.md

File metadata and controls

18 lines (14 loc) · 832 Bytes

Jackal Result Guide

The Jackal API returns an array of results as part of the response body when Contracts are executed either by posting Contracts to the Consumer Endpoint or when Contracts for a specified Provider are executed when making a request to the Provider Endpoint.

The objects in the results array have the following shape:

{
  "name":       "STRING",
  "consumer":   "STRING",
  "status":     "STRING",
  "error":      "STRING OR NULL"
}
  • The name and consumer fields identify the contract as well as the Consumer which defined it.
  • The status is either Pass or Fail depending on whether the contract was executed successfully.
  • The error field is always null when the contract executed successfully, if it failed then it will be the error message thrown when executing the contract.