Setting up cucumber and sbt in IntelliJ

If you want to look into a starter project where cucumber feature file can be run right from IntelliJ IDEA with sbt as a build tool, this blog is a perfect match.  I will put the below ingredients and complete recipe on how to write a feature file and plug it in with your implementation steps in IntelliJ IDEA. Ingredients: build.sbt First three lines may Continue Reading

Do you think your code is Perfect? Well, Think again.

“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” – Martin Fowler “I can code.” I always say to myself. But do others think the same? Is my code good enough for people to understand? Do other people think “Damn I wish I could write such code.?” –  that’s the main question I always had in Continue Reading

How to start with Vega : The web security scanner?

Vega – Web security scanner and web security testing platform. Alright, Today I have come up with an interesting topic which is Vega and this blog is inspired by the last blog I wrote on web security. Vega is nothing but a tool, we will talk more about Vega in a while but let’s first talk ‘Why Vega’. So, next when you are done with your Continue Reading

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

Test Script Execution Recording using Selenium Webdriver

Everyone has known how to take the screenshot in selenium web driver but when we ask how to take a video recording of the test script in web driver, people have no idea. So here I describe how to capture test script video in selenium web driver. When the execution time of your script is too long so you can record your script and then you Continue Reading

Testing HTTP services in Angular

Prerequisites : 1. Understanding of Angular. 2. Understanding of Component’s unit tests in Angular 3. Understanding of Karma and Jasmine Http Service Let’s consider a simple service to get data using get method of Http service. Let’s start with writing a test case for this service. Configuring Testing Module for Service:

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

Introduction To HADOOP !

Here I am to going to  write a blog on Hadoop! “Bigdata is not about data! The value in Bigdata [is in] the analytics. ” -Harvard Prof. Gary King So the Hadoop came into Introduction! Hadoop is an open source, Java-based programming framework that supports the processing and storage of extremely large data sets in a distributed computing environment. It is part of the Apache 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

Solr With Scala : Basic Introduction to Embedded Solr

Hello Folks, As we discussed earlier Solr with Scala and AkkaHttp in our last blog we have used Solr as a service and tried to hit solr service with the AkkaHttp and spray routes. Here is the link for the Recap. When we want to do testing for those methods which are creating connection with the remote solr server, have to use Embedded Solr for Continue Reading

Jenkins – Integrating Email Service

Jenkins is one open source tool to perform continuous integration and build automation. Using it, all development work can be integrated as early as possible. The resulting artifacts are automatically created and tested and as a result the process of identification of errors becomes faster. But there must be a way so that build status and testing results can be reported to the team. And Continue Reading

Jenkins Build Jobs

In continuation to my previous blogs Introduction to Jenkins and Jenkins – Manage Security , I will now be talking about creating build jobs with Jenkins. It is easy and simple to create a new build job in Jenkins. Follow the given steps to get started: From the Jenkins Dashboard, Click on “New Item” Name your project and select project type. Click on “Ok” to Continue Reading

Blending Cucumber, Cassandra and Akka-Http

Folks, Knoldus has always pioneered the deep diving into the best ways to use cutting edge technologies. In the past few days, one of our team carried this deed by integrating Cucumber with Akka-Http, Cassandra and of course, Scala. In this blog, we reach out to you to explain and show how this can be done. Cucumber Cucumber is for Behavior Driven Design (BDD). The Continue Reading

%d bloggers like this: