Contributions
Validation xml signature in Soap UI using groovy
This is part of my request. <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <SignedInfo> <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> <Reference URI=""> <Transforms> <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <DigestValue>srfthsrfthsth</DigestValue> </Reference> </SignedInfo> <SignatureValue>srftjzasrthuust</SignatureValue> <KeyInfo> <X509Data> <X509IssuerSerial> <X509IssuerName>qwwe</X509IssuerName> <X509SerialNumber>123</X509SerialNumber> </X509IssuerSerial> <X509Certificate>assdf</X509Certificate> </X509Data> </KeyInfo> I need to validate xml signature in Soap UI using groovy. How to do it?8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.4KViews0likes1CommentHow to get part of xml from project properties
I need to get part of xml, that located under project properties. XML located under Custom Properties, named Test <test1>aaa</test1> <test2>bbb</test2> <test3>ccc</test3> And from this xml I need to take only value bbbSolved8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes2Comments- 8 years agoPlace ReadyAPI QuestionsReadyAPI Questions959Views0likes0Comments
Re: [SoapUI] An error occurred [Probably bad PKCS12 password: java.io.IOException
The password should be set first! // set SoapUI.settings.setString( SSLSettings.KEYSTORE_PASSWORD, keystorePassword ) SoapUI.settings.setString( SSLSettings.KEYSTORE, pathToKeystore )8 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.8KViews0likes0Comments- 8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes0Comments
Re: Change Properties for new test project
It can be implemented using Groovy step. // get value def project = testRunner.getTestCase().getTestSuite().getProject() def value = "name" + project.properties['value'].value // set values testRunner.testCase.getTestStepByName("step1").setPropertyValue("Username", value) testRunner.testCase.getTestStepByName("step1").setPropertyValue("Password", value)8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes0CommentsHow to fix InvalidDefinitionException on Jenkins
01:40:17,479 ERROR [SoapUI] An error occurred [com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException], see error log for details com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlInterfaceDefinition.load(WsdlInterfaceDefinition.java:53) at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinition(WsdlContext.java:62) at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext.loadDefinition(WsdlContext.java:34) at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.cacheDefinition(AbstractDefinitionContext.java:246) at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext.access$400(AbstractDefinitionContext.java:48) at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:219) at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46) at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:131) at java.lang.Thread.run(Thread.java:745) 01:40:17,503 ERROR [SoapUI] An error occurred [No match found], see error log for details java.lang.IllegalStateException: No match found at java.util.regex.Matcher.group(Matcher.java:485) at com.eviware.soapui.support.GroovyUtils.extractErrorLineNumber(GroovyUtils.java:132) at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:160) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:213) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:47) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:139) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:47) at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:129) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1KViews0likes2CommentsChange Properties for new test project
I have test step Properties in test project. Iuse test project for two different customer and need only to change Properties. How to implement changing of properties for every new test project. I run test on Jenkins.Solved8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.2KViews0likes2CommentsRe: Make reusable test project with authentication
For all test cases in test project I use Authenticating SOAP Requests. See here: https://www.soapui.org/soap-and-wsdl/authenticating-soap-requests.html But I want to reuse test project, so username and password should be differ. And I need to define username and pass somewhere, is it possible?8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.7KViews0likes1Comment