WireMock throwing 404 default error. Cant find JSON with path maybe?
This is my code:
public class Tests {
private static WireMockServer wireMockServer;
@BeforeClass
public static void myFirstWiremockTest(){
wireMockServer = new WireMockServer(WireMockConfiguration.wireMockConfig()
.usingFilesUnderClasspath("mappings"));
wireMockServer.start();
RestAssured.baseURI = "
http://localhost";
RestAssured.port = wireMockServer.port();
}
@Test
public void testWireMockAndRestAssured(){
given().baseUri("
http://localhost")...