Wiremock is a great tool which lets you mock responses back to an endpoint. If you setup your app to proxy through it, you can set your own responses to matching requests – great for testing.
- How to run a Jar file using an Azure Web app:
- How to serve a Jar website in Azure:
I’m going to try this out next week. It should be simple enough to invoke the app using the scripts in the links above, which essentially starts a web app which routes all web requests through to the jar.
Edit: I still need to come back to this, the last time I tried this it didn’t work and then I got distracted by work!