Contributions
Re: An easy question related to the 'context' of my test step :)
Thanks so much...it worked! :) I am just wondering if it doesn't slow down a bit the script execution? Is it absolutely necessary to perform this action on each test step of the containing test case: testStepContext = new com.eviware.soapui.impl.wsdl.testcase.WsdlTestRunContext(testStep) Best Regards, Michael3.6KViews0likes1CommentAn easy question related to the 'context' of my test step :)
Dear Experts, I am new to this forum! I had no other choice than registering as I am completely lost :) I have been trying for days now to get test steps properly executed usinga SoapUI Groovy script. I have a test suite containing a single test case running one and only main script (Groovy) controling the entire flow of my test scenarios. My requests are containing some property placeholderslike ${#TestCase#PropertyX}. Test cases are correctly executed and properties filled. Instead of executing test cases I tried to execute each test step insidea specific test case one by one. Steps are executed but property expansion doesn't work properly. Requests are sent with some empty values. According to me context isn't correctly set while executing steps. It seems steps are executed but test runner is looking for properties somewhere else (in another test suite/case maybe?). Reason why some of them can't be found resulting in empty values. Probably test case execution works fine because properties are directly linked to it... I tried so many things but nothing works. Maybe it's due to${#TestCase#PropertyX}referring to the wrong TestCase? Maybe I have to clearly set the context of test runner before executing a specific test step in another test suite/case? I think answer is quite obvious even if I didn't get it solved for now :( Without going too much into details here are some lines of my code: (...) def reusableActionTestCaseSteps = reusableActionTestCase.getTestStepList() (...) reusableActionTestCaseSteps.each{ tried this by doesn't work: myTestStepResult = it.run(testRunner, context) tried this by doesn't work:myTestStepResult = testRunner.runTestStep(it) tried this by doesn't work: def runner = it.run(null,true) runner.waitUntilFinished() Steps are executed but placeholders aren't replaced by property values. The following works fine: reusableActionTestCase.run(properties, async)... ...but I don't want to execute a test case but steps inside of it! Please help! Thanks a lot in advance... Best Regards, MichaelSolved3.6KViews0likes6CommentsI don't succeed finding some interesting bugs with my SoapUI
Hello everybody, I am new on this forum and I hope I will get at least one answer to an issue becoming quite frustrating. I have been working as a software tester for 15 years with a main focus on GUI test automation and manual functional tests. Begin February of this year I started on a new project some web service integration tests with SoapUI (light version). I am more and more frustrated as I have the impression my tests have no real added value. I do not succeed finding any 'relevant' bugs. Only a few reported bugs are about wrong response content but all the rest is minor or trivial. Application architecture is based on SOA suite (Oracle) and all coding stuff is done with JAVA (struts 2). Front-End is web based. There are something like 150 web services to test. When I get a java exception, response is not what I am expecting or I succeed in creating something which shouldn't be allowed (e.g. an item with endDate < beginDate) it's often rejected by technical team because it's not possible to do the same through GUI. When I report on missing controls it's often rejected by technical team because even if controls are missing at BE, error is catched at Front-End. For some parts of the applications, most of controls are indeed implemented in FE! When I get something like an SQL exception it's also rejected as GUI does not allow primary key violations for example. But what can I test then? How can I find some 'real' web service bugs? Is there something else I can try? All my web service 'happy flows' are working. And it's really becoming frustrating having a look at my functional colleagues finding bugs and bugs through GUI and complaining why serious integration tests were not done before! Thanks a lot in advance for your support. Kind Regards, Michael Christian1KViews0likes2Comments