
Explore api testing with javascript using Cypress 10, learn to execute web requests, and master basic and advanced api automation in a browser-based container for consistent results.
Enable the ports from the git part yaml file and allow browser popups, then open the VMC viewer at 6080, and start Cyprus by choosing Chrome.
Set up a free Source Labs account to use API Fortress for tests, then write and run Cypress tests in Visual Studio Code with results visible in the Cypress dashboard.
Fix errors in a Cypress test exercise by debugging unexpected tokens, nested browser issues, and getting tests to run.
Tackle a Cypress test solution by identifying a fix, using Visual Studio to verify changes, deleting line 19, and rerunning tests to confirm the corrected state.
Learn API testing with common methods and automation, using JSON Placeholder to practice web requests with fetch or axios, and inspect responses, status codes, headers, and endpoints.
Learn JavaScript and Cypress to validate create, read, update, delete operations by checking response bodies and status codes like 200 without a user interface.
Automate a get request using Cypress 10 by implementing the get exercise against the provided URL, inspecting a blog-style comments payload and following the exercise instructions.
Automate a get test with Cypress using the Cypress UI to run and validate the test, noting it passes when no commands are issued.
Perform the api get exercises by sending a web request to a url, verify status 200, and validate the response body with assertions to support Cypress requests documentation.
Learn how to validate an API get request using Cypress 10 in JavaScript, including status code checks, test assertions, and focusing on individual tests to debug efficiently.
Explore how to perform get requests with Cypress 10 using a query string object, passing url and options, and controlling encoding, authentication, and redirects.
Learn to use post requests to create and update records by sending a body to an endpoint url, and practice with API Fortress.
Explore posting data with a JavaScript HTTP client, testing post requests against an API, verifying 201 created responses and subsequent gets to confirm object creation.
Explore the 501 json placeholder exercise, practice retrieving comments with get requests, and review creating, updating, and error handling for api testing with JavaScript and Cypress 10.
Explore API testing with JavaScript and Cypress 10 as you validate status codes like 501, 500, 400, and 401, and ensure endpoints return clear, accurate errors.
Automate posting by creating a new post with Cypress, mirroring the API Fortress workflow to automate user creation and handle timeouts during tests.
Automate a post request with Cypress by sending a body including user id and title, log the response, and verify status and echoed fields like title.
Finish post exercise by creating a new user via the API, using Cypress aliasing to log the request and response in the console, and link end-to-end testing with API testing.
Test post requests with Cypress in api testing, log the created object, use aliasing for reuse, and assert on response fields like title and body.
Learn api testing with authentication for apis and techniques such as intercepting network requests, with bonus spec exercises and additional resources.
Learn authentication with APIs using JSON web tokens, and explore Cypress examples for secure API access, including pulling repos locally and running the setup.
Explore authentication methods for web apps—basic login, single sign-on, and json web tokens—in an api testing exercise, with setup via npm install and starting the app.
Explore how API authentication pairs UI with token-based login, bearer tokens, and local storage to verify authenticated interactions in API tests.
Explore a Cypress repo for end-to-end testing and learn to handle authentication types like JWT and single sign-on in tests, including whether to log auth via API.
Learn end-to-end authentication testing with Cypress by validating the login ui hits the right endpoint and the correct request body, and weigh api tests and handle submit component tests.
Conclude the course by presenting bonus resources and additional materials at the end, inviting you to browse them to reinforce API testing concepts with JavaScript and Cypress 10.
API testing with JavaScript is an important part of the software development process. It ensures that the application is working as expected and is able to facilitate communication between different components.
By running tests on the API, developers can ensure that the functionality of the application is intact and that any changes made to the system don’t affect the overall performance of the application. JavaScript makes it easy to write and execute tests, enabling developers to quickly and easily verify that their software is working correctly.
With the right testing tools, developers can ensure that the APIs they are working with are reliable and secure. This is essential for ensuring that the application is able to provide the desired results.
In this new tutorial, you will learn how to implement automated API testing with Cypress 10.
Ready to start? Check out the full curriculum and jump into the tutorial.
What our students are saying?
"I appreciate the time the instructor put on this course as well as the opportunity to get familiar with TestProject free of charge. Well explained, however, if you are using Windows and you are new in Automation Testing, you might find it a bit challenging with adding the SDK Token in your system environment since the instruction used MAC which is completely a different way with windows. Other than that... I appreciate a lot this free course .... thank you so much"
“I like the fundamental approach used by the author. Will see:) To prepare for such a course - it's a really hard and big job. Respect and thank you.” - Serhii Kovalenko
“Wonderful content and things explained in a nutshell. Overwhelmed by Author's dedication to putting things in such a way that any novice or manual tester can follow and understand and definitely be on-boarded as a Selenium Automation Engineer the next day at work. Thanks a million times for creating these courses! One Stop for Automation." - Rupashree Geethaaviji Ananthakrishna
“I am familiar with Nikolay from a course I saw on TestAutomation and have the highest regard for him. Glad to see him on Udemy.” - Annamalai Viswanathan