Contributions
Re: ERROR: cannot get error line number!
Hallo Tanya, thank you for answer. I've create already a troubleshoot ticket and sent yesterday my test project to your troubleshooting team. Now I just waiting for response. Best regards, Anton9 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.9KViews0likes1CommentERROR: cannot get error line number!
Hello, i get an error message with NullPointerException if I try to run test case from another project, like: def workspace = testRunner.getTestCase().getTestSuite().getProject().getWorkspace() def SimulatorProject = workspace.getProjectByName(inproject) if (SimulatorProject == null) { log.info "Input parameter ERROR: Project " + inproject + " is not found in workspace" testRunner.fail("Input parameter ERROR: Project " + inproject + " is not found in workspace") return } def SimulatorTS = SimulatorProject.getTestSuiteByName(intestsuite) def SimulatorTC = SimulatorTS.getTestCaseByName(intestcase) def runner = SimulatorTC.run(properties, false) This happens after switching from SoapUI 5.1.2 to Ready!API. I guess this connected with new feature TestRunHistory which probably seems to work not properly. Anybody same experience or ideas how to fix the problem? I trying first set Test History Limit Size to 0 in preferences. But this hang up Ready!API totally.9 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.9KViews0likes4CommentsSet test case filename according to test case name by renaming
Actually if I rename test case in SoapUI (Ready API) then file name keep his name by creating. And it is not possible to rename file name after creating, because filename will be saved in xml too. Please fix this problem urgnet, because this leads to absolutly chaos in file structure.1.7KViews2likes0CommentsRe: How to pass values to Custom Properties declared in Environment from command line
I didn't trust on -E parameter :-) because it never works properly I guess the problem is that SoapUI first set parameters (via -P) and after that switch environment (via -E). I use my own solution to switch environment via running "preparing" test case with groovy script that contains something like this: context.testCase.testSuite.project.setActiveEnvironment(context.testCase.testSuite.project.getPropertyValue("runEnv")) Expected environment will be set via project parameter runEnv: -PrunEnv and save project via -S. After that I start my test suite via second run of testrunner and it works properly.9 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.1KViews0likes0CommentsRe: How to pass values to Custom Properties declared in Environment from command line
if you try to set custom parameters to values from command line via -P parameter then these will be set always for environment that was saved last time. you have to write testcase which first set new environment and save project and after that you can call your test cases from command line with -P parameter for setting values for the new selected environment9 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.2KViews0likes3Commentsset filename by report generating
I try to generate report in testRunListner.afterRun and have to save it with the same name like test case name. I found an example to do it but generated report has always the same name: "Testcase Report.html" How can I set file name for report generating? Any ideas? I guess this could be done via first parameter for generate method or via changing some properties of availableReport but how? import com.eviware.soapui.reporting.ReportEngineRegistry import com.eviware.soapui.reporting.reports.testcase.* def report = new WsdlTestCaseReport(context.testCase) def availableReports = ReportEngineRegistry.getAvailableReports( report ) // get list of all reports for test case availableReports[0].generate( report.getModelItem().getSettings(), (String[])[ "HTML" ], "c:\\Users\\User01\\Documents\\Reports") availableReports[0].release()9 years agoPlace ReadyAPI QuestionsReadyAPI Questions945Views0likes1CommentRe: add ability to nest test suites
We have the same problem with structure our test cases. I need to separate my regression test cases, release test cases and helpers inside project. It was very helpful if we can nest test suites because it will be soon difficult to take an overview about testcases in our project. For Example: HelpersSuite |-APIHelpers |-CreateOrder |-RemoveOrder |-AssertionHelpers |-CheckOrder |-CheckCustomer ... RegeressionTestSuite |-CreateOrdersTS |-CreateNewOrderTC1 |-CreateNewOrderTC2 ... |-CreateNewOrderTCn |-RemoveOrdersTS |-RemoveOrderTC1 |-RemoveOrderTC2 ... |-RemoveOrderTCn ReleaseTestSuite |-CreateOrdersTS |-CreateNewOrderTCn+1 |-CreateNewOrderTCn+2 ... |-CreateNewOrderTCm |-RemoveOrdersTS |-RemoveOrderTCn+1 |-RemoveOrderTCn+m ... |-RemoveOrderTCn+m10 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes0Commentsfilename doesn't change after rename testcase
I have a problem with renaming of test cases with new version 5.1.2 of SoapUI. If I rename a test case, its filename will not change!? It is a new feature or a bug? How can I normalize now file names and test case names?10 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.3KViews0likes4Comments