REST Assured Configuration: Continuous Integration Pipelines for API Tests






Continuous integration and continuous delivery (CI/CD) pipelines for testing application programming interfaces (APIs) are automated workflows that integrate code changes, test executions, and deployment processes to ensure that APIs function correctly and are ready for production environments. In this course, you will learn the fundamentals of CI/CD and its significance in automating software testing. You will install Jenkins on your local machine and see how you can configure Jenkins to automate your builds and tests. Next, you will enhance your CI/CD pipelines by exploring advanced Jenkins features. You will set up both manually triggered and scheduled builds for testing, examine the inefficiencies of polling GitHub repositories for changes, and use WebHook triggers and GitHub push notifications for more efficient build triggers. Finally, you will create a continuous integration pipeline using GitHub Actions. You will integrate Java RestAssured API tests into the GitHub repository's life cycle, configure Surefire reports to generate detailed test reports, and set up workflows to send email alerts upon test completion or failure.




2.23

REST Assured Configuration: Continuous Integration Pipelines for API Tests

  • describe how continuous integration and continuous delivery (CI/CD) pipelines work
  • install Jenkins on Mac OS and Windows
  • set up a test and view the Jenkins server
  • run an application programming interface (API) test with Jenkins and view the result
  • set up a GitHub repository and commit API tests to GitHub
  • set up a Jenkins plugin and integrate it with Git and Maven
  • schedule builds for time intervals
  • poll GitHub repository for changes to create pipelines and rerun API tests
  • use ngrok to expose a local URL
  • trigger Jenkins builds with push notifications
  • set up email credentials and create an email alert with Jenkins
  • create a CI/CD pipeline with GitHub Actions
  • run a GitHub Actions workflow and view the results
  • set up Maven Surefire and create reports
  • set up GitHub Actions emails

  • it_stracndj_05_enus