- Introduction
- Start a Server
- Register endpoint
- Testing endpoint with Postman and Cypress
- Updating Cypress to be robust
- Creating Mongo DB
- Hiding username and password in env file
- Registering out first user
- Add positive and negative test case
- Making a more robust test
- Removing duplication
- Add body validation logic
- Add creation validation test
- Extract validation
- Logic to avoid duplicate user creation
- Encrypt a password
- Add login endpoint
- Testing the login endpoint
- Add JWT
- BONUS LECTURE!!!
What you'll learn
- How to create the API endpoints
- How to install and use Cypress
- How to create a Mongo database for your API
- How to encrypt passwords
- How to create negative and positive tests for API flows in Cypress
- How to make the tests robust and remove code duplication
Description
Have you ever wondered how a login API actually works? Have you ever wanted to learn how to test the login API?
We created this free tutorial to fill this knowledge gap.
I'll walk you through how to:
How to create the API endpoints
How to install and use Cypress
How to create a Mongo database for your API
How to encrypt passwords
How to create negative and positive tests for API flows in Cypress
How to make the tests robust and remove code duplication
This is a tutorial for test automation professionals who already have an understanding of:
How APIs work
You have basic JavaScript knowledge
You want to keep improving in your domain
Prerequisites for the course:
A Windows or Mac computer
IntelliJ installed
Postman installed
So what are you waiting for? Let's jump into the tutorial.
Don't just take my word for it, check out what existing students have to say about my other courses:
“The C# section is taught by someone else, which surprised me, but I think they did a great job at instructing at a beginner level. The Selenium materials are quite comprehensive and the instructor is easy to follow and understand.
“Well I can't explain in words how much am excited after completing this course. The more I was close to completion the more am getting excited. You are a great instructor Nikolay. You don't just taught Selenium but other aspects of being a beautiful coder. Now am pretty confident and can say "Yes" to my clients when they need me to automate the application. Thank you Sir for all the hard work and effort you put in the course. Surely would like to see you in another engaging course!” - Randhawa Verma
“Wonderful content and things explained in a nutshell. Overwhelmed by Author's dedication to put 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 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
“One Of the Best courses on Selenium With C#. Cheers Nikolay!!” - Saransh Vaid
Other Courses
Learn Bootstrap 4 by Example
Skip those boring courses full of slides and learn Bootstrap 4 by doing!
Advanced Amazon Bundles
Using The Power Of Product Bundles With Amazons Sponsored Ads To Eliminate Competition
Connecting to Community, Health, and Governmental Services
Basic Training for Violence Peer Counselors in California
Angular 2 & 4 complete tutorial with additional firebase
A course complete course in building world standard web and mobile first applications with angular2
Vedic Astrology - Krushna Ashtakavarga System Program
Introduction to the KAS & KAS Program
About the instructors
- 4.28 Calificación
- 125004 Estudiantes
- 23 Cursos
Nikolay Advolodkin
Principal solutions architect and passionate teacher
Nikolay Advolodkin is a prolific Automation Test & Quality Assurance Engineer. Currently, he is the CEO and Software Testing Instructor at Ultimate QA. He has been voted as one of 33 Test Automation Leaders to follow in 2017 by TechBeacon. He is also the #1 Selenium Webdriver instructor in the world as rated by Udemy.
He is a frequent Contributor for the blog, SimpleProgrammer and a speaker at Automation Guild 2017.When he isn’t immersed in the realm of coding and all-things QA, Nikolay Advolodkin enjoys self-improvement and aims to hone his vast skill set daily, all while teaching online students how to master automated software testing.
Student feedback
Course Rating
Reviews
Very Old and not helpful!
Well explained, so far so good