Quality Assessment (QA)

Gatling for SSE Protocol

Reading Time: 3 minutes Hi Guys, In this blog, we shall discuss about the SSE(Sever-Sent Events) protocol. Further in the blog we will also try to learn to create a simple Gatling Scripts for this protocol as well. Let’s not jump directly to the script part, but first let us learn about the SSE protocol and how it is different from WebSocket protocol. How SSE protocol is different WebSocket Continue Reading

Jmeter-Extract data using Postprocessor Part-I

Reading Time: 3 minutes Jmeter is used to perform load testing. I have already discussed how it is easier and how can we use Jmeter in my earlier blogs. So let’s move some common problems of JMeter.Actually not a problem, but for many us it is difficult to extract data in Jmeter. Sometimes in Jmeter, we need to pass the data in the request externally. There are many options Continue Reading

Postman-Extract value from the JSON object array

Reading Time: 3 minutes Most of us are using postman for automating the Rest API. In automating the requests, we need to pass the data in many requests in different forms. It will be in the datasheet/excel form, database and also sometimes need to extract data from JSON response of any request. Postman lets you write scripts that run before/after you receive a response from the server. The pre-request Continue Reading

Data driven testing using karate DSL

Reading Time: 3 minutes In the previous blog, we saw that we can integrate our test cases with Jenkins. Now, in this blog, we will see how we can achieve data-driven testing using karate DSL. What is DDT? DDT or data-driven testing is an technique in which we read the data from a table or an excel sheet or a CSV file (or any external file), and take them Continue Reading

Going stateful with Gatling Session API.

Reading Time: 4 minutes Hello Everyone, In our previous blog post Gatling feeders and feeder strategies we have discussed what are the different ways to inject the data in our simulation from different data sources.  Today we will discuss: Real-time use case (Problem Statement)  Solution: Gatling Session and Session API Injecting Data with Gatling session API Extracting data with Gatling session API Some common exceptions Real-time use case (Problem Continue Reading

Running Multiple Tests using JUnit

Reading Time: 2 minutes In this blog we are going to discuss an approach to run multiple tests using JUnit and for this task we will user JUnit Platform Launcher API. We are going to create a demo project in Maven that uses the Launcher API to discover and run tests. Lets add some dependencies to our Maven project: <dependencies> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>5.6.0</version> </dependency> <dependency> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> <version>5.6.0</version> Continue Reading

karate DSL : POST and GET API calls

Reading Time: 3 minutes In the previous blog, we saw how we can set up a project in karate DSL and saw the folder structure in this blog we will see how to make POST and GET API calls and how it can be automated using karate DSL. First, we need to create a .feature file where we will write our test cases. We have already seen the file Continue Reading

Integrate TestNG and Json-Server with Rest-Assured

Reading Time: 6 minutes A quick intro about Rest Assured? Integration of  TestNG with Rest-Assured What is  JSON Server and how to set it up. How to create or setup a project? Let’s get to our first question. What is Rest Assured? In brief Rest Assured is nothing but a JAVA library or a set of JAVA APIs for testing and validating RESTful webservices. In other words, REST Assured Continue Reading

Recording of Jmeter Script Part-2

Reading Time: 4 minutes In my 1st blog, we come to know about the JMeter.Why should we choose Jmeter for performance testing as it is easier to use. In the 2nd blog, we learn how to record the JMeter request using BlazeMeter extension which was the 1st part of Recording of Jmeter Script. Here in this blog, we will learn the 2nd way of Jmeter request recording-Using Jmeter Proxy. Continue Reading

Automate your API Test Cases Using REST-ASSURED

Reading Time: 5 minutes Here, we’ll discuss about how can we automate our testing of RESTful webservices using REST ASSURED Never used Rest-Assured before? That’s not a problem because today I’ll explain right from the scratch. As a result, that beginners can also start their journey of testing APIs using Rest-Assured What is Rest Assured? In brief Rest Assured is nothing but a JAVA library or a set of Continue Reading

Jenkins Integration using Karate DSL

Reading Time: 2 minutes In the previous blog we saw how we can use karate DSL and read data from external files. Now, in this blog we will see how we can have Jenkins integration using karate DSL. Requirements Jenkins JDK karate project Setting up Jenkins We will be using a maven project and a java class to execute our test. In order to do that we will be Continue Reading

Understanding Java Enums

Are you worried about the broken links on your Application?

Reading Time: 3 minutes Nobody wants that his/her application is having even a single broken link. Now again a question arises that, Then What should we do about that? Do we need to click every single link and check if its working or not? Definitely no one will do that tedious thing. As a result we’ll not be able to complete our deadlines. In Today’s world every application have Continue Reading

Recording of Jmeter Script Part -1

Reading Time: 3 minutes Nowadays our life in this innovative era is driven by web application. With such a growing significance of web applications,there is also a requirement to conduct performance testing. So in this blog we will learn to create/record  the script for load testing. Here we will record the script in two different ways. Using Blazemeter Extension. Using Jmeter Proxy. Now to record the script using jmeter Continue Reading