All Downloads are FREE. Search and download functionalities are using the official Maven repository.

v3.response.body.matches.json Maven / Gradle / Ivy

Go to download

Pact Specification ================== The [Pact Specification](https://github.com/bethesque/pact_specification) is a robust set of tests on the pact matching code aimed at ensuring pact library implementations across different languages have the same matching behaviour. Without adhering to these specifications there would be room for subtle issues to arise between consumers and providers using different libraries.

There is a newer version: 4.4.0-beta.7
Show newest version
{
  "match": true,
  "comment": "Responses match",
  "expected" : {
    "headers": {"Content-Type": "application/json"},
    "body": {
      "alligator":{
        "name": "Mary",
        "feet": 4,
        "favouriteColours": ["red","blue"]
      }
    }
  },
  "actual": {
    "headers": {"Content-Type": "application/json"},
    "body": {
      "alligator":{
        "feet": 4,
        "name": "Mary",
        "favouriteColours": ["red","blue"]
      }
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy