Executing Load Test as part of a Test Suite
Hi, I use SoapUI 5.5.0. I am trying to test a Web Service. I have a Test Suite under which, I have a Test Case. Under the Test Case I have functional Tests as well as Load Tests. When I execute the Test Suite, only the functional test steps seems to execute. How do I include the execution of the Load Test as well?1.5KViews0likes6CommentsProblem with saving/creating REST TestRequests as project (in Java)
Hi, Recently I've successfully developed a method that uses wsdl endpoint and saves the SOAPUI project file. Our purpose is to create these project documents for the endpoints with custom request contents,then run regularly on someremote machine that have SOAPUI installed. However, for the REST part, I've done many things but could not make it work to add test step(s) to the test case. I am not sure if followed the right practice, yet I can see that there is a testStep under the testRequestList. My code is as follows (also attaching one of the failure projects): --- TestCaseConfig testCaseConfig = restConfiguration.getTestCaseConfig(); WsdlProject wsdlProject = new WsdlProject(); wsdlProject.setName("restProject"); RestServiceBuilder serviceBuilder = new RestServiceBuilder(); serviceBuilder.createRestService(wsdlProject, url); WsdlTestSuite wsdlTestSuite = wsdlProject.addNewTestSuite("Suite"); WsdlTestCase wsdlTestCase = new WsdlTestCase(wsdlTestSuite, testCaseConfig, false); wsdlTestSuite.addNewTestCase("Case"); RestService restService = (RestService) wsdlProject.getInterfaceList().get(0); RestResource restResource = restService.getOperationAt(0); RestRequest requestx = restResource.getRequestAt( 0 ); TestStepConfig testStepConfigx = RestRequestStepFactory.createConfig(requestx, "Step"); wsdlTestCase.addTestStep(testStepConfigx); wsdlTestCase.insertTestStep(testStepConfigx, -1); wsdlProject.saveIn(projectFile);818Views0likes0CommentsImporting a test suite into another project in soapUI
I am working on a evaluation automation scenario in which i will create a test suite on one project-1 in soapUI and import into other projects(project2,project3) where the same test cases are applicable.I exported the test suite and imported it in new project.But problem is,after importing into project2 and updating the test suite with new request, still the process request in the test case of test suite is having the end point URL of the project-1.How can this be rectified and also please point me source or documentation of how to import and export testsuites. Exporting testsuite contains: 1.TestCase under which are: 1.Property File 2.Property Transfer 3.Process(of project-1) SoapUI version-5.2.1 Thanks in Advance.1.4KViews0likes0Comments