Contributions
Re: Assigning INTERFACE dynamically to a specific TEST CASE
Hi, I will try to rephrase my topic. Here are the steps I am doing: 1) Loading through API an existing SoapUI project 2) Defining a new INTERFACE through API 3) Run a test case from the project we invoked in step 1 using the new added INTERFACE from step 2 (and by this Overriding the INTERFACE which was assigned to this test case in the original SoapUI project). How can I do step 3 through API (Java Code)? Thanks, Lior813Views0likes0CommentsNeed to run specific Test Step through JUNIT test
Hi, I Need to run specific Test Step through JUNIT and I only saw a way to run a whole Test Case (which obviously has multiple test steps). This is my code: assertNotNull("Please set the SoapUI project file", soapUIProject); WsdlProject project = new WsdlProject(soapUIProject.getAbsolutePath()); printProjectTestInfo(project); TestSuite testSuite = project.getTestSuiteByName(suiteName); TestCase testCase = testSuite.getTestCaseByName(caseName); testCase.addTestRunListener(this); // create empty properties and run synchronously TestRunner runner = testCase.run(new PropertiesMap(), false); Status status = runner.getStatus();1.9KViews0likes1Comment