API Testing Tutorial with Frisby.js

In this tutorial, We are going to learn about how to Test REST API with a very fast, quick Javascript library, Frisby.js.

Thanks for reading! 🙂 If you enjoyed it, hit that share button below. Would mean a lot to me and it helps other people see the story.

1,716 total views, 3 views today


Performance Testing with Jmeter – Installation & Hello World – Part 1

What is Performance Testing ?
Performance testing is a type of testing to ensure software applications will perform well under their expected workload.

Why ?
Performance testing is done to provide stakeholders with information about their application regarding speed, stability and scalability. More importantly, performance testing uncovers what needs to be improved before the product goes to market.

Type of Performance Testing

Load testing — Test the application’s ability to perform under anticipated user loads.

Stress testing — involves testing an application under extreme workloads to see how it handles high traffic or data processing. The objective is to identify breaking point of an application.

Endurance testing — is done to make sure the software can handle the expected load over a long period of time.

Spike testing — tests the software’s reaction to sudden large spikes in the load generated by users.

Volume testing — Under Volume Testing large no. of. Data is populated in database and the overall software system’s behavior is monitored. The objective is to check software application’s performance under varying database volumes.

Scalability testing — The objective of scalability testing is to determine the software application’s effectiveness in “scaling up” to support an increase in user load. It helps plan capacity addition to your software system.

What is JMeter ?

  • The Apache JMeter is pure Java open source software, which was first developed by Stefano Mazzocchi of the Apache Software Foundation, designed to load test functional behavior and measure performance.
  • Measure the performance of web application or variety of services.
  • Measure the performance of APIs service.
  • JMeter originally is used for testing Web Application.

For Full Tutorial, Watch my tutorial on Youtube.

Thanks for reading! 🙂 If you enjoyed it, hit that subscribe button below. Would mean a lot to me and it helps other people see the story.

5,156 total views, 8 views today


API Testing using POSTMAN : Conditional Workflows

What is Workflow in Post man  –

Its a  sequence of the request – If this happens then this happens else this happen is workflow.

How To Use  – 

  1. Specify the name of the subsequent request.
    postman.setNextRequest(“Request Name”);
  2. To terminates execution.

Some Points – 

  • setNextRequest() is always executed at the end of the current script.
    This means that if you put setNextRequest() before other code blocks, these blocks will still be executed.
  • setNextRequest() has a scope, which is the source of your collection run. This means that if you run a collection, you can jump to any request in the collection (even requests inside folders, using the same syntax). However, if you run a folder, the scope of setNextRequest() is limited to that folder. This means that you can jump to any request within this folder, but not ones that are outside of the folder.

This video explain more with Examples


4,170 total views, no views today


API Testing – Using CSV & JSON in Postman

In this Tutorial, We are going to learn how to use CSV or JSON file as data input for the POSTMAN collection.

The Collection Runner let’s you import a CSV or a JSON file and then use the values from the data file
inside HTTP requests and scripts. We call these variables data variables.

Slide – https://docs.google.com/presentation/d/1wgVf6egQDpn5A06K_LxLR3RFp5Ru4eoMN_X0vOO4r7E/edit?usp=sharing

5,401 total views, 4 views today


API Testing using POSTMAN – Newman Basics

Newman – In simple words – Run postman collection commandline and exports results in different formats(html,json,xml etc) and number of times.

It’s created to keep CI in mind( Continous integration).
Build on node js.
Make sure(Node is installed).
Available for the Linux, windows and Mac

In this tutorial, we are building API test suite in Postman and Running it Command Line(Newman).