Spark is a simple embedded Java WebServer. I can also spin it up during JUnit tests to make my testing easy.
http://blog.javafortesters.com/2018/0...
In this video I show:
An overview of Spark Java Embedded Web Server
How to use it during JUnit execution
Abstraction code separating Spark from my Application