<Best way to mock http server in spring boot with ...
# stackoverflow
u
Best way to mock http server in spring boot with kotlin [2022] I want to test an http repository, and to do so I need to mock an HTTP server. I found this resource that goes over on one way to do so in spring boot, however, it's from 2020. I am not saying it's necessarily a bad or outdated approach, but I wanted to know if there is a more preferable or a kotlin specific way to mock HTTP server now. Any help would be appreciated.