Testing

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

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

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

Combining Gatling Reports

Reading Time: 4 minutes Hi guys, In this blog, we shall discuss about the report generation through Gatling and combining Gatling Reports. As you may already know, when we run a Gatling test the report gets generated automatically. However, you cannot compare the Gatling test report of two different tests in a single report unless you have the enterprise version of Gatling. I will try to explain an easy Continue Reading

How Easier the Performance Testing with Jmeter.

Reading Time: 3 minutes Many developers were struggling with HP LoadRunner/Performance Center. To overcome these difficulties, it’s important to utilize easy to use testing tools. If the testing tool is user-friendly for the developers/testers, they will use it and explore its possibilities. If it’s difficult to incorporate in the daily work, only a small fraction of developers/testers will use this testing tool. The others will either ignore it or Continue Reading

Karate DSL : Getting started

Reading Time: 4 minutes Hello guys, this is a short blog on how to setup a maven project in karate DSL and small introduction to it’s directory and file structure. So let’s start with, Why should we use Karate DSL? Karate DSL is an open-source framework that can be used for API testing, front-end UI testing, and performance testing as well. The main advantage of karate is that it Continue Reading

Running postman collections using Newman in Jenkins

Reading Time: 3 minutes We can write the automation test suite for any service which can be used for performing regression testing. But we can also integrate our automation test scripts using Newman in Jenkins CI/CD pipeline which can be triggered automatically whenever a pull request gets merged. We need software installed on our system locally: Jenkins Node NPM Postman (For writing the collection) Files for execution Firstly create Continue Reading