Contributions
- 12 years agoPlace ReadyAPI QuestionsReadyAPI Questions1KViews0likes0Comments
Byte order mark isn't fixed or supported
SoapUI Version: 4.5.1 (not nightly build). We are testing out our new web services platform. Our responses now contain byte order marks (BOM). Looks like from this http://www.soapui.org/forum/viewtopic.php?f=2&t=11219&p=28197&hilit=BOM#p28197, the requests contain BOMs. Is there a way for SoapUI to accept BOM's in the responses? HTTP/1.1 200 OK Cache-Control: private Content-Type: text/xml; charset=utf-8 Server: Microsoft-IIS/7.5 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET Date: Thu, 27 Dec 2012 15:13:40 GMT Content-Length: 845 <?xml version="1.0" encoding="utf-8"?> <BLARG/> Also, clicking Help, Search Forum, and any keyword takes you to a 404 page for anything you search.12 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.8KViews0likes2Comments- 814Views0likes0Comments
Running SoapUI TestRunner from Jenkins problem
I am using SoapUI 4.0.1 and interfacing with Jenkins. When I use the "run windows batch" option for the build, I use this string: "C:\Progra~1\eviware\soapUI-Pro-4.0.1-SNAPSHOT\bin\testrunner.bat" -r -j -f"C:\Progra~1\Jenkins\workspace\SoapUI\Reports" -g -I -PRegularWebserviceEndpoint=http://secretURL.com -PServiceEndpoint=https://secretURL.com "C:\Documents and Settings\cheetara\test\Thundercats-soapui-project.xml" Works great (I know it says snapshot, but it's really the non-beta-mode). I wrote an ANT script <exec executable="cmd.exe" failonerror="true"> <arg value="/C ""C:\Progra~1\eviware\soapUI-Pro-4.0.1-SNAPSHOT\bin\testrunner.bat" -r -j -f"C:\Progra~1\Jenkins\workspace\SoapUI\Reports" -g -I -PRegularWebserviceEndpoint=http://secretURL.com -PServiceEndpoint=http://secretURL.com "C:\Progra~1\Jenkins\workspace\SoapUI_SVN\Thundercats-soapui-project.xml"""/> </exec> When I tell jenkins to do an ANT Build, I get this: Started by user anonymous Building in workspace C:\Program Files\Jenkins\workspace\SoapUI_SVN Updating http://svn.ilsmart.com/Quality-Assurance/SoapUITests At revision 91 [SoapUI_SVN] $ cmd.exe /C '"ant.bat -file execute-SoapUI-tests.xml -DEnvironment=INT && exit %%ERRORLEVEL%%"' Buildfile: C:\Program Files\Jenkins\workspace\SoapUI_SVN\execute-SoapUI-tests.xml SoapUI_SVN: [exec] soapUI Pro 4.0.1-SNAPSHOT TestCase Runner [exec] 2012-04-10 17:19:23,480 [main] INFO com.eviware.soapui.impl.coverage.report.CoverageBuilder - constructor [exec] 17:19:23,965 INFO [SoapUI] Adding [C:\PROGRA~1\eviware\soapUI-Pro-4.0.1-SNAPSHOT\bin\ext\old_sqljdbc.jar] to extensions classpath [exec] 17:19:23,965 INFO [SoapUI] Adding [C:\PROGRA~1\eviware\soapUI-Pro-4.0.1-SNAPSHOT\bin\ext\sqljdbc.jar] to extensions classpath [exec] 17:19:23,965 INFO [SoapUI] Adding [C:\PROGRA~1\eviware\soapUI-Pro-4.0.1-SNAPSHOT\bin\ext\sqljdbc4.jar] to extensions classpath [exec] 17:19:23,965 INFO [DefaultSoapUICore] Creating new settings at [C:\Documents and Settings\Default User\soapui-settings.xml] [exec] 17:19:25,527 WARN [SoapUIProGroovyScriptEngineFactory] Missing scripts folder [C:\Program Files\Jenkins\workspace\SoapUI_SVN\scripts] [exec] 17:19:25,527 INFO [DefaultSoapUICore] Adding listeners from [C:\PROGRA~1\eviware\soapUI-Pro-4.0.1-SNAPSHOT\bin\listeners\demo-listeners.xml] [b] [exec] 17:19:26,059 INFO [SoapUI] File [C:\Progra~1\Jenkins\workspace\SoapUI_SVN\Thundercats-soapui-project.xml"] does not exist, trying URL instead [exec] 17:19:26,059 ERROR [SoapUI] An error occured [unknown protocol: c], see error log for details[/b] [exec] java.net.MalformedURLException: unknown protocol: c [exec] at java.net.URL.<init>(Unknown Source) [exec] at java.net.URL.<init>(Unknown Source) [exec] at java.net.URL.<init>(Unknown Source) [exec] at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:251) [exec] at com.eviware.soapui.impl.wsdl.WsdlProjectPro.<init>(SourceFile:136) [exec] at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(SourceFile:32) [exec] at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(SourceFile:16) [exec] at com.eviware.soapui.tools.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:319) [exec] at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:151) [exec] at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:86) [exec] at com.eviware.soapui.SoapUIProTestCaseRunner.main(SourceFile:48) [exec] 17:19:26,262 ERROR [SoapUIProTestCaseRunner] java.lang.Exception: Failed to load soapUI project file [C:\Progra~1\Jenkins\workspace\SoapUI_SVN\Thundercats-soapui-project.xml"] [exec] 17:19:26,262 ERROR [SoapUI] An error occured [Failed to load soapUI project file [C:\Progra~1\Jenkins\workspace\SoapUI_SVN\Thundercats-soapui-project.xml"]], see error log for details [exec] java.lang.Exception: Failed to load soapUI project file [C:\Progra~1\Jenkins\workspace\SoapUI_SVN\Thundercats-soapui-project.xml"] [exec] at com.eviware.soapui.tools.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:323) [exec] at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:151) [exec] at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:86) [exec] at com.eviware.soapui.SoapUIProTestCaseRunner.main(SourceFile:48) BUILD FAILED C:\Program Files\Jenkins\workspace\SoapUI_SVN\execute-SoapUI-tests.xml:43: C:\Program Files\Jenkins\workspace\SoapUI_SVN\execute-SoapUI-tests.xml:45: exec returned: -1 Total time: 4 seconds Build step 'Invoke Ant' marked build as failure Recording test results Finished: FAILURE Anyone know what I missed or what is needed as a parameter when running ant? This is not a maven build cause I have no idea how to do it (the information provided is not updated).13 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.7KViews0likes1Comment- 13 years agoPlace ReadyAPI QuestionsReadyAPI Questions995Views0likes0Comments
Running SoapUI TestRunner from Jenkins problem
I am using SoapUI 4.0.1 and interfacing with Jenkins. When I use the "run windows batch" option for the build, I use this string: "C:\Progra~1\eviware\soapUI-Pro-4.0.1-SNAPSHOT\bin\testrunner.bat" -r -j -f"C:\Progra~1\Jenkins\workspace\SoapUI\Reports" -g -I -PRegularWebserviceEndpoint=http://secretURL.com -PServiceEndpoint=https://secretURL.com "C:\Documents and Settings\cheetara\test\Thundercats-soapui-project.xml" Works great (I know it says snapshot, but it's really the non-beta-mode). I wrote an ANT script <exec executable="cmd.exe" failonerror="true"> <arg value="/C ""C:\Progra~1\eviware\soapUI-Pro-4.0.1-SNAPSHOT\bin\testrunner.bat" -r -j -f"C:\Progra~1\Jenkins\workspace\SoapUI\Reports" -g -I -PRegularWebserviceEndpoint=http://secretURL.com -PServiceEndpoint=http://secretURL.com "C:\Progra~1\Jenkins\workspace\SoapUI_SVN\Thundercats-soapui-project.xml"""/> </exec> When I tell jenkins to do an ANT Build, I get this: Started by user anonymous Building in workspace C:\Program Files\Jenkins\workspace\SoapUI_SVN Updating http://svn.ilsmart.com/Quality-Assurance/SoapUITests At revision 91 [SoapUI_SVN] $ cmd.exe /C '"ant.bat -file execute-SoapUI-tests.xml -DEnvironment=INT && exit %%ERRORLEVEL%%"' Buildfile: C:\Program Files\Jenkins\workspace\SoapUI_SVN\execute-SoapUI-tests.xml SoapUI_SVN: [exec] soapUI Pro 4.0.1-SNAPSHOT TestCase Runner [exec] 2012-04-10 17:19:23,480 [main] INFO com.eviware.soapui.impl.coverage.report.CoverageBuilder - constructor [exec] 17:19:23,965 INFO [SoapUI] Adding [C:\PROGRA~1\eviware\soapUI-Pro-4.0.1-SNAPSHOT\bin\ext\old_sqljdbc.jar] to extensions classpath [exec] 17:19:23,965 INFO [SoapUI] Adding [C:\PROGRA~1\eviware\soapUI-Pro-4.0.1-SNAPSHOT\bin\ext\sqljdbc.jar] to extensions classpath [exec] 17:19:23,965 INFO [SoapUI] Adding [C:\PROGRA~1\eviware\soapUI-Pro-4.0.1-SNAPSHOT\bin\ext\sqljdbc4.jar] to extensions classpath [exec] 17:19:23,965 INFO [DefaultSoapUICore] Creating new settings at [C:\Documents and Settings\Default User\soapui-settings.xml] [exec] 17:19:25,527 WARN [SoapUIProGroovyScriptEngineFactory] Missing scripts folder [C:\Program Files\Jenkins\workspace\SoapUI_SVN\scripts] [exec] 17:19:25,527 INFO [DefaultSoapUICore] Adding listeners from [C:\PROGRA~1\eviware\soapUI-Pro-4.0.1-SNAPSHOT\bin\listeners\demo-listeners.xml] [exec] 17:19:26,059 INFO [SoapUI] File [C:\Progra~1\Jenkins\workspace\SoapUI_SVN\Thundercats-soapui-project.xml"] does not exist, trying URL instead [exec] 17:19:26,059 ERROR [SoapUI] An error occured [unknown protocol: c], see error log for details [exec] java.net.MalformedURLException: unknown protocol: c [exec] at java.net.URL.<init>(Unknown Source) [exec] at java.net.URL.<init>(Unknown Source) [exec] at java.net.URL.<init>(Unknown Source) [exec] at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:251) [exec] at com.eviware.soapui.impl.wsdl.WsdlProjectPro.<init>(SourceFile:136) [exec] at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(SourceFile:32) [exec] at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(SourceFile:16) [exec] at com.eviware.soapui.tools.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:319) [exec] at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:151) [exec] at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:86) [exec] at com.eviware.soapui.SoapUIProTestCaseRunner.main(SourceFile:48) [exec] 17:19:26,262 ERROR [SoapUIProTestCaseRunner] java.lang.Exception: Failed to load soapUI project file [C:\Progra~1\Jenkins\workspace\SoapUI_SVN\Thundercats-soapui-project.xml"] [exec] 17:19:26,262 ERROR [SoapUI] An error occured [Failed to load soapUI project file [C:\Progra~1\Jenkins\workspace\SoapUI_SVN\Thundercats-soapui-project.xml"]], see error log for details [exec] java.lang.Exception: Failed to load soapUI project file [C:\Progra~1\Jenkins\workspace\SoapUI_SVN\Thundercats-soapui-project.xml"] [exec] at com.eviware.soapui.tools.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:323) [exec] at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:151) [exec] at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:86) [exec] at com.eviware.soapui.SoapUIProTestCaseRunner.main(SourceFile:48) BUILD FAILED C:\Program Files\Jenkins\workspace\SoapUI_SVN\execute-SoapUI-tests.xml:43: C:\Program Files\Jenkins\workspace\SoapUI_SVN\execute-SoapUI-tests.xml:45: exec returned: -1 Total time: 4 seconds Build step 'Invoke Ant' marked build as failure Recording test results Finished: FAILURE Anyone know what I missed or what is needed as a parameter when running ant? This is not a maven build cause I have no idea how to do it (the information provided is not updated).13 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.7KViews0likes2Commentsmanually running test pass; testrunner fails
Hello! I've created many test cases. When I manually run the tests, all green. When I use testrunner, I get connection timeout errors, etc. I think testrunner is causing my servers/database servers to die. Is there a way to control the 'throttling' ? I am not sending the requests in parallel but in steps. I left the 'big data retrieval' test last so it doesn't cause any network connection errors. Any ideas?13 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes1Comment- 13 years agoPlace ReadyAPI QuestionsReadyAPI Questions924Views0likes0Comments
Making DataSink write to excel immediately
SOAP UI VERSION PRO: 4.0.1 Hello, I am screen-scrapping data (xml data). I've setup my datasource, requests, property transfer, datasink, dataloop correctly (and in that order). I've checked this that every works the way I want it to work with just a set of 10 items (if you want to know, i provide the zipcode and it gets back the weather conditions for saturday). The data is written to my excel file and I'm happy. Now I unleash the beast and let it go with 600,000 items (this case, zip codes). I check every now and then on the job and sees the excel file is still the same file size. When I copy and paste the excel file (the output file). It's still the same file. I am suspecting that soapui writes to the excel file at the end of the testcase being completed. Is there a way for the datasink to be written after I made the request then loop? And yes, when I have task manager open, the soapui process is getting bigger (at least there's 4 gigs of ram). This job will be done in 10 hours so.. wish me luck. I am not using groovyscript, but if that's the way to do it, can someone supply me the groovyscript? Thanks in advance.13 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes2Comments