REST Assured Techniques: Using WireMock API Mocking & JMeter Load Testing
REST Assured
| Intermediate
- 13 videos | 1h 37m 5s
- Includes Assessment
- Earns a Badge
Mocking application programming interface (API) endpoints is essential for developing, testing, and validating applications independently of external systems. Load testing of APIs is crucial for assessing an application's performance and reliability under high traffic conditions, ensuring that it can handle real-world use without degradation of service. Together, WireMock and JMeter provide a comprehensive approach to testing for mocking and load testing respectively. In this course, you will explore the art of mocking APIs using WireMock, learning how to set up a basic server and mock API endpoints with various HTTP requests and responses. You will employ JSON files for configuring responses and explore dynamic response creation through response templating. You will use request matching to fine-tune the behavior of your API mocks and stub APIs using both Java and JSON for enhanced maintainability. Next, you will master the use of Apache JMeter for performance and load testing. Starting with the installation and setup, you will build JMeter test plans, simulate user actions with Test Groups, and make API requests using Samplers. You will learn how to analyze the responses with Listeners and validate API performance under different loads using JMeter assertions. You will run your load tests using the JMeter graphical user interface (GUI) as well as the command line.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseOutline the importance and uses of application programming interface (api) mockingSet up a basic wiremock server with api stubsMock endpoints using json files to configure requests and responsesUse response templating for dynamically configuring responsesSpecify path parameters and query parameters in requestsUse json to stub api endpoints
-
Outline the importance of load testing and how to use apache jmeter as part of this processSet up a thread group, sampler, and listener to be able to make api requests and view responses using jmeterAssert json, duration, and status codes with jmeterUse the json extractor post-processor to access json from response data and use the extracted json to make other requests to the serverRun load tests using the jmeter command lineSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 17sDiscover the key concepts covered in this course. FREE ACCESS
-
6m 10sAfter completing this video, you will be able to outline the importance of integrating reports with tests. FREE ACCESS
-
8m 34sAfter completing this video, you will be able to set up a basic WireMock server with API stubs. FREE ACCESS
-
9m 21sAfter completing this video, you will be able to mock endpoints using JSON files to configure requests and responses. FREE ACCESS
-
9m 18sAfter completing this video, you will be able to use response templating for dynamically configuring responses. FREE ACCESS
-
6m 19sAfter completing this video, you will be able to specify path parameters and query parameters in requests. FREE ACCESS
-
7m 12sAfter completing this video, you will be able to use JSON to stub API endpoints. FREE ACCESS
-
4m 18sAfter completing this video, you will be able to outline the importance of load testing and how to use Apache JMeter as part of this process. FREE ACCESS
-
11m 49sAfter completing this video, you will be able to set up a Thread Group, Sampler, and Listener to be able to make API requests and view responses using JMeter. FREE ACCESS
-
10m 16sAfter completing this video, you will be able to assert JSON, duration, and status codes with JMeter. FREE ACCESS
-
9m 55sAfter completing this video, you will be able to use the JSON Extractor post-processor to access JSON from response data and use the extracted JSON to make other requests to the server. FREE ACCESS
-
9m 40sAfter completing this video, you will be able to run load tests using the JMeter command line. FREE ACCESS
-
1m 57sSummarize 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.