/** * If soapUI bat folder is not specified in loadUI and there is an running instance of soapUI, * takes the path of that instance and sets it to loadUI. */ public void setSoapUIPath() { String soapUIPath = workspaceProviderRegistry .getWorkspace() .getProperty(WorkspaceItem.SOAPUI_PATH_PROPERTY) .getStringValue(); if (soapUIPath == null || soapUIPath.trim().length() == 0) { soapUIPath = (String) invoke("getSoapUIPath", null); if (soapUIPath != null) { workspaceProviderRegistry .getWorkspace() .getProperty(WorkspaceItem.SOAPUI_PATH_PROPERTY) .setValue(soapUIPath); } } }
public void startSoapUI() { String soapUIPath = workspaceProviderRegistry .getWorkspace() .getProperty(WorkspaceItem.SOAPUI_PATH_PROPERTY) .getStringValue(); SoapUIStarter.start(soapUIPath); }
public String getConnectionString() { return "//" + server + ":" + workspaceProviderRegistry .getWorkspace() .getProperty(WorkspaceItem.SOAPUI_CAJO_PORT_PROPERTY) .getStringValue() + "/" + itemName; }
public void setPathToSoapUIBat(String pathToSoapUIBat) { workspaceProviderRegistry .getWorkspace() .getProperty(WorkspaceItem.SOAPUI_PATH_PROPERTY) .setValue(pathToSoapUIBat); }
public String getPathToSoapUIBat() { return workspaceProviderRegistry .getWorkspace() .getProperty(WorkspaceItem.SOAPUI_PATH_PROPERTY) .getStringValue(); }