Processing a request in batches?
Hi, I'm using Soap UI to create new tasks in a database. When I send the requests, is it possible to control/"throttle" the amount processed at any one time so that I can avoid creating a time out on the receiving server? At the moment I'm manually batching the requests by pushing around 300 update statements manually from a spreadsheet, but I wondered if there was a way to post (e.g.) 1,000 requests and have the Soap UI client batch them into 100 updates at a time with a subsequent delay to allow the receiving server to process the 100. I was hoping the Preference setting "Chunking Threshold" might achieve this, but I have tried adding numeric values to this field and it doesn't seem to make any difference to how the data is processed. Any guidance or help would be much appreciated.239Views0likes0CommentsHow to save to a file
I am using SoapUO 5.7.0 and i have a Execute query to get data. I get the data but i need to automate this through a windows schedule and have it run to create a file for me on a daily basis. Have any one done that where you can run it and create a file? Any advice it would be greatly apprecited. Thank you, AndrewSolved469Views0likes2Comments"Response Message" tab as report
Hello, I have a request. I need help with the following problem: 1/ I have a script with a loop that loads different data into the same method. 2/ All loops run fine and I am able to capture the result of the last loop and save the results of the response. 3/ I can see the responses of the previous loops in the "TestCase" window. 4/ When I open (click) each step in TestCase, I can see the results in the "MessageExchange Result" window on the "Response Message" tab. Please, how is it possible to save the results from the "Response Message" tab, for example as an external CSV file? I have tried via TearDown Script, but without success. I have SoapUI 5.5.0 (open source) Thank you and have a nice day. Marek309Views0likes0CommentsConnecting TO DB using Groovy Script
Using groovy script in SOAP UI, I was able to connect to the DB previously You can find the code I used before as below: import groovy.sql.Sql String url = 'jdbc:oracle:thin:@hostname:1521/servername' String user = 'username' String password = 'password' sql = Sql.newInstance( url, user, password, 'oracle.jdbc.driver.OracleDriver') This was working fine. Later client has added some certificates for validations for the DB and port also getting changed from 1521 to 1523. later then I was unable to connect to DB from SOAP UI using groovy. I can still connect to the DB using DBeaver or SQL developer applications, by using the oracle client as InstantClient and inside which we have placed the certificates from client in Wallet. And driver we used previously in DBeaver is Oracle thin, but now we have to create a new driver Oracle OCI. But it will be more helpful for us if it works in SOAP Ui as we have automated the steps in SOAP UI. Can we have any way to use the certificate path in Groovy script to validate the certificates from path and also defining new driver Oracle OCI.420Views0likes0CommentsWSDL TO PROXY CONSUMER SAP
hi community i need create a proxy consumer in SAP ECC 7.50. Is done. This part is resolv, but.... just the wsdl file, when test the proxy , not appears the correct parameters and other thing is the NAMESPACE = "http://tempuri.org" is correct this? Help me , what can i do thanks363Views0likes1CommentReRun only Fail test steps in SoapUI Groovy script .
Hi All , Need urgent help ,I am new to SoapUI I need to rerun failed steps using groovy script . I tried with below code but getting "Errorjava.lang.NumberFormatException: null jerror at line: 2" . Can some one help with the solution please . import com.eviware.soapui.model.testsuite.TestRunner.Status //Rerun failed test cases X amount of times based off the number set in the RerunCount test suite property def reRunCount = Integer.parseInt(testSuite.getPropertyValue("3")) for ( testCaseResult in runner.results ) { /* * Dans SoapUI les statuts sont FINISHED ou FAILED * Dans ReadyAPI, les statuts sont PASS ou FAIL */ if ( testCaseResult.getStatus().toString() == 'FAIL' || testCaseResult.getStatus().toString() == 'FAILED' ) { def tRun for (i = 0; i < reRunCount; i++) { tRun = testCaseResult.testCase.run(null, false) //Need to have "true" as the second argument log.info("Run..." + testCaseResult.getTestCase().name) if(tRun.getStatus().toString() == "PASS"){ runner.status = Status.FINISHED //Change test suite status to PASS break; } } } }383Views0likes0CommentsReRun only Fail test steps in SoapUI Groovy script .
Hi All , Need urgent help ,I am new to SoapUI I need to rerun failed steps using groovy script . I tried with below code but getting "Errorjava.lang.NumberFormatException: null jerror at line: 2" . Can some one help with the solution please . import com.eviware.soapui.model.testsuite.TestRunner.Status //Rerun failed test cases X amount of times based off the number set in the RerunCount test suite property def reRunCount = Integer.parseInt(testSuite.getPropertyValue("3")) for ( testCaseResult in runner.results ) { /* * Dans SoapUI les statuts sont FINISHED ou FAILED * Dans ReadyAPI, les statuts sont PASS ou FAIL */ if ( testCaseResult.getStatus().toString() == 'FAIL' || testCaseResult.getStatus().toString() == 'FAILED' ) { def tRun for (i = 0; i < reRunCount; i++) { tRun = testCaseResult.testCase.run(null, false) //Need to have "true" as the second argument log.info("Run..." + testCaseResult.getTestCase().name) if(tRun.getStatus().toString() == "PASS"){ runner.status = Status.FINISHED //Change test suite status to PASS break; } } } }375Views0likes1Comment