Exemple #1
0
 /**
  * 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);
     }
   }
 }
Exemple #2
0
 public void startSoapUI() {
   String soapUIPath =
       workspaceProviderRegistry
           .getWorkspace()
           .getProperty(WorkspaceItem.SOAPUI_PATH_PROPERTY)
           .getStringValue();
   SoapUIStarter.start(soapUIPath);
 }
Exemple #3
0
 public String getConnectionString() {
   return "//"
       + server
       + ":"
       + workspaceProviderRegistry
           .getWorkspace()
           .getProperty(WorkspaceItem.SOAPUI_CAJO_PORT_PROPERTY)
           .getStringValue()
       + "/"
       + itemName;
 }
Exemple #4
0
 public void setPathToSoapUIBat(String pathToSoapUIBat) {
   workspaceProviderRegistry
       .getWorkspace()
       .getProperty(WorkspaceItem.SOAPUI_PATH_PROPERTY)
       .setValue(pathToSoapUIBat);
 }
Exemple #5
0
 public String getPathToSoapUIBat() {
   return workspaceProviderRegistry
       .getWorkspace()
       .getProperty(WorkspaceItem.SOAPUI_PATH_PROPERTY)
       .getStringValue();
 }