Hi, On Tue, Dec 1, 2020 at 10:24 AM Stefan Seifert <[email protected]> wrote: > ...maybe wiremock? it does real HTTP communication but neatly integrated in > junit (i've not tried to use it with JUnit 5). > https://github.com/tomakehurst/wiremock ...
I've been using wiremock in Sling, https://github.com/apache/sling-org-apache-sling-junit-teleporter/blob/master/src/test/java/org/apache/sling/testing/teleporter/client/TeleporterHttpClientTest.java and like it! Note that that code is from 5 years ago, there's probably been improvements in the meantime. -Bertrand
