API Testing with REST Assured Java Competency (Intermediate Level)

  • 30m
  • 30 questions
The API Testing with REST Assured Java Competency (Intermediate Level) benchmark assesses your knowledge of comprehensive data-driven testing using TestNG and REST Assured while configuring authentication for API endpoint access and architecting clean, maintainable tests in REST Assured. You will be evaluated on your skills in executing API testing with Rest Assured and seamlessly integrating API testing into CI/CD pipelines using Jenkins, Git, and GitHub. Learners scoring high on this benchmark demonstrate the skills necessary to proficiently work with TestNG and REST Assured for data-driven testing and logging and fault injection skills.

Topics covered

  • access an API endpoint with OAuth2
  • create a CI/CD pipeline with GitHub Actions
  • describe error handling and fault injection
  • describe how data-driven testing works
  • describe how transient errors work
  • eliminate boilerplate code with Rest Assured global variables
  • handle transient errors with Awaitility
  • integrate tests with the Maven life cycle
  • log data related to responses
  • make requests to the Envoy proxy server
  • modify REST Assured configurations
  • parse Excel files using Poiji
  • perform data-driven testing with Excel data
  • perform data-driven testing with JSON data
  • perform end-to-end tests using authentication
  • perform fault injection with the Envoy proxy server
  • poll GitHub repository for changes to create pipelines and rerun API tests
  • recall how challenged and preemptive authentication work
  • run an application programming interface (API) test with Jenkins and view the result
  • run repetitive and boilerplate code without data-driven testing
  • set up a Jenkins plugin and integrate it with Git and Maven
  • set up email credentials and create an email alert with Jenkins
  • set up GitHub Actions emails
  • specify multiple values with a data provider function
  • test APIs using plain old JavaScript objects (POJOs)
  • trigger Jenkins builds with push notifications
  • use OAuth for authentication to APIs
  • use the request and response configuration classes
  • view API endpoints and send requests
  • work with composition and inheritance to write clean code for tests