API Testing with JavaScript and Cypress 10

Common HTTP methods

How to execute web requests

Basic and advanced API automation

Setup, Run Test and API Implementation

Requirements

  • Basic understanding of JavaScript

Description

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

Who this course is for:

  • Intermediate developers looking to learn how to implement API testing with JavaScript.

Course content

6 sections • 28 lectures • 1h 10m total lengthExpand all sections

Introduction1 lecture • 2min

  • Introduction01:30

Run Test and Setup2 lectures • 6min

  • Run Test01:19
  • Setup04:40

Cypress Test Exercises and Solution2 lectures • 3min

  • Cypress Test Exercise01:32
  • Cypress Test Solution01:32

API Testing, Exercises and Solutions16 lectures • 44min

  • API Testing Overview03:52
  • What Is API Testing and Its Advantages04:50
  • Automating a GET Exercise01:40
  • Automating a GET Solution00:51
  • API GET Exercises01:02
  • API GET Request Solution02:56
  • Implementing GET Method (String) Options04:24
  • API POST Exercise01:03
  • API POST Solution07:38
  • 501 Json Placeholder Exercise01:09
  • 501 Json Placeholder Solution03:23
  • Automating A POST Exercise00:55
  • Automating A POST Solution04:08
  • POST Exercise02:09
  • POST Solution02:37
  • Summary01:06

Authentication with APIs, Exercises and Solutions5 lectures • 15min

  • Authentication with APIs00:55
  • Authentication with APIs Exercise01:02
  • Authentication with APIs Solution08:29
  • Cypress REPO Exercise00:46
  • Cypress REPO Solution04:06

Closing Remarks2 lectures • 1min

  • Conclusions00:16
  • Bonus Lecture00:16