Testing Rest APIs using Spring 5 WebTestClient

WebTestClient contains request methods that are similar to WebClient. 

In addition, it contains methods to check the response status, header and body. 
You can also use assertion libraries like AssertJ with WebTestClient.

Comments