SDET Interviews

SDET Java Interview pattern and collection of questions covering SDET coding challenges, automation testing concepts, functional, api, integration, performance and security testing, junit5, testng, jmeter, selenium and rest assured

Creating custom Tag in Junit5 based tests

Upasana | October 29, 2019 | 1 min read | 248 views | java junit

Junit 5 has a concept of Tag which is used for filtering tests during execution. Further, Junit Jupiter annotations can be used as meta-annotations i.e. instead of copying and pasting @Tag throughout your codebase, you can create a custom composed annotation named @Security as follows.

Read Article

Writing a simple Junit 5 test

Upasana | October 27, 2019 | 2 min read | 96 views | java junit

In this article we will write a simple JUNIT 5 based testcase, to get you familiar with syntax of Junit Jupiter framework.

Read Article

Using Java 11 HttpClient with Kotlin Coroutines

Upasana | October 27, 2019 | 2 min read | 225 views | java-httpclient

In this article we will explore how Java 11 HttpClient can be utilized for making non-blocking Http requests. We will also explore how this callback based code can be greatly simplified using Kotlin Coroutines.

Read Article

HTTP Head request using Java 11 HttpClient - Kotlin

Upasana | October 27, 2019 | 3 min read | 524 views | java-httpclient

In this article we will learn how to make HTTP Head request using Java 11 HttpClient Api. HttpClient supports both sync and async versions for send request method.

Read Article

HTTP GET request with Java 11 HttpClient - Kotlin

Upasana | October 27, 2019 | 2 min read | 827 views | java-httpclient

In this article we will learn how to make HTTP GET request using Java 11 HttpClient Api in sync as well as async fully non-blocking mode.

Read Article

Check if the given string is palindrome

Upasana | September 09, 2019 | 2 min read | 575 views | Java Coding Challenges

In this article we will write java code to check if the given input string is palindrome or not.

Read Article

Junit 5 Platform Launcher API

Upasana | September 08, 2019 | 2 min read | 516 views

Running Junit5 based tests programmatically from java/kotlin code based on selected package/class and tag filters using Junit Platform Launcher API.

Read Article

How to reverse a number in Java

Upasana | September 07, 2019 | 1 min read | 1,108 views | Java Coding Challenges

This is a common SDET interview questions where interviewer asks for reversing a number using any language.

Read Article

Creating custom exceptions in Java

Upasana | August 05, 2019 | 1 min read | 854 views

If we need a fine-grained categorization of error/exceptional situations, Java provides us with an option to define custom exceptions with detailed message that differentiate one situation from another.

Read Article

Find two numbers of which the product is maximum in an array

Upasana | May 27, 2019 | 1 min read | 771 views | Java Coding Challenges

We can easily find two number in an array whose product is maximum by sorting the input integer array in descending order first and then multiplying the first two numbers.

Read Article