This project aims to set up Wiremock server and explore different scenarios to stub APIs.
A web-based weather application is implmented which calls OpenWeather API to display current weather. This project stubs the response from OpenWeather API
- Install JDK 8 and Maven
- OpenWeather API key, follow instructions here
Run on the terminal:
java -jar wiremock-jre8-standalone-2.27.0.jar
Wiremock would start on https://localhost:8080