Testing Java Spark Microservices app that implements SparkApplication interface
问题 I am trying to figure out how to test a web/rest services written in Java Spark and there is not many tutorials on how to do that. It is tricky to find answers due to confusion between Apache Spark and Java Spark . I came across this resource but, I couldn't get it to work the way I had expected. There is also this resource and examples in Java Spark github but they all probably use embedded server. Anyway, Assuming that I have the following service public class RestService implements