REST Assured Techniques: Using WireMock API Mocking & JMeter Load Testing

REST Assured    |    Intermediate
  • 13 videos | 1h 37m 5s
  • Includes Assessment
  • Earns a Badge
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
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 course
    Outline the importance and uses of application programming interface (api) mocking
    Set up a basic wiremock server with api stubs
    Mock endpoints using json files to configure requests and responses
    Use response templating for dynamically configuring responses
    Specify path parameters and query parameters in requests
    Use json to stub api endpoints
  • Outline the importance of load testing and how to use apache jmeter as part of this process
    Set up a thread group, sampler, and listener to be able to make api requests and view responses using jmeter
    Assert json, duration, and status codes with jmeter
    Use the json extractor post-processor to access json from response data and use the extracted json to make other requests to the server
    Run load tests using the jmeter command line
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 17s
    Discover the key concepts covered in this course. FREE ACCESS
  • 6m 10s
    After completing this video, you will be able to outline the importance of integrating reports with tests. FREE ACCESS
  • Locked
    3.  Setting Up a Basic WireMock Server
    8m 34s
    After completing this video, you will be able to set up a basic WireMock server with API stubs. FREE ACCESS
  • Locked
    4.  Mocking Endpoints Using JSON Files to Configure Responses
    9m 21s
    After completing this video, you will be able to mock endpoints using JSON files to configure requests and responses. FREE ACCESS
  • Locked
    5.  Using Response Templating in WireMock
    9m 18s
    After completing this video, you will be able to use response templating for dynamically configuring responses. FREE ACCESS
  • Locked
    6.  Executing Request Matching in WireMock
    6m 19s
    After completing this video, you will be able to specify path parameters and query parameters in requests. FREE ACCESS
  • Locked
    7.  Using JSON to Stub API Endpoints
    7m 12s
    After completing this video, you will be able to use JSON to stub API endpoints. FREE ACCESS
  • Locked
    8.  Apache JMeter For Performance Testing
    4m 18s
    After 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
  • Locked
    9.  Making API Requests with JMeter
    11m 49s
    After 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
  • Locked
    10.  Configuring JMeter Assertions and Assertion Results
    10m 16s
    After completing this video, you will be able to assert JSON, duration, and status codes with JMeter. FREE ACCESS
  • Locked
    11.  Running Load Tests Using the Graphical User Interface (GUI) and Logging Results
    9m 55s
    After 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
  • Locked
    12.  Running Load Tests Using the JMeter Command Line
    9m 40s
    After completing this video, you will be able to run load tests using the JMeter command line. FREE ACCESS
  • Locked
    13.  Course Summary
    1m 57s
    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 5.0 of 1 users Rating 5.0 of 1 users (1)
Rating 4.4 of 67 users Rating 4.4 of 67 users (67)
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)