REST Assured Configuration: Architecting & Structuring API Tests

REST Assured    |    Intermediate
  • 10 videos | 1h 32m 1s
  • Includes Assessment
  • Earns a Badge
Rating 5.0 of 2 users Rating 5.0 of 2 users (2)
Architecting clean tests in REST Assured involves structuring your test code in a way that enhances maintainability, readability, and reusability, while efficiently validating the functionality and reliability of RESTful APIs. In this course, you will tackle the challenge of reducing boilerplate code in API testing for enhanced test efficiency and readability. You will learn to use REST Assured global variables and configure request and response objects to streamline your tests. You will also handle URL redirections, parameter configurations, and HTTP client settings to ensure robustness across various testing scenarios. Next, you will explore structuring your test suite through inheritance and composition to maintain a scalable and organized codebase. Then you will build a base class for shared functionality, allowing child classes to inherit and make use of reusable code in the base class. Finally, you will integrate your tests with the Maven build life cycle and set up distinct environments for development, testing, and production, ensuring that configurations remain separate and optimized for each stage.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Eliminate boilerplate code with rest assured global variables
    Use the request and response configuration classes
    Work with url redirects
    Modify rest assured configurations
  • Work with composition and inheritance to write clean code for tests
    Move reusable methods to the base class
    Integrate tests with the maven life cycle
    Set up an environment for testing
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 1m 43s
    In this video, we will discover the key concepts covered in this course. FREE ACCESS
  • 9m 28s
    In this video, you will learn how to eliminate boilerplate code with Rest Assured global variables. FREE ACCESS
  • Locked
    3.  Eliminating Boilerplate with Request and Response Configuration
    12m 4s
    During this video, discover how to use the request and response configuration classes. FREE ACCESS
  • Locked
    4.  Configuring URL Redirection
    13m 18s
    Find out how to work with URL redirects. FREE ACCESS
  • Locked
    5.  Exploring REST Assured Configurations
    8m
    Learn how to modify REST Assured configurations. FREE ACCESS
  • Locked
    6.  Architecting Clean Code for Tests
    11m 55s
    In this video, discover how to work with composition and inheritance to write clean code for tests. FREE ACCESS
  • Locked
    7.  Moving Reusable Components to the Base Class
    10m 20s
    During this video, you will learn how to move reusable methods to the base class. FREE ACCESS
  • Locked
    8.  Integrating Tests with the Maven Build Life Cycle
    11m 22s
    In this video, find out how to integrate tests with the Maven life cycle. FREE ACCESS
  • Locked
    9.  Configuring a Test Environment
    11m 56s
    Discover how to set up an environment for testing. FREE ACCESS
  • Locked
    10.  Course Summary
    1m 57s
    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 4.7 of 3 users Rating 4.7 of 3 users (3)
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)