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

Migrating Spring Boot tests from Junit 4 to Junit 5

Carvia Tech | July 10, 2020 | 3 min read | 4,686 views | java junit

In this tutorial we will learn to migrate existing Junit 4 testcases in Spring Boot 2.2.0 to Junit 5.

Read Article

h2load for REST API benchmarking

Carvia Tech | May 03, 2020 | 3 min read | 577 views

h2load is a benchmarking tool for HTTP/2 and HTTP/1 with support for SSL/TLS. h2load uses non-blocking IO for making concurrent calls to target GET/POST endpoint.

Read Article

Get distinct words from a given file in Java

Carvia Tech | February 13, 2020 | 2 min read | 225 views

Using HashSet data-structure we will extract distinct words from a given file. Java 11 and Kotlin solutions will be provided for this coding problem.

Read Article

Top 15 coding problems for SDET Java Interviews

Carvia Tech | February 13, 2020 | 1 min read | 662 views

collection of top 15 java coding problems that are relevant for SDET interviews - fibonacci series, anagrams, pangram, factorial, prime number, reverse a number

Read Article

Difference between Enumeration and Iterator in Java

Carvia Tech | December 30, 2019 | 2 min read | 53 views

Iterator is successor to Enumeration which were part of JDK since 1.0, As suggested by Java Docs, we shall always prefer to use Iterator over Enumeration in newer code.

Read Article

REST Assured Basic Authentication

Carvia Tech | December 30, 2019 | 2 min read | 3,202 views | Rest Assured

In this article we will explore how to access Basic Auth protected resource from Rest Assured testcase, with a coding sample.

Read Article

Java program to check if two strings are anagrams

Carvia Tech | December 25, 2019 | 2 min read | 1,015 views | Java Coding Challenges

Two strings are called anagrams if they contain same set of characters but in different order. Here we will evaluate anagrams using a Java Program

Read Article

Calculate factorial of a number in Java using recursion

Carvia Tech | December 25, 2019 | 2 min read | 176 views | Java Coding Challenges

We will use recursion to calculate factorial of a number in Java along with a Java 8 stream approach

Read Article

multi-part file upload using RestAssured

Carvia Tech | December 16, 2019 | 3 min read | 3,618 views | Rest Assured

In this article we will learn how to test multipart/form-data file upload feature using RestAssured library, various assertions, and kotlin support.

Read Article

OAuth2 protected resources in RestAssured Testcases

Carvia Tech | December 12, 2019 | 4 min read | 6,920 views | Rest Assured

In this tutorial we will cover accessing OAuth2 protected resources in RestAssured Testcases using Password and client credentials of OAuth2 grant type

Read Article