This Java Project demo's all the functionalities of WireMock by creating stubs
- WireMockRunner class - Holds Responsibility for running stubs
- WireMockStubs class - Will have all different functionality defined as a stubs / Mock
`.\gradle build'
.\gradle Run
If you need to add any new stub go to WireMockStubs.java
and add you own stub. calling stub is automatically taken care in the code.
By default this code will run WireMock Server in 9997
port .So, When you test, you need to use http://localhost:9997/mockapiendpoint
.
http://localhost:9997/simpleMock
http://localhost:9997/jsonResponseMock
http://locahost:9997/delayed
http://localhost:9997/template?searchFor=WireMock