Hii I am using wiremock for security testing purpo...
# general
m
Hii I am using wiremock for security testing purposes, and I can run wiremocks on jenkins server but not able to run that on local machine can anyone help me with that
a
What command are you using to start WireMock? Is this WireMock standalone? What error message do you get when trying to run WireMock locally?
m
Copy code
org.eclipse.jetty.util.log.StdErrLog logger = new org.eclipse.jetty.util.log.StdErrLog();
        logger.setLevel(org.eclipse.jetty.util.log.StdErrLog.LEVEL_OFF);
        org.eclipse.jetty.util.log.Log.setLog(logger);

        wireMockServer = new WireMockServer(options().usingFilesUnderDirectory(getDirectoryLocation(toolName)).port(randomWiremockPort())); //No-args constructor will start on port 8080, no HTTPS 
       wireMockServer.start();
this is the code I am using, when run on ssh I provide the endpoint of the server we r using, but for running locally what endpoint should I use?