INNER CODE UNIT · Java
getReportPortalLaunchURL
AppiumTestDistribution/AppiumTestDistribution · src/main/java/com/context/SessionContext.java:79
public static String getReportPortalLaunchURL() {
return reportPortalLaunchURL;
}
public static void setReportPortalLaunchURL() {
boolean isReportPortalEnabledInProperties =
(null == reportPortalProperties.getProperty("rp.enable")
|| (reportPortalProperties.getProperty("rp.enable")
.equalsIgnoreCase("true")));
if (isReportPortalEnabledInProperties) {
String rpLaunchId = System.getProperty("rp.launch.id");
LOGGER.debug(String.format("System property: rp.launch.id: '%s'",
rpLaunchId));
reportPortalLaunchURL = String.format("%s/ui/#%s/launches/all/%s",
reportPortalProperties.getProperty("rp.endpoint"),
reportPortalProperties.getProperty("rp.project"),
rpLaunchId);
LOGGER.info(String.format(