Contributions
How to get a groovy variable in a REST request?
I have a groovy script that defines multiple varibles, and I want to grab the variables in REST request. How can I do this? Example: GS_Example def var1="1" def var2="2" REST_Example "var1": "${GS_Example#var1}" "var2": "${GS_Example#var2}" Ido not think this is thecorrect way to do it? When I right click to add data, I get two options ending with either #result or #script but not for the variables themselves.Solved4.9KViews0likes1Commentpsexec.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.9 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes2Comments