Testing

Difference between Mockito and JMockit

A Brief analysis on Mockito And Jmockit Mockito JMockit 1. We can achieve Static method/constructor mocking by the combination of Mockito with Powermock. 1. Static method/constructor can be mocked directly in JMockit. 2. The Mockito API contains several inconsistencies in the syntax used for invocations to mocked methods. In the record phase, we have calls like when(mock.mockedMethod(args))… while in the verify phase this same call Continue Reading

JMockit: A beginner’s guide for Unit Testing

So we are following TDD, And we are working on unit test cases, And then we are stuck with mocking. Well this was the situation we faced. And while going through various API tools for mocking, we came through this amazing toolkit: JMockit. What is JMockit? JMockit is open source software licensed under the MIT License. It includes APIs for mocking, faking, and integration testing, Continue Reading

Unit Testing Of Kafka

Apache Kafka is a distributed publish-subscribe messaging system and a robust queue that can handle a high volume of data and enables you to pass messages from one end-point to another. Generally, data is published to topic via Producer API and  Consumers API consume data from subscribed topics. In this blog, we will see how to do unit testing of kafka. Unit testing your Kafka Continue Reading

TUTORIAL 3 :Using Tags in Cucumber

Hello Everyone, Now We will go through the TAGS in cucumber. You can read the previous post related to how to write a  Test Script in CUCUMBER : here In chapter of Feature if we have many Scenarios , to put them under a single umbrella, we use tags in our cucumber through which we will be able to generate reports for specific scenarios under the same Continue Reading

Tutorial 4: Background in CUCUMBER

Hello Everyone, In this Series we will try to understand that how to organize our scenarios using background. When we write  multiple scenarios within single feature file with repeated steps. Starting steps which are common in all the scenarios can be pulled out into a Background test steps. Using background, we can make the feature file more readable and less complex in lieu of writing Continue Reading

Tutorial 2:Introduction on how to write a First Test Script in CUCUMBER

Hello Everyone, In this series of blog it’s time to look into how to write test cases in cucumber and execution of these test cases.Follow these Steps for the Same. You can read the previous post related to installation of cucumber: here Step 1: We will use the test package to define the location of features (Resources folder), step definitions (Java folder) and other files. Then Continue Reading

Tutorial 1:Cucumber with java maven project

Hi Folks. From this Blog we will start a series of cucumber BDD tool .Before go through the cucumber We should know how to integrate cucumber with java maven project. To run Cucumber test with Java, following are the steps. Step 1. Install Eclipse IDE -Make sure java should already be installed on your machine. Step 2. Then Create the New Project in Eclipse IDE by following steps: Continue Reading

Jmeter Load Testing:Send and Receive Email

Email notification, send email and retrieve email is a important part of any company or organisation so if you have your email server and want to know the email performance of email server then we can use the jmeter. Beauty of jmeter is it gives the power in your hand you can measure the performance of send email same as received email performance.So we can Continue Reading

Tutorial 2: How To Diagnose using Dynatrace (APM) Tool

In my Last blog, we went through the introduction of Dynatrace Digital Performance tool. In this subsequent blog, we will learn how to diagnose this tool. Once you open the Dynatrace client,  you will be landed to a dashboard page where you can easily view recent activity of all the requests to the server (picture given in the last blog). We can easily connect with different hosts by Continue Reading

Appium-Mobile App Automation[Test an app]Part-2

In our last blog we describe Installation and configuration of Appium on Ubuntu machine.Now we explain how to run automation test case on android device using appium. So for test the app we have to put the app apk in android device which we want to test.After that we start the writing the code using selenium webdriver.We are using TestNg famework with selenium webdriver. So Continue Reading

Jmeter-Handle Hyperlink in jmeter

We already know how to Jmeter works but some time we face the problem how to use Regular expression.So this time i just explained how to handle hyperlink in a webpage using regular expression. Suppose we have a scenarios like we have to check all the links in a website using jmeter and also we want to know the loading time of all the links Continue Reading

Spark – LDA : A Complete example of clustering algorithm for topic discovery.

In this blog we will be demonstrating the functionality of applying the full ML pipeline over a set of documents which in this case we are using 10 books from the internet. So lets start with first thing first.. What is Clustering ? Clustering is the task of grouping a set of objects in such a way that objects in the same group (called a Continue Reading

Improve Memory Usage and Performance of Application Using Yourkit Profiler

In this blog we are walking through how to improve performance of application using Yourkit profiler it is  helpful for both Tester and Developers. Your Kit is big achievement in the evolution of the profiling tools. It is intelligent tools for profiling java , .net and ( JVM support languages)  based applications. It is often important to check memory usage and memory used per process on servers Continue Reading

%d bloggers like this: