API Contract & Automation Testing with Postman: Contract Testing
Postman
| Intermediate
- 13 videos | 1h 52m 41s
- Includes Assessment
- Earns a Badge
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.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseProvide an overview of the contract testing processOutline the openapi specificationSet up the application programming interface (api) serverDefine an api with the openapi specificationDefine security schemes for apisDefine response headers in openapi
-
Define schemas in the components sectionSpecify array response bodies and parameters in apisDefine parameters for multiple apisRun a contract test and view the resultsUse the postman contract test generatorSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 2sIn this video, we will discover the key concepts covered in this course. FREE ACCESS
-
10m 44sAfter completing this video, you will be able to provide an overview of the contract testing process. FREE ACCESS
-
6m 5sUpon completion of this video, you will be able to outline the OpenAPI specification. FREE ACCESS
-
11m 34sIn this video, find out how to set up the application programming interface (API) server. FREE ACCESS
-
8m 18sLearn how to define an API with the OpenAPI specification. FREE ACCESS
-
7m 35sDuring this video we will discover how to define security schemes for APIs. FREE ACCESS
-
8m 8sFind out how to define response headers in OpenAPI. FREE ACCESS
-
13m 7sIn this video, you will learn how to define schemas in the components section. FREE ACCESS
-
9m 10sDiscover how to specify array response bodies and parameters in APIs. FREE ACCESS
-
13m 13sDuring this video, you will learn how to define parameters for multiple APIs. FREE ACCESS
-
7m 23sFind out how to run a contract test and view the results. FREE ACCESS
-
12m 54sIn this video, we will discover how to use the Postman contract test generator. FREE ACCESS
-
2m 30sIn this video, we will summarize the key concepts covered in this course. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.