API Contract & Automation Testing with Postman: Contract Testing

Postman    |    Intermediate
  • 13 videos | 1h 52m 41s
  • Includes Assessment
  • Earns a Badge
Rating 3.0 of 1 users Rating 3.0 of 1 users (1)
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 course
    Provide an overview of the contract testing process
    Outline the openapi specification
    Set up the application programming interface (api) server
    Define an api with the openapi specification
    Define security schemes for apis
    Define response headers in openapi
  • Define schemas in the components section
    Specify array response bodies and parameters in apis
    Define parameters for multiple apis
    Run a contract test and view the results
    Use the postman contract test generator
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 2s
    In this video, we will discover the key concepts covered in this course. FREE ACCESS
  • 10m 44s
    After completing this video, you will be able to provide an overview of the contract testing process. FREE ACCESS
  • Locked
    3.  The OpenAPI Specification
    6m 5s
    Upon completion of this video, you will be able to outline the OpenAPI specification. FREE ACCESS
  • Locked
    4.  Setting Up the Application Programming Interface (API) Server
    11m 34s
    In this video, find out how to set up the application programming interface (API) server. FREE ACCESS
  • Locked
    5.  Defining APIs Using the Open API Specification
    8m 18s
    Learn how to define an API with the OpenAPI specification. FREE ACCESS
  • Locked
    6.  Defining Security Schemas in Open API
    7m 35s
    During this video we will discover how to define security schemes for APIs. FREE ACCESS
  • Locked
    7.  Defining Response Headers in Open API
    8m 8s
    Find out how to define response headers in OpenAPI. FREE ACCESS
  • Locked
    8.  Defining Schemas in the Components Section
    13m 7s
    In this video, you will learn how to define schemas in the components section. FREE ACCESS
  • Locked
    9.  Defining Array Response Bodies and Parameters
    9m 10s
    Discover how to specify array response bodies and parameters in APIs. FREE ACCESS
  • Locked
    10.  Completing the Open API Specification
    13m 13s
    During this video, you will learn how to define parameters for multiple APIs. FREE ACCESS
  • Locked
    11.  Performing Contract Schema Validation
    7m 23s
    Find out how to run a contract test and view the results. FREE ACCESS
  • Locked
    12.  Using the Postman Contract Test Generator
    12m 54s
    In this video, we will discover how to use the Postman contract test generator. FREE ACCESS
  • Locked
    13.  Course Summary
    2m 30s
    In 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.

YOU MIGHT ALSO LIKE

Rating 2.0 of 1 users Rating 2.0 of 1 users (1)
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Rating 4.0 of 2 users Rating 4.0 of 2 users (2)