Contract Testing

Number of APIs: 3

About this collection

This collection helps you set up contract tests to ensure that two separate systems are compatible and can communicate with one another.

Using the collection

Step 1: Send the sample requests and view the response and test results.

Step 2: Replace the sample request URLs with your desired API endpoints.

Step 3: Customize the tests in the Tests tab if needed. Don't forget to save your changes.

Resources

[Scripting in Qodex]

[Test script examples]

[Qodex Sandbox API reference]

[Using the Collection Runner]


  1. Test Response GET https://postman-echo.com/get?foo1=bar1&foo2=bar2

  2. Check for Valid Query Params GET {{baseUrl}}/get?foo=bar&baz=value

  3. Check for Valid Form Data POST {{baseUrl}}/post