Source:Getting the IP address of the current machine using Java
Allure.getLifecycle().updateStep(stepResult -> stepResult.setStatus(Status.FAILED));
Allure.getLifecycle().stopStep();
Allure.getLifecycle().updateStep(stepResult -> stepResult.setStatus(Status.FAILED));
Allure.getLifecycle().stopStep();
Allure.getLifecycle().updateStep(stepResult -> stepResult.setStatus(Status.FAILED));
Allure.getLifecycle().stopStep();