API Testing with REST Assured Java Proficiency (Advanced Level)

  • 20m
  • 20 questions
The API Testing with REST Assured Java Proficiency (Advanced Level) benchmark measures your skills in integrating and customizing reporting frameworks such as Extent reports and Allure reports with testing. You will be assessed on your ability to implement API mocking using WireMock and perform load testing using Apache JMeter. Learners scoring high on this benchmark demonstrate the skills necessary to successfully integrate reporting with REST Assured API testing and use tools to perform API mocking and load testing.

Topics covered

  • assert JSON, duration, and status codes with JMeter
  • configure request and response logging using the ITestResult and ITestListener
  • customize Extent reports with themes and HTML markup
  • customize test categories using JSON files
  • integrate Allure reporting with the CI pipeline for GitHub Actions
  • integrate Extent reporting with the continuous integration (CI) pipeline for GitHub Actions
  • mock endpoints using JSON files to configure requests and responses
  • organize Allure reports using Epics, Features, and Steps
  • outline the importance of integrating reports with tests
  • run load tests using the JMeter command line
  • set up a basic WireMock server with API stubs
  • set up a Thread Group, Sampler, and Listener to be able to make API requests and view responses using JMeter
  • set up the Bugs API server and the test suite to test the server
  • specify path parameters and query parameters in requests
  • specify request and response logging in Allure reports
  • use an ITestListener to hook into test events
  • use JSON to stub API endpoints
  • use response templating for dynamically configuring responses
  • use the JSON Extractor post-processor to access JSON from response data and use the extracted JSON to make other requests to the server
  • wire up the ITestListener for important test events