Contributions
Re: SoapUI 5.0.0 Can soapui action response (right panel content) be overriden
Hi I can't say I wasn't expecting that question! The issue I am facing is that when I use soapui to invoke a "basic" web service everything works fine, but when the web service provider uses MTOM, I geta weird random behaviour, ie freeze, access denied, ect, I tried to modify a whole bunch of settings but it didn't fix it. When I tried invoking the same web service with a java api it worked. So as a work around I decided to invoke the java api from a jar stored inside soapui, the idea being if I am able to modify the right panel, MAYBE I can still benefit fromSoapui assertions functionnalities, that would work as some kind of bypass. Best regards1.3KViews0likes1CommentSoapUI 5.0.0 freeze when invoking JDBC test step several times from groovy code
Hi In order to avoid duplication, I wrote some groovy code that invokes a JDBC Test step, basically the SQL request is changed each time via the .setQueryMethod but the sameJDBC Test step is reused. Painfully, from time to time I am encountering freezes and then have to restart SoapUI. I have tried to no avail : =>IncreasingMaxPermSize in bothSoapUI-5.0.0.vmoptions andsoapui.bat =>pre-aggregrating insert requests to reduce number of invocations (I dont know about the step allowing batch insertion) =>Invoking method .release after calling testRunner.runTestStepByName("..."), I didnt find out it's descriptionbut it's name sounded promising at the time. =>Removing the script assertion but freezes occurin both cases Any help would be appreciated. Best regards!1.1KViews0likes2Comments- 8 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.4KViews0likes0Comments
How to get the name of the soapui project file ?
Hi I'd like to know how to retrieve that name. The closest I got to is "new com.eviware.soapui.support.GroovyUtils(context).projectPath" which provides the path. Incidentally project.name provides the name of the project but not the *.xml filename. I'd also like to know where I can find some kind of java doc but for soapui objects like testCase, project ... so I can see which attributes are available. Best regards.Solved8 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.4KViews0likes2CommentsRe: How to dynamically add Script Assertion, when addAssertion returns null
Hi Actually the same code turns out to beworking fine now (???), I still can't fathomwhat I wasdoing wrong. So basically it's all good. Best regards.8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.2KViews0likes0CommentsRe: How to dynamically add Script Assertion, when addAssertion returns null
Having done some more research it seems that AssertionEntry class is only available in SoapUI Pro which I haven't. Any suggestions ? Best regards.8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.2KViews0likes2CommentsHow to dynamically add Script Assertion, when addAssertion returns null
Hi I am trying to use groovy to add Script Assertion, I've found out in this forum I had to use addAssertion. Problem is that method returns null so I went back to this forum and I found this: import com.eviware.soapui.config.AssertionEntryConfig import com.eviware.soapui.impl.wsdl.teststeps.assertions.support.AssertionEntry import com.eviware.soapui.config.AssertionTestStepConfig def factoryinstance = AssertionTestStepConfig.Factory.newInstance() def testStep = context.testCase.testSteps["Assertion TestStep"]; def source = context.testCase.testSteps["Test Request"]; def entry1 = new AssertionEntry(factoryinstance.insertNewEntry(0) , testStep.getTestStep() ) def parent = null def entry = entry1.buildAssertionEntry("XPath Match", "Xpath", false, testStep, source, "Response",parent) testStep.addAssertionEntry(entry) which seems to have worked according to the discussion. Question is how can I adapt it so it handles Script Assertion instead of Xpath Assertion ? Best regards!8 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes3Comments