Slackbot
02/15/2023, 5:24 PMDaniel Ma
02/15/2023, 6:05 PMprivate static int port = 6677; @BeforeEach
public void setup() {
wireMockServer =
new WireMockServer(WireMockConfiguration.wireMockConfig().port(port));
wireMockServer.start();
<http://log.info|log.info>("WireMockServer started at : {}", wireMockServer.baseUrl());
}
Daniel Ma
02/15/2023, 6:06 PMShruti Sagar Mishra
02/15/2023, 6:15 PMShruti Sagar Mishra
02/15/2023, 6:15 PMDaniel Ma
02/15/2023, 6:16 PM6677
which works for me. but I think you can use other port number as wellShruti Sagar Mishra
02/15/2023, 6:18 PMShruti Sagar Mishra
02/15/2023, 6:18 PMRob Elliot
02/15/2023, 6:49 PM