diff --git a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/other/SOAPAPIImportExportTestCase.java b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/other/SOAPAPIImportExportTestCase.java index 1e52dd84f8..9ad843e699 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/other/SOAPAPIImportExportTestCase.java +++ b/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/other/SOAPAPIImportExportTestCase.java @@ -220,6 +220,9 @@ public static Object[][] userModeDataProvider() { @AfterClass(alwaysRun = true) public void destroy() throws Exception { + if (wireMockServer != null) { + wireMockServer.stop(); + } restAPIPublisher.deleteAPI(newSoapToRestAPIId); userManagementClient.deleteRole(SOAPTOREST_ROLE); userManagementClient.deleteUser(SOAPTOREST_TEST_USER);