Contributions
Re: SoapUIProTestCaseRunner selective tests execution
Hi, Thanks for your response. Indeed, this issue is not reproduced in version 3.6.2. I didn't used the installer but got all dependencies from your Maven repository for version 3.6.2-SNAPSHOT. -Do you have an estimation when it will be released, so I wont need to work from SNAPSHOT repository? Thanks, Chen.13 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.2KViews0likes0CommentsSoapUIProTestCaseRunner selective tests execution
Hi, I'm using SoapUIProTestCaseRunner (v3.6) in my tests for selective TestCases execution. During execution I noticed that some TestCases, NOT within selected TestSuite, are also executed. Here's an example, my project contain the following tests hierarchy: -TestSuite 1 --TestCase1 -TestSuite 2 --TestCase1 Executed code: SoapUIProTestCaseRunner r = new SoapUIProTestCaseRunner(); r.setProjectFile(f.getAbsolutePath()); r.setHost("[ip]"); r.setIgnoreError(true); r.setPrintReport(true); r.setJUnitReport(true); r.setExportAll(true); r.setOutputFolder(outputFolder.getPath()); r.setTestSuite("TestSuite 1"); r.setTestCase("TestCase 1"); r.run(); After execution, when I checked my Junit reports, I noticed that 'TestCase 1' within 'TestSuite 2' was also executed. - soapui.log also confirmed it. Is this method of execution is as desigened? -when I use distinct TestCase name it doesn't happen, but do I have a way to cause only 'TestCase 1' within 'TestSuite 1' to be executed? Thanks, Chen.13 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.3KViews0likes3Comments[Resolved] soapUI Preferences
Hi, I'm using SoapUIProTestCaseRunner programmatically (soapUIPro 3.5.1). I would like to know if there's an option to set 'SSL Settings' (from soapUI Preferences) programmatically, prior to runner launching. code examples would be great. Thanks, Chen.14 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.8KViews0likes2CommentsUpdate wsdl definition via API (Basic Authentication)
Hello, I'm using the following code in my project in order to update wsdl definitions: List<Interface> ifaces = wsdlProjectPro.getInterfaceList(); for (Interface iface : ifaces) { if (iface instanceof WsdlInterface) { WsdlInterface wsdlInterface = (WsdlInterface) iface; wsdlInterface.updateDefinition(url, false); } } When my url is behind http Basic Authentication I can't access it and complete the operation above. it terminates with the following exception: ERROR [HttpMethodDirector] java.lang.NullPointerException at com.eviware.x.form.XFormFactory.createDialogBuilder(XFormFactory.java:19) at com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader$WsdlCredentialsProvider.buildBasicDialog(UrlWsdlLoader.java:329) at com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader$WsdlCredentialsProvider.access$400(UrlWsdlLoader.java:246) at com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader$WsdlCredentialsProvider$ShowDialog.run(UrlWsdlLoader.java:360) at com.eviware.soapui.support.swing.SwingUtils.runInUIThreadIfSWT(SwingUtils.java:37) at com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader$WsdlCredentialsProvider.getCredentials(UrlWsdlLoader.java:306) at org.apache.commons.httpclient.HttpMethodDirector.promptForCredentials(HttpMethodDirector.java:867) at org.apache.commons.httpclient.HttpMethodDirector.processWWWAuthChallenge(HttpMethodDirector.java:732) at org.apache.commons.httpclient.HttpMethodDirector.processAuthenticationResponse(HttpMethodDirector.java:668) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:193) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader$LoaderWorker.construct(UrlWsdlLoader.java:210) at com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader.load(UrlWsdlLoader.java:124) at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:108) at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:470) at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460) at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:94) at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:219) at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45) at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111) at java.lang.Thread.run(Unknown Source) Is there a way to provide it the credentials through the api? I got the same results when tried to update definitions with a url in the following format: https://[user]:[pass]@[path]?WSDL Thanks, Chen.14 years agoPlace ReadyAPI QuestionsReadyAPI Questions3KViews0likes3CommentsRe: junit report from SoapUIProTestCaseRunner
Hi, Dealing with the same issue, your example: SoapUIProTestCaseRunner runner = new SoapUIProTestCaseRunner(); System.setProperty("script.library", "F:\\Test\\Soapui\\scripts"); runner.setProjectFile( "F:\\Test\\Soapui\\soapui-project.xml" ); runner.setEndpoint("http://andenserver:8085/danid/services/IdentityServiceV1R13"); runner.setSettingsFile("C:\\Users\\mwl\\soapui-settings.xml"); runner.setTestSuite("theSuite"); runner.setJUnitReports( true ); runner.setOutputFolder( "C:\\Users\\mwl\\tmp" ) runner.run(); is generating HTML report as well. is there a way to use SoapUIProTestCaseRunner (not SoapUITestCaseRunner) to generate junit report in xml format only? I've noticed this method setReportFormats(String[]) but couldn't get it to work or control the report format. Your help is appreciated. Thanks, Chen.14 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.2KViews0likes0CommentsRe: ERROR [WsdlTestCase] Failed to create test step for [DataSource]
Hi, I just got a license file, no login I'll check with my IT personnel. these are my license details: Name: RSA Security Israel User 12 Organization: RSA Security Israel E-Mail: Exxx.Axxxxxxx@rsa.com License Type: PROFESSIONAL Expires: Tue Aug 18 11:19:41 IDT 2009 I'll keep you posted. Thanks, Chen1.4KViews0likes0Comments