Contributions
Re: Test Runner bat via Octopus Deploy
Hi Jonv Thanks for all your help. I have resolved my issue. The 255 exit code wasreturnedbecause testrunner.bat could not find the project file I had specified. It took me a while to find this because I did not know how to configure the C# Process class to keep the cmd window open and so I could not see the error displayed bytestrunner.bat. I was expecting error output to be written to my log file becauseI redirect standard error to it. But for some reason this error was not. I just got a 'more?' prompt from standard output. So I did not realise that I was getting error output fromtestrunner.bat. I changed the C# Process class configuration to run the cmd shell and used the '/k' argument to 'cmd' so that the cmd window did not close after running the cmd. When I did this I saw what the error actually was. A simple error but difficult to diagnose initially because I was thrown of course by no error output and the 'more?' prompt from thestandard output. Many thanks for your help and good luck with your CI implementation. Geoff877Views0likes0CommentsRe: Teamcity- testRunner.bat-exit code 255
Hi Did you get a resolution for this? I have the same error when I execute testrunner.bat from the C# Process class. If I runtestrunner.bat from a cmd window it runs without error. If you have a solution I would be very grateful to know what it is. many thanks, Geoff7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.5KViews0likes0CommentsRe: Test Runner bat via Octopus Deploy
Hi Jonv Thanks for your suggestions. I have modified the batch filemockservicerunner.bat to show the logged in user and the user displayed is the user I am expecting and that user has admin rights, so I don't think I have rights issues. Butmockservicerunner.bat does stop when it has loaded the mock service and prompts "Press any key to terminate..." for the mock service to be terminated when its no longer needed. Perhaps this is causing the problem. But I also notice that when I runmockservicerunner.bat from a cmd window I get someClassNotFoundException's. But this does not stop the successfulloading of the mock service. However when I executemockservicerunner.bat using theProcess class I do not get these errors in thestandard error output. It's possible that it's theseClassNotFoundException errors that are causing my problem. I will resolve these errors and let you know the outcome. But if you have more thoughts on this I would be more than happy to hear them. 16:35:47,888 ERROR [SoapUI] An error occurred [com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory], see error log for details java.lang.ClassNotFoundException: com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory at java.net.URLClassLoader$1.run(Unknown Source) many thanks, Geoff4.4KViews0likes2CommentsRe: Test Runner bat via Octopus Deploy
Hi I have a similar problem. We are also intending to use SoapUI as part of a CI solution. But we are using SoapUI to run MockServices so that we can perform an end to end test and get a known responses from a MockService. I am executing mockservicerunner.bat from a C# class that executes the batch file mockservicerunner.bat using the Process class.I am also getting the error that you had. My output(see below)also shows that the mockservicerunner appears to stop with the More? prompt. I have checked the SoapUI 'Disable Usage Statistics' checkbox as you suggested, but for me this has made no difference. When I run mockservicerunner from a batch file with the same arguments the MockService is started successfully, see below. 16:25:13,662 INFO [SoapUIMockServiceRunner] MockService started on port 8088 at path [/mockBizTalkOnRampServiceEndpoint] 16:25:13,820 INFO [SoapUIMockServiceRunner] Started 1 runner Press any key to terminate... Do you think that I am getting the error becuase SoapUIMockServiceRunner blocks while it is running the MockService, "Press any key to terminate....". Could this give the same effect that you had when SOAPUI was throwing up a UI screen about usage statistics? If it is that then I am not sure how to resolve the problem. Any help gratefully received as I am making no progress with this issue. This is the output I get from the failing execution: Received from standard out:del %TEMP%\jfxrtpath | /> Received from standard error: | /> Received from standard out:set CLASSPATH=%CLASSPATH%;%JFXRTPATH% | /> Received from standard out: | /> Received from standard out:rem JVM parameters, modify as appropriate | /> Received from standard out:set JAVA_OPTS=-Xms128m -Xmx1024m -Dsoapui.properties=soapui.properties "-Dsoapui.home=%SOAPUI_HOME%\" | /> Received from standard out: | /> Received from standard out:if "%SOAPUI_HOME%\" == "" goto START | /> Received from standard out: set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.libraries="%SOAPUI_HOME%ext" | /> Received from standard out: set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.listeners="%SOAPUI_HOME%listeners" | /> Received from standard out: set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.ext.actions="%SOAPUI_HOME%actions" | /> Received from standard out: | /> Received from standard out::START | /> Received from standard out: | /> Received from standard out:rem ********* run soapui loadtest runner *********** | /> Received from standard out: | /> Received from standard out:More? | /> Received from standard out: | /> Many thanks, Geoff4.4KViews0likes4CommentsIs it possible to configure SoapUI to save all my project work before submitting a request.
Today SoapUI locked up when I submitted a SOAP request. I could not recover and as a result I lost a mornings work. Is it possible to configure SoapUI v5.2.1 to automatically save periodically or prior to executing requests. Many thanks, GeoffSolved1.5KViews0likes1Comment