#apitesting #restassured #xmlpath#fileupload#filedownload
Topics Covered
How to validate XML Body response
How to validate File Upload API
How o validate File Download API
@1:50 Swagger documentation
@3:58 Choosing a request from all
@5:13 Create a package, a class and import packages
@5:56 Create test method
@7:32 Declaring URL in GET request in When()
@7:50 Validate status code and Header in Then()
@16:50 Validate text in child node from xml response in Then()
@17:51 Validate text in descendant node from xml response in Then() (@23:17 adding index)
@23:36 Execute the test
@25:05 storing response into variable
@25:56 Validating status code using assertions
@26:33 Validating Header using assertions
@27:41 Validate text in child node from xml response using assertions
@30:52 Validate text in descendant node from xml response using assertions
@32:28 Execute the test
@33:28 Create test method
@34:50 Obtain the list of descendant nodes from xml response and validate its size using assertions
@45:31 Execute the test
@45:55 Obtain the list of descendant nodes from xml response
@49:45 Using for loop to print the list of descendant nodes from xml response
@51:15 Validate particular text in the list of descendant nodes from xml response using assertions
@52:45 Execute the test
@56:24 start local API and open in browser
@59:14 Create a class, test method and import packages
@1:00:45 Declaring the file path using `File` class (correction @1:05:40)
@1:02:02 Declaring URL in POST request in When()
@1:02:27 Validate status code in Then()
@1:03:35 Gather JSON response details for same file in POSTMAN
@1:04:20 Validate file name from JSON response in Then() and log response in console window
@1:05:57 Using `multipart` method and refer file path variable in Given() to upload file.
@1:06:53 Declaring input type of file in Given()
@01:09:12 Execute the test
@1:10:35 Declaring the multiple file paths using `File` class
@1:10:54 Declaring URL in POST request in When()
@1:11:14 Declaring input type of multiple files in Given()
@1:12:06 Gather JSON response details for same files in POSTMAN
@1:13:09 Validate the file names present in the anonymous array of the JSON response in Then().
@1:14:05 Execute the test
@1:15:18 Alternative step
@1:18:09 Create test method
@1:18:58 Gather response details for downloaded file in POSTMAN
@1:20:09 Declaring downloaded file URL in GET request in When() and validate status code in Then()
@1:20:22 Log body in console window
@1:21:46 Execute the test
#########################################
Udemy Courses
##########################################
Playwright with TypeScript
https://www.udemy.com/course/learn-playwright-web-api-testing-with-typescript/
Playwright with JavaScript
https://www.udemy.com/course/learn-playwright-with-javascript
Generative AI for Software Testing
https://shorturl.at/Uk2eM
Manual Testing + Agile with Jira Tool
https://www.udemy.com/course/learn-manual-software-testing-with-live-project-jira-tool
Selenium with Java + Cucumber
https://www.udemy.com/course/learn-selenium-with-java-live-project
Selenium with Python & PyTest
https://www.udemy.com/course/learn-selenium-with-python-d/
Selenium with Python using Robot Framework
https://www.udemy.com/course/learn-selenium-with-python-using-robot-framework
API Testing (Postman, RestAssured & SoapUI)
https://www.udemy.com/course/learn-selenium-with-python-using-robot-framework/
Web & API Automation using Cypress with JavaScript
https://www.udemy.com/course/learn-cypress-with-typescript/
JMeter - Performance Testing
https://www.udemy.com/course/learn-jmeter-m/learn/
SDET Essentials (Full Stack QA)
https://www.udemy.com/course/learn-sdet-essentials/
Appium - Mobile Automation Testing
https://www.udemy.com/course/learn-appium-latest-1110-mobile-automation-testing/
Java Collections
https://www.udemy.com/course/learn-java-collections/
Cucumber BDD Framework
https://www.udemy.com/course/learn-cucumber-bdd-framework
Protractor with JavaScript
https://www.udemy.com/course/learn-protractorangular-testing-with-javascript/