https://linen.dev logo
#wiremock-java
Title
# wiremock-java
s

Shruti Mishra

05/03/2023, 11:49 AM
Hi Team, In wiremock, when integrating with spring boot...not as a standalone...in the console it is stating that it has started on certain port...but the url is not testable in postman. Is there a necessity to be integrated with service. Can you please suggest an example on this. Thanks.
o

Oleg Nenashev

05/03/2023, 11:53 AM
How do you actually start WireMock in Spring Boot?
s

Shruti Mishra

05/03/2023, 12:12 PM
20230503_173951.jpg
20230503_174225.jpg
20230503_174346.jpg
In console it is stating that it has started in port 8089, but while checking in postman with the same URL, it does not work. Am I missing some configuration over here
IMG_20230503_174529.jpg
o

Oleg Nenashev

05/03/2023, 1:11 PM
And did you try accessing this URL locally? the WireMock server seems to have started properlyfrom the log. Note that 0.0.0.0 is not necessarily mapped to localhost. Depends on your OS and system configuration.
3 Views