
Let's start the awesome journey to Learn API and API Testing. We are going to Master the API Testing in Postman and Use it in our daily Software development life-cycle.
We also will learn how to use the collection made in Postman Tool to Run in Continuously Integration/Delivery environment Jenkins & Docker.
In this lecture, We are going to learn about the HTTP Basics, Authentication and what is Cookies?
In this tutorial,I am going to cover about the What is API. We will learn the most used WEB API that is REST API's basics. We will dive into some HTTP Methods which are commonly used.
Before Testing API we need a Tool that can help us to Test the APIs.We will installing Postman. Our journey to Mastering Postman starts now.
Updated code
pm.test("Your test name", function () {
var jsonData = pm.response.json();
pm.expect(jsonData.value).to.eql(100);
});
Postman command line tool newman tutorial
Here is Questions List ► https://mm.tt/1352101052?t=6NxKjCXNfJ
Question's List ► https://mm.tt/1352593820?t=BVzY79wJk0
Question's List ► https://mm.tt/1353313271?t=4azUH0phJ5
Question's List ► https://mm.tt/1354421078?t=Lb7uY4TU0G
Cheklist - https://github.com/shieldfy/API-Security-Checklist
In this course, We will Master the API Testing, We will learn how an Experience Testers Write Test Cases for the API Testing in the POSTMAN(API Testing Tool) and Create an Automation TestSuite to run it regularly and Integrate it in the Continuous Integration Delivery Stack(CI/CD Stack).
API Testing Basics Covered : -
Introduction to API & API Testing.
HTTP Methods & Fundamentals.
Authentication & Cookie basics.
File Upload and misc Web fundamentals.
Test Coverage and Code Coverage.
Approach of API Testing, Writing Test Plan and Test Cases.
Performance Testing Plan and Execution.
Best Practices of API Testing.
Load Testing of the API using JMeter.
We will explore the features of the POSTMAN :-
Installation of Chrome App and Native App.
Environments & Variables.
Setting up Pre-Script/ Post-Scripts
Writing Test Cases in POSTMAN.
Exporting POSTMAN Request in Different Programming Languages.
Validate JSON Schema.
Advance Use of Assert Framework(Chai assert framework) in POSTMAN.
Consecutive Request in POSTMAN and Passing variables to Other request.
Collections.
Test Runner.
Import/Export Collection or Test Data or Request.
Newman( Monitoring POSTMAN Requests) & Running Test Cases on the Docker Jenkins
POSTMAN Interceptor.
Proxy Settings.
Generating API Documentation.
TEAM library.
Sharing Collection as V1/V2 format.
Debugging Request using Console /Dev Tools.
Mock Servers.
Notifications.
Keyboard shortcuts.
How to Be a Part of Community of POSTMAN.
API Testing Interview Questions - Part 1,2,3,4 ( 101+ Questions)
Assuming Beginner in the API Testing, First, we'll learn about "What is API and how do we test them", after that, we'll create a POSTMAN Test suite(collection) and add our validation framework to it. After finishing our Test Suite, we will run collection command-line and add it as Jenkins Job(monitoring purpose).
Next steps will include the Test Coverage for the API-Testing and how to perform the Load Testing of the API using JMeter and More Advance Concepts in POSTMAN.