REST Assured API AutomationAllure Reports An Introduction
What you’ll learn
Write REST Assured tests (GET, POST, PUT, PATCH, DELETE) using the ‘given-when-then’ method
Response extraction using Jayway JsonPath
Generate Fake Test Data
Create collections & environments in POSTMAN
Use POSTMAN to send different requests (GET, POST, PUT, PATCH, DELETE, OPTIONS & HEAD)
Setup REST Assured Maven project in Eclipse
Requirements
This course requires that the user has some basic programming knowledge in JAVA
Basic understanding of RESTful Services
Description
In the 21st century, almost all web applications use web services to communicate or interact with each other. Most modern day web services are built on Representational state transfer (REST) architecture; REST has gained a lot of popularity and it will continue to do the same due to its simplicity in comparison with other technologies.
It is very important for software QA engineers, automation engineers and software developers to understand the importance of REST testing and more importantly how to automate these tests. Automating Application Program Interface (API) tests is critical and crucial for most projects due to the fact that API tests are far more stable, reliable and fast.
In this course, you will be provided with the tools and techniques needed to be successful with REST API Automation using Rest Assured Library in Java & JUnit. We will be focusing on the important topics listed below:
Learn how to create collections & environment variables in POSTMAN Understand and use POSTMAN to send requests (using GET, POST, PUT, PATCH, DELETE, OPTIONS and HEAD operations) Introduction to REST Assured, which is a popular open source library used for API test automation Learn how to setup a REST Assured Maven project Learn to write tests for GET, POST, PUT, PATCH and DELETE requests using REST AssuredLearn to use setup & configure Allure Reports Provide beautiful DisplayNames,Descriptions, link information in your reportsAdd detailed test step information & attachment information in the reports****You will be provided with a Students Application, that you can run locally on your machine********The course will introduce you to Bestbuy API playground(which contains ~50,000 products) application which can be run locally All the code is available for download & instructor support will be provided to questions.
Overview
Section 1: Introduction to the course
Lecture 1 About the Course
Section 2: Setting up the Student Sample Application
Lecture 2 Starting “Students” Application
Lecture 3 IMPORTANT: For users using Java 9
Lecture 4 Docker install Windows
Lecture 5 Docker. install Mac
Lecture 6 Launching Student app docker image
Lecture 7 Inspecting browser traffic using chrome developer tools
Section 3: Using POSTMAN to make (GET,POST,PUT,PATCH,DELETE,OPTIONS) requests
Lecture 8 Installing Postman REST Client
Lecture 9 Organizing POSTMAN (creating collections, adding environments)
Lecture 10 GET Request (Getting information about resources)
Lecture 11 POST Request (Adding information)
Lecture 12 PUT Request (Updating information)
Lecture 13 PATCH Request (Updating selective information)
Lecture 14 DELETE Request (Deleting information)
Lecture 15 OPTIONS (Getting information on a particular resource)
Lecture 16 HEAD Method
Section 4: Installing pre-requisite softwares
Lecture 17 Java installation on Mac OS
Lecture 18 Maven installation on Mac OS
Lecture 19 Eclipse Installation on Mac OS
Lecture 20 Java installation on Windows OS
Lecture 21 Maven installation on Windows OS
Lecture 22 Eclipse Installation on Windows OS
Section 5: Writing Tests with Rest Assured
Lecture 23 Project setup using maven, junit, & rest-assured
Lecture 24 Popular test writing styles in Rest Assured
Lecture 25 Writing our first using Rest Assured
Lecture 26 Static import of Rest Assured methods
Lecture 27 Passing QueryParams in GET Request
Lecture 28 Passing Path Params in GET Request
Lecture 29 Reusability with RestAssured constants(port, baseURI ,basePath)
Lecture 30 POST request with payload as String
Lecture 31 POJO creation & Java object payload with Gson
Lecture 32 Creating Fake Test Data with Java Faker library
Lecture 33 Updating Student information with PUT request
Lecture 34 Update partial info (PATCH request)
Lecture 35 Delete a student using DELETE Request
Lecture 36 Code for download
Section 6: Extracting Response Data using Jayway JsonPath
Lecture 37 Bestbuy API playground setup
Lecture 38 Brief overview on extracting information from response
Lecture 39 Extracting response information with Jayway JsonPath library-p1
Lecture 40 Extracting response information with Jayway JsonPath library-p2
Lecture 41 Jayway JsonPath Info
Lecture 42 Code for download.
Section 7: Allure Reports
Lecture 43 Introduction to allure reports
Lecture 44 Creating your first allure report
Lecture 45 Providing meaningful display names to your tests
Lecture 46 Attaching links to your reports
Lecture 47 Grouping tests as stories,epics & features
Lecture 48 Adding step information using @Step annotation
Lecture 49 Adding attachments to your reports
Lecture 50 Code for download
Section 8: Congratulations!!
Lecture 51 Next Steps in your Journey!!
QA Engineers who want to learn how to write API automation,Automation Engineers, SDETs who want to learn an additional Java Testing library for RESTful API’s,Software developers who would like to learn the art of API Test automation using REST Assured
Course Information:
Udemy | English | 4h 31m | 2.29 GB
Created by: Tejasvi Hegde
You Can See More Courses in the Developer >> Greetings from CourseDown.com