Forum Discussion

vijaykorde's avatar
vijaykorde
New Contributor
10 years ago

psexec.exe and running soapui project remotely

Hi,

 

We are trying to run soapui projects remotely but whenever we connect to remote server, it gives following error.

psexec.exe -s -i 4 \\machinename -u "domain\userid" -p "password" "C:\APIAutomation.cmd" -accepteula 

Below commands works fine locally but when we try to execute it via psexec.exe, we get following error.

C:\Program Files\SmartBear\ReadyAPI-1.2.2\bin>cmd.exe /C testrunner.bat -f"C:\Intradiem\Automation\API Automation\SoapUI\Execution_JSON_Reports" -R"Project Report" -FPDF -E"Default

environment" C:\Users\abc\Documents\SOAPPROJECT\Mobile-Project-soapui-project.xml

log4j:ERROR No appender named [CONSOLE] could be found.

log4j:WARN No appenders could be found for logger (com.netflix.governator.lifecycle.ClasspathScanner).

log4j:WARN Please initialize the log4j system properly.

log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

Configuring log4j from [C:\Program Files\SmartBear\ReadyAPI-1.2.2\bin\soapui-log4j.xml]

18:05:16,183 INFO  [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.2.2\bin\ext\postgresql-9.3-1102.jdbc41.jar] to extensions classpath

18:05:16,183 INFO  [SoapUI] Adding [C:\Program Files\SmartBear\ReadyAPI-1.2.2\bin\ext\sqljdbc4.jar] to extensions classpath

18:05:16,183 INFO  [DefaultSoapUICore] Creating new settings at [C:\soapui-settings.xml]

18:05:21,174 INFO  [SoapUIProGroovyScriptEngineFactory] Setting Script Library to [C:\Program Files\SmartBear\ReadyAPI-1.2.2\bin\scripts]

18:05:21,174 INFO  [DefaultSoapUICore] Adding listeners from [C:\Program Files\SmartBear\ReadyAPI-1.2.2\bin\listeners\demo-listeners.xml]

18:05:21,848 INFO  [PluginManager] 0 plugins loaded in 0 ms

18:05:21,848 INFO  [DefaultSoapUICore] All plugins loaded

No valid SoapUIPro license exists.

  • vijaykorde's avatar
    vijaykorde
    New Contributor

    Found the solution.

    session id that I was passing was not correct and was hard coded.

    psexec.exe -s -i 4

    • hesterli's avatar
      hesterli
      Icon for Staff rankStaff

      Glad to hear that you already found the problem! That would be nice if you could share your experience here how you use SoapUI NG.