REST Assured Configuration: Architecting & Structuring API Tests
REST Assured
| Intermediate
- 10 videos | 1h 32m 1s
- Includes Assessment
- Earns a Badge
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 courseEliminate boilerplate code with rest assured global variablesUse the request and response configuration classesWork with url redirectsModify rest assured configurations
-
Work with composition and inheritance to write clean code for testsMove reusable methods to the base classIntegrate tests with the maven life cycleSet up an environment for testingSummarize the key concepts covered in this course
IN THIS COURSE
-
1m 43sIn this video, we will discover the key concepts covered in this course. FREE ACCESS
-
9m 28sIn this video, you will learn how to eliminate boilerplate code with Rest Assured global variables. FREE ACCESS
-
12m 4sDuring this video, discover how to use the request and response configuration classes. FREE ACCESS
-
13m 18sFind out how to work with URL redirects. FREE ACCESS
-
8mLearn how to modify REST Assured configurations. FREE ACCESS
-
11m 55sIn this video, discover how to work with composition and inheritance to write clean code for tests. FREE ACCESS
-
10m 20sDuring this video, you will learn how to move reusable methods to the base class. FREE ACCESS
-
11m 22sIn this video, find out how to integrate tests with the Maven life cycle. FREE ACCESS
-
11m 56sDiscover how to set up an environment for testing. FREE ACCESS
-
1m 57sIn 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.