Contributions
Re: When Installing a License from a File Nothing Happens When I Click the Next Button
No problem - I had expected more from SmartBear though. It looks like this happens when I attempt to apply a license directly from an activation file. When the process of applying a non-activated fixed license file, send the info to license-activation@smartbear.com and then use the next screen after that, I get more sensible information. Except my license seems to be broken now: overactivation (even though they should be able to see I am the same user on the same PC, also frustrating) - which needs intervention by the person with access to my.smartbear.com7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.9KViews0likes1CommentRe: When Installing a License from a File Nothing Happens When I Click the Next Button
What a useless forum - every query that might be useful is referred to support.smartbear.com. This does not count as being solved. How about putting the outcome of this back in the forum? What was the final solution? My guess is upgrade to a later version? I'll try this now, see how it goes.7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.9KViews0likes4CommentsRe: Re: Run TestCase from Java and set Settings?
Yes. The problem is that the Smartbear API documentation is out of date. Seems to be an ongoing issue (since 2010 or longer). As a developer, I know that documentation is the last job I want to do, but as a user(albeit a fairly technical user) it is the first thing I need.7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.8KViews0likes1CommentRe: How to run a Test case from Java and be able to set and retrieve properties and see report
I got this answer from SmartBear regarding SoapUIProTestCaseRunner: Hi Vernon, The Javadoc is out of date and was last updated for SoapUI Pro 5.1.2. It has not been updated for Ready API, and in Ready API there was a number of package name changes. SoapUIProTestCaseRunner is in the package com.smartbear.ready.cmd.runner.pro. As for generating a report you can do that by using the SoapUIProTestCaseRunner class and the associated methods such as setJunitReport(boolean), setReportFormat(String[] args), setReportName(String arg), etc. You can not change testcase, testuite, or test step properties with the SoapUIProTestCaseRunner class, you would have to change the properties by getting to the testsuite or testcase level by creating a new project object and getting down to the testcase or testsuite you want to modify properties for. WsdlProjectPro project = new WsdlProjectPro("C:\\SoapUI\\SOAPUI Projects\\Basic-auth-test-soapui-project.xml"); List<WsdlTestSuite> testSuites = project.getTestSuiteList(); for (WsdlTestCase testCase : testCases) { System.out.println("Running SoapUI test [" + testCase.getName() + "]"); } After making modifications to the properties you can use the project.save() method to save the project file to run with SoapUIProTestCaseRunner. If you do not want to run with SoapUIProTestCaseRunner and want to be able to generate reports then I would have to escalate this to development as I do not see any methods you can directly call to do that other than the ones in SoapUIProTestCaseRunner. Regards, Really SmartBear: you were saying in 2010 that you would improve the documentation!7 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.2KViews0likes0CommentsHow do I import SoapUIProTestcaseRunner and/or SoapUIPro.SoapUIProCore?
I am trying to call SoapUI from Java, wanting to run certain test cases with certain properties and then be able to determine what failed where (get a report). I see examples here: https://support.smartbear.com/readyapi/docs/testing/integrations/junit.html Question about SoapUIProTestcaseRunner. The API documentation (https://soapui.org/apidocs/pro/com/eviware/soapui/SoapUIProTestCaseRunner.html#_ga=2.190358571.1641777942.1494498010-1195040155.1434438474) does not seem to be in any of the Jars. The example has an import: import com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner; But this class does not have the runTestCase method (for example) - so the reference and the example seem to be at odds with each other. Where do I import SoapUIPro.SoapUIProCore from (which may or may not be helpful)? I need the import statement and which Jar file is it in? The API documentation suggests com.eviware.soapui.SoapUIPro.SoapUIProCore, but I can't find this in any of the Jars delivered with ReadyAPI.7 years agoPlace ReadyAPI QuestionsReadyAPI Questions935Views0likes0CommentsHow to run a Test case from Java and be able to set and retrieve properties and see report
SoapUI is a great product for managing Soap and Rest messaging in the context of testing. I want to support theuse of existing and future SoapUI Pro tests within our chosen test framework - but I have an issue that is driving me crazy. The alternative is to not use SoapUI Pro at all - which is not my objective at all. I am trying to run a Test case from Java and be able to set and retrieve properties and see report output. I see examples of some of these elements here: https://support.smartbear.com/readyapi/docs/testing/integrations/junit.html These examples seem to be out-of-date - or is that just me? The link to theSoapUIProTestCaseRunneris to:https://soapui.org/apidocs/pro/com/eviware/soapui/SoapUIProTestCaseRunner.html#_ga=2.53884712.1072604993.1494427979-1195040155.1434438474 However the example uses:import com.smartbear.ready.cmd.runner.pro.SoapUIProTestCaseRunner; SoapUIProTestCaseRunner is good to run the test case and see the report - but I cannot set the properties or retrieve the results. The next description: "To have more control over integration and error reporting, run a specific test case:" seems to suggest that the same asSoapUIProTestCaseRunner but with more control is possible. Unfortunately, this does not seem to be the case. I can do this call:testCase.run(new PropertiesMap(), false) . . . and the test case runs - but when a step fails - how do I find out which step or which assertion failed? Also - any steps involving Pro features (e.g. reading data from Excel) fails with reason: "Cancelling due to failed test step" - but which step failed? Looking through the API, I see this: https://soapui.org/apidocs/pro/index.html?com/eviware/soapui/SoapUIProTestCaseRunner.html SoapUIProTestCaseRunner seems to offer the useful runTestCase method:https://soapui.org/apidocs/pro/com/eviware/soapui/SoapUIProTestCaseRunner.html#runTestCase(com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase) https://soapui.org/apidocs/pro/com/eviware/soapui/SoapUIProTestCaseRunner.html#runTestCase(com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase) SoapUIProTestCaseRunner also looks to have helpful reporting methods. I cannot find the SoapUIProTestCaseRunnerobject in the versions of SoapUI that I have (1.5; 1.6). Further, I have found the use of this code: SoapUIPro.SoapUIProCore soapuiCore = new SoapUIPro.SoapUIProCore(true, "/path/to/soapui-settings.xml"); Which might be helpful, but I cannot find the classSoapUIPro.SoapUIProCore - only the SoapUIProCore interface. Please, can someone suggest what combination of objects/methods in current versions of SoapUI Pro can be used to both run specific test cases - giving report output - and access the properties? I need to see the imports - my Java skills are a bit dusty and I am yet to learn how to search through Jars (something like using Oops! I think)! Attached is my existing attempt. Thank you4.2KViews0likes1CommentRe: Run TestCase from Java and set Settings?
Tim, I too am trying to call SoapUI from Java, wanting to run certain test cases with certain properties and then be able to determine what failed where (get a report). I see that you have followed a similar path to me (based on the examples from https://support.smartbear.com/readyapi/docs/testing/integrations/junit.html) - I have a couple of questions: 1) Did you ever get a satisfactory answer from Smartbear? 2) Where do I importSoapUIPro.SoapUIProCore from? Or has this disappeared from recent versions?7 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.8KViews0likes2CommentsRe: Run TestCase from Java and set Settings?
Tim, I too am trying to call SoapUI from Java, wanting to run certain test cases with certain properties and then be able to determine what failed where (get a report). I see that you have followed a similar path to me (based on the examples from https://support.smartbear.com/readyapi/docs/testing/integrations/junit.html) - I have a couple of questions: 1) Did you ever get a satisfactory answer from Smartbear? 2) Where to I importSoapUIPro.SoapUIProCore from? Or has this disappeared from recent versions?7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.9KViews0likes4Comments