HttpClient with SSL

2021 VietMX 0

1. Overview This article will show how to configure the Apache HttpClient 4 with “Accept All” SSL support. The goal is simple – consume HTTPS URLs […]

Posting with HttpClient

2021 VietMX 0

1. Overview In this tutorial – we’ll POST with the HttpClient 4 – using first authorization, then the fluent HttpClient API. Finally, we’ll discuss how to Upload a File […]

HttpClient 4 Cookbook

2021 VietMX 0

1. Overview This cookbook shows how to use the Apache HttpClient 4 in a variety of examples and use-cases. The focus is on HttpClient 4.3.x and above, so […]

HttpClient Timeout

2021 VietMX 0

1. Overview This tutorial will show how to configure a timeout with the Apache HttpClient 4. If you want to dig deeper and learn other cool things […]

JUnit5 @RunWith

2021 VietMX 0

1. Introduction In this quick article, we’ll cover the usage of the @RunWith annotation in the JUnit 5 framework. In JUnit 5, the @RunWith annotation has been replaced by the […]

The Order of Tests in JUnit

2021 VietMX 0

1. Overview By default, JUnit runs tests using a deterministic, but unpredictable order (MethodSorters.DEFAULT). In most cases, that behavior is perfectly fine and acceptable; but there’re cases […]