25.8.20
This website uses cookies to ensure you get the best experience on our website. Learn more

API Contract & Automation Testing with Postman: Contract Testing

Sesharaj senthil Narayanan

Skillsoft issued completion badges are earned based on viewing the percentage required or receiving a passing score when assessment is required. Contract testing ensures a seamless conversation between two parties, typically an application programming interface (API) server and its client. It involves defining a "contract" that specifies the expected behavior and data structures of each participant. This contract acts as a blueprint, guaranteeing that both parties communicate efficiently and adhere to the agreed-upon rules. This course will introduce you to contract testing. Lightweight tests will verify both parties adhere to this contract, helping detect and resolve issues early in development. You will learn how contract testing differs from integration testing and you will explore the basic structure of Open API, a popular specification for defining API contracts. Next, you will learn to create API contracts using Open API in Postman. You will define the endpoints, requests, and responses exposed by our API server using Open API 3.1. Finally, you will explore contract testing. You will perform basic checks on the response schema and body using Postman. You will also use the publicly available Postman contract test generator to run tests.

Issued on

May 24, 2024

Expires on

Does not expire