
Learn how to automate APIs using Rest Assured in Java, covering setup, endpoints, json path, request specification, headers, cookies, parameters, serialization, and advanced features for beginners.
Enhance your learning in the rest assured api test automation for beginners course by selecting 1080p playback, using linked resources, and consulting the Q&A or StackOverflow for answers.
Define web services as software that lets one application call or exchange data with another over a network, regardless of language, and introduce soap and restful as the main types.
Explore soap versus rest web services, outlining protocols, architecture, messaging formats, performance, security, and how Rest Assured supports testing both soap and rest public APIs.
Configure a Maven-based Java project for Rest Assured by adding Rest Assured and test dependencies to pom.xml, installing Java and Maven, and enabling Maven compiler and Surefire plugins.
The GitHub page hosts project files for every lecture, enabling you to copy or compare code and follow the instructor on GitHub.
Plan to test all rest methods on the rest booker api, including get, post, put, patch, delete, plus health check, with basic authorization and endpoint filtering.
Create your first Rest Assured test in a Maven project, writing a health check test that uses given-when-then and validates a 201 status code.
Add more get tests for the bookings IDs endpoint using Rest Assured; verify a 200 response and a non-empty list of booking IDs with JsonPath, first without filters.
Learn to automate get booking tests using REST Assured and JsonPath, switching from hard to soft assertions, validating status code 200 and response fields.
learn to submit a post request with a json body using Rest Assured, create a booking, and verify the booking id and details with a reusable create booking method.
Learn how to automate a put request with a JSON body in REST Assured by creating a booking, obtaining its ID, and updating the full resource with authentication.
Master basic authentication with username and password to authorize update booking requests in REST Assured, switching to primitive basic auth and validating responses with expected failures and fixes.
Automate a partial update of a booking using a json patch request with Rest Assured, updating first name and check in date, with authorization and booking id in the url.
Learn to automate a delete booking test with rest assured by creating a booking, deleting it by id, verifying a 201 response, and confirming booking is not found when retrieved.
Create a request specification with a request spec builder, set the base URI, and reuse it across tests using a before method and a base test class.
Use path parameters to identify resources in rest APIs and distinguish them from query parameters. Implement them via the request specification to build reliable get booking tests.
Learn how to use query parameters with Rest Assured to filter bookings by first name, last name, and check-in and check-out dates, and add them to the request specification.
Learn to work with headers and cookies in REST Assured, extract headers and cookies from responses, print them, and add headers and cookies to requests.
Demonstrates how to request xml responses in REST Assured by setting the Accept header to application/xml. Explains parsing with xml path instead of json path to read the response.
Serialize pojos to create json request bodies for REST Assured by adding Jackson data bind, defining booking and booking dates classes, and wiring getters, constructors, and toString.
Demonstrates deserialization of a create booking response into a BookingID Pojo, including a nested Booking, using Rest Assured, with validation via equals and toString, and showing two coding styles.
Master rest assured for api tests and begin api test automation for beginners, while inviting feedback to improve this course.
Explore discount coupons for my test automation courses, learn to apply month and year coupons on Udemy, and access resources, blogs, and an XPath cheat sheet.
Make the next step in your test automation career with REST Assured!
Testing and validating REST services in Java is harder than in dynamic languages such as Ruby and Groovy. REST Assured brings the simplicity of using these languages into the Java domain.
"REST Assured. API test automation for beginners" tutorial is created for Manual Software Testers and Test Automation Engineers that want to learn how to quickly start automating REST API tests.
Every step, from the set up of the rest assured java framework to executing your automated REST API test, is explained in detail.
"REST Assured. API test automation for beginners" course requires some Java or other OOP knowledge.
This course is designed for beginners in REST Assured, but not for beginners in test automation.
More and more Software QA positions require some test automation, and not just UI-level test automation. Selenium WebDriver experience is often not enough to land high-paying SDET and Test Automation jobs. It's important to be able to automate API tests. Using tools such as Postman or SoapUI may be good enough for manual testers, but if you want to call yourself an experienced test automation engineer, you need to know how to develop your tests using code and tools like REST Assured.
At the end of this REST Assured course, students will be able to automate Rest API tests with REST Assured using Java and TestNG framework. Execute every possible REST method and use advanced RESTAssured features. Use TestNG features for better test structure and easy framework maintenance.
And most importantly, be able to receive a promotion at the current job, or get a new job that requires Rest Assured or other test automation experience.
Don't wait, learn API automation with REST Assured!