Test automation of REST services
Course is about testing of REST-services. Since REST-full architecture has became the most popular in web-applications, the course will be useful for QA Engineers, testers and Test Developers who work with a web. Well structured video lectures will help you to learn how to test REST-services, automate this process with help of Java, JUnit, TestNG and “REST Assured” and organise automation process on entire project. Any practical knowledge is not useful and applicable if you do not familiar with theory. I’ve took care of it so you will get excellent union of theory and practice.
You definitely have to take this course because it increases your technical level, make you more attractive for employer, gives you additional arguments on a salary review.
Develop your skills, invest in yourself.
Introduction to the course structure
Overview of the topics which the course covers.
Pay your attention to the lecture descriptions before each video lecture. It contains short information about the lecture topic and some useful instructions.
Theoretical lecture about the domain of WEB architecture. It's useful for QAs and testers to know what was before the REST and how it worked.
Lecture about the REST architecture. Before starting work with something, especially when you are going to test it, you'd better to know about it as much as you can. So here I discuss REST basics.
This lecture is extended version of previous one and digs more deeper in technical aspects of REST architecture.
In this lecture I examine a sample of application with REST architecture and SWAGGER interface
This lecture discovers usage of such tool for REST-service testing as POSTman (Google Chrome's extension). It's very useful during the test scripts development.
This lecture contains short overview of REST-assured and its site with documentation and user guide.
ATTENTION: Here is a new web-address of the REST-assured: www.rest-assured.io
This lecture is equator between the theory and practice in the course. So here I show how to setup all environment setting and Eclipse IDE with all required Maven dependency (except installing of Java).
How to launch REST sample API locally.
You can follow the steps from the instruction below or download the file from the "External Resources" in this lecture.
1. Download sample of REST API:
2. Open command line
3. Navigate to that folder where you have saved rest-app-0.0.2.jar file from the step #1
4. Enter java -jar rest-app-0.0.2.jar
5. Open in browser:
This is the first test script in the course. Here I show how to create a java test class which contains test methods. I perform the most simple GET request test.
In this lecture I demonstrate the most simple POST scenario for the automation test script.
Take a look at "Downloadable materials" there you will find a cheat sheet for hamcrest matchers. It is handy to use it while doing any kind of verifications in test scripts.
This lecture covers extra JUnit annotations such as @Before group with concrete example of @BeforeClass
In this lecture I continue work on the simple POST test script from the previous lecture. As the result I demonstrate how should work common POST test script
In this lecture I show how to develop test script which checks validation responses of HTTP requests
This lecture contains material which describes flow of entity update using PUT HTTP request
This test completes the section of simple test scripts by representing a work with HTTP DELETE request
In this lecture I discuss the problem of JUnit and advantages of TestNG
This lecture discovers the steps you should do to migrate from JUnit to TestNG
In this lecture I show how to use priority attribute of @Test annotation in TestNG framework
In this lecture I show how to use dependsOnMethods attribute of @Test annotation in TestNG framework
This lecture contains example of @DataProvider usage. This gives you ability to apply the same test steps to different data sets.
In this lecture I show how to start work with the second part of the test REST application
In this lecture I comment the code of test scripts which test functionality of the Apartment in the test REST application. Also I overview the usage of Query Parameters.
In this video lecture I demonstrate the hook which improves the entire architecture of the testing framework by injecting a BasicTest class.
In this video lecture I show multiple cases of test run using testng.xml
Also you can find final version of all REST-tests which we have developed during the course.
In this lecture I will learn basic concepts of REST-services authentication and authorisation.
In this quiz you will be able to check your recently acquired theory knowledges by answering the questions.