REST Assured Configuration: Error Handling & Fault Injection in API Tests
REST Assured
| Intermediate
- 11 videos | 1h 29m 7s
- Includes Assessment
- Earns a Badge
Transient errors and fault injection are crucial concepts in enhancing software resilience, particularly in distributed and cloud-based systems where network unreliability can introduce sporadic failures. In this course, you will focus on enhancing your application programming interface (API) testing skills with Java RestAssured, starting with the core aspect of request and response logging. You will learn how detailed logging is essential for understanding the interactions between your tests and APIs, aiding in debugging and ensuring API behavior aligns with expectations. Next, you will tackle the challenges posed by transient errors in API testing, learning strategies for retrying test cases to enhance the reliability and stability of your test suite. Then you will explore solutions like custom retry logic and the use of libraries like Awaitility for handling asynchronous operations more elegantly. Finally, you will investigate advanced testing techniques using the Envoy Proxy for fault injection, enabling you to simulate various failure conditions and assess an API's robustness and error-handling capabilities.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseDescribe error handling and fault injectionLog data related to requestsLog data related to responsesDescribe how transient errors workRetry tests with custom code
-
Handle transient errors with awaitilitySet up the envoy proxy server for fault injectionMake requests to the envoy proxy serverPerform fault injection with the envoy proxy serverSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 8sIn this video, we will discover the key concepts covered in this course. FREE ACCESS
-
5m 39sAfter completing this video, you will be able to describe error handling and fault injection. FREE ACCESS
-
8m 10sFind out how to log data related to requests. FREE ACCESS
-
12m 33sDuring this video, discover how to log data related to responses. FREE ACCESS
-
9m 17sUpon completion of this video, you will be able to describe how transient errors work. FREE ACCESS
-
10m 1sIn this video, find out how to retry tests with custom code. FREE ACCESS
-
8m 44sDiscover how to handle transient errors with Awaitility. FREE ACCESS
-
10m 18sDuring this video, you will learn how to set up the Envoy proxy server for fault injection. FREE ACCESS
-
10m 28sIn this video, discover how to make requests to the Envoy proxy server. FREE ACCESS
-
9m 21sFind out how to perform fault injection with the Envoy proxy server. 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.