Is there a way I can input a specific value what will only run tests with that value
Hey Folks, I'm wanting to input a specific value before running my tests that will allow me to only run tests that have that specific value in the Datasource. Would I be able to do this in TestRunner under Global/System/Project Properties? Each test has multiple iterations I would want to skip the iterations that don't contain the variable that has been inputed. I imagine that this could be done with a Groovy script inserted into each step but I need to know what to specify the value to be ran. Many thanks!Solved2.1KViews0likes5CommentsSecurity Tests within Docker
Hello, Is there a way to run Security Tests in a Docker container? We are currently running our SoapUI tests (ReadyAPI 2.7) in a Docker container as a part of our CI/CD pipeline, but cannot find an option to run the Security TestRunner within the container, since it appears to default to tesrunner.sh. Given the Security Tests are within a suite within the SoapUI Pro project, how might we include running these tests within the container? Thanks, GregSolved1.1KViews0likes1CommentReceiving JVM error in jenkins when using testrunner.bat
Team, We are doing Continuous Integration with Jenkins by using SoapUI NG TestRunner. Daily 50 plus jobs are running in it. At times, we could see the below error in the job log, ------------------------------------------------------------------------------- The process cannot access the file because it is being used by another process. C:\Users\...\AppData\Local\Temp\jfxrtpath The process cannot access the file because it is being used by another process. The process cannot access the file because it is being used by another process. C:\Users\...\AppData\Local\Temp\readyxmx The process cannot access the file because it is being used by another process. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Invalid maximum heap size: -Xmx Build step 'Execute Windows batch command' marked build as failure Recording test results readyapi.bat had -Xmx2048m. Not sure what caused this issue. We believe, it is not following any patterns , it occurs randomly for some jobs. Please suggest solution for this issue and let us know, if you need any further details.Solved4.8KViews0likes7CommentsIO Error: Unknown host specified in TestRunner Execution
Hello, We have some Test Steps that make use of JDBC connections in SoapUI. For our Oracle database we use a tnsnames.ora file to manage the hosts and connections. I did have some initial problems getting that to work with SoapUI. But finally got it after updating some things in the vmoptions fileand moving the odbc driver into<Install Directory>\SmartBear\ReadyAPI-1.6.0\bin\ext. It works fine now. However, I noticed when we try to run the tests from the cmd line or Test Runner they fail. How can I configure SoapUI to know that the hosts are there? Just making a simple connection step and running a query here. Sample from the error log: 09:35:58,004 ERROR [SoapUI] An error occurred [IO Error: Unknown host specified ], see error log for details 09:35:58,005 ERROR [errorlog] java.sql.SQLRecoverableException: IO Error: Unknown host specified java.sql.SQLRecoverableException: IO Error: Unknown host specified at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:517) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:557) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:233) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:29) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:556) at com.eviware.soapui.support.GroovyUtils$DriverProxy.connect(GroovyUtils.java:150) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at com.eviware.soapui.support.jdbc.JdbcUtils.initConnection(JdbcUtils.java:67) at com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcSubmit.getDatabaseConnection(JdbcSubmit.java:188) at com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcSubmit.prepare(JdbcSubmit.java:214) at com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcSubmit.runQuery(JdbcSubmit.java:171) at com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcSubmit.run(JdbcSubmit.java:145) at com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcSubmit.<init>(JdbcSubmit.java:77) at com.eviware.soapui.impl.wsdl.panels.teststeps.JdbcRequest.submit(JdbcRequest.java:133) at com.eviware.soapui.impl.wsdl.teststeps.JdbcRequestTestStep.run(JdbcRequestTestStep.java:203) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:251) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:50) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:161) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:1) at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:127) at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.start(AbstractTestRunner.java:73) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.run(WsdlTestCase.java:673) at com.eviware.soapui.impl.wsdl.WsdlTestCasePro.run(WsdlTestCasePro.java:96) at com.eviware.soapui.impl.wsdl.WsdlTestCasePro.run(WsdlTestCasePro.java:85) at com.smartbear.ready.cmd.runner.SoapUITestCaseRunner.runTestCase(SoapUITestCaseRunner.java:633) at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.runTestCase(SoapUIProTestCaseRunner.java:237) at com.smartbear.ready.cmd.runner.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:430) at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.runRunner(SoapUIProTestCaseRunner.java:98) at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:257) at com.smartbear.ready.cmd.runner.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:160) at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.init(SoapUIProTestCaseRunner.java:82) at com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner.main(SoapUIProTestCaseRunner.java:78) Caused by: oracle.net.ns.NetException: Unknown host specified at oracle.net.resolver.HostnameNamingAdapter.resolve(HostnameNamingAdapter.java:188) at oracle.net.resolver.NameResolver.resolveName(NameResolver.java:130) at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:413) at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:882) at oracle.net.ns.NSProtocol.connect(NSProtocol.java:267) at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1625) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:365)Solved18KViews0likes10CommentsReadyAPI 1.6 and TestRunner: "javax.net.ssl.SSLException: Received fatal alert: close_notify"
I just upgraded from ReadyAPI 1.3 to 1.6 today. I've been using 1.3 for several weeks successfully but ONLY running via the GUI. I successfully upgraded to 1.6 todaybydoing adding the following line to my vmoptions.txt configuration file: -Dsoapui.https.protocols=TLSv1,SSLv3 I'm able to run test suites for a project via the GUI in 1.6, but when I attempt to run the same suite via TestRunner, I'm getting the following exception in my console log file: javax.net.ssl.SSLException: Received fatal alert: close_notify Is TestRunner using a different configuration file that I need to add that entry into? Any input would be appreciated! NOTE: I just tested 1.3 with the same suite, and I was successful usingTestRunner to execute the test suite.Solved3.1KViews0likes2CommentsTest runner license issue when running multiple tests simultaneously
Am running testRunner using bash scripts. Want to run multiple tests to see how the system handles multiple users. I runfor i in {1..10};do echo $i;./RunTests_TestPack-TradeCloud-mmh-testpack16.sh -t massmart -e brytrain02 -r $i -l1 -f 4 >> /home/ds/loadTest.txt 2>&1 & done Am getting the following, which stops the process. ************************************************************************************* END USER LICENSE AGREEMENT Since this is the first time you are running it after installing a new license, you will need to accept the end user license agreement. Please read it through carefully and review the conditions ************************************************************************************* View license agreement now? [y/N]: 12:57:35,312 INFO [WsdlProject] Loaded project from [file:/home/ds/projects/IntegrationTestClient/trunk/onceOffTestScripts/../testCases/IMPONE-813-CreateOrder-SimpleValida tion.xml] I did see a previous posthttp://forum.soapui.org/viewtopic.php?f=2&t=25113, but I not sure if it relates. Is it possible to work around this, or is it a licencing issue. I have a valid licence for soapui, and checked that the .key file is in /home/ds/.soapui/. The license works fine on the front end, and if I run the script one at a time i.e../RunTests_TestPack-TradeCloud-mmh-testpack16.sh -t massmart -e brytrain02 -r $i -l1 -f 4 Regards, Claus Zimmermann1KViews0likes2Comments