Kubernetes Init Container Pattern

Overview Design Patterns serve as reusable and replicable solutions for common challenges in software and architectural design. They advocate for the development of highly cohesive and loosely coupled applications. In today’s era of microservices, these patterns extend beyond traditional software design and find application in infrastructure and deployment. This article explores one such design pattern—the […]

MicroServices – How To Share DTO (Data Transfer Objects)

Overview: Over the years, MicroServices have become very popular. They are smaller, modular, easy to deploy and scale etc. However MicroService architectures do have some challenges. MicroServices have specific responsibilities. In order to complete an application workflow / a task, multiple MicroServices might have to work together. For example, an user would like to buy

MicroServices – How To Share DTO (Data Transfer Objects)Read More »

spring webflux webclient

Spring WebClient Example

Overview In this article, I would like to show you how we could use Spring WebClient for making non-blocking HTTP requests for various CRUD operations. Spring WebClient Spring WebFlux is a non-blocking asynchronous reactive web framework. It includes WebClient (something like RestTemplate) which provides fluent API for making HTTP requests in an asynchronous and non-blocking

Spring WebClient ExampleRead More »

MicroServices – DTO to Entity & Entity to DTO Mapping – Libraries Comparison

Overview: In this article, I would like to show you the performance of few libraries when we do the Entity to DTO conversion or vice versa. Goal: I have an Entity class as shown here. public class Car { private long id; private String make; private int numOfSeats; private Date releaseDate; private Engine engine; //getters

MicroServices – DTO to Entity & Entity to DTO Mapping – Libraries ComparisonRead More »

Selenium WebDriver – Real Time Test Metrics Using Grafana & InfluxDB

Overview: Running automated regression on a daily basis as part of daily build is inevitable nowadays! It is cool to find & report the issues as soon as they are introduced. But it is very painful to maintain hundreds of automated tests & remote parallel execution! Once you have a huge automated regression test suite in place,

Selenium WebDriver – Real Time Test Metrics Using Grafana & InfluxDBRead More »

Selenium WebDriver – Multi-Factor Authentication – SMS

Overview: Multi-factor authentication is a security system which requires more than one authentication method to verify the identity. If your ‘application under test’ has that feature, It might be little bit challenging for you to automate the complete end-to-end flow. TestAutomationGuru has already covered EMail Validation in case if your application includes EMail auth method. We are assuming

Selenium WebDriver – Multi-Factor Authentication – SMSRead More »

Selenium WebDriver – EMail Validation With Disposable EMail Addresses

Overview: Some of our automated tests might require email validation. Your application might send a Welcome email / User registration confirmation with a link to activate the profile / a token to login as part of Multi-factor Authentication…etc.  Your aim could be to check if the email has received or extract some information like auth

Selenium WebDriver – EMail Validation With Disposable EMail AddressesRead More »

AssertJ Custom Assertions For Selenium WebDriver

Overview: In this tutorial, I would like to show you how to create use AssertJ Custom Assertions for Selenium tests. AssertJ: AssertJ is a simple assertion library for Java using which assert statements can be written in fluent style. Fluent APIs make your code readable and easily maintainable. We already have seen few articles on

AssertJ Custom Assertions For Selenium WebDriverRead More »

Selenium WebDriver – How To Generate Test Data Using JFairy

Overview: One of the challenges in software testing is to come up with test data to more or less look like real data. Often test automation engineers overlook the importance of test data in their test script. For example, They tend to write scripts like entering firstname1, lastname1 etc for the first name and last name fields.

Selenium WebDriver – How To Generate Test Data Using JFairyRead More »

Selenium WebDriver – Real Time Test Execution Results Using Elasticsearch & Kibana

Overview: Running automated regression on a daily basis as part of daily build is inevitable nowadays! It is cool to find & report the issues as soon as they are introduced. But it is very painful to maintain hundreds of automated tests & remote parallel execution! Once you have a huge automated regression test suite in place,

Selenium WebDriver – Real Time Test Execution Results Using Elasticsearch & KibanaRead More »