ContributionsMost RecentMost LikesSolutionsRe: 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 get a 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 from Soapui assertions functionnalities, that would work as some kind of bypass. Best regards SoapUI 5.0.0 Can soapui action response (right panel content) be overriden Hi The question is the title really, is it possible to programaticallty write inside the right panel, which normally contains the web service response <soapenv:Envelope ... Best regards Re: SoapUI 5.0.0 freeze when invoking JDBC test step several times from groovy code Hi I tried using Soapui 5.3, but I have the same issues. Best regards! SoapUI 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 same JDBC 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 : =>Increasing MaxPermSize in both SoapUI-5.0.0.vmoptions and soapui.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 description but it's name sounded promising at the time. =>Removing the script assertion but freezes occur in both cases Any help would be appreciated. Best regards! Re: How to get the name of the soapui project file ? It works fine. Thanks awfully! 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. SolvedRe: How to dynamically add Script Assertion, when addAssertion returns null Hi Actually the same code turns out to be working fine now (???), I still can't fathom what I was doing wrong. So basically it's all good. Best regards. Re: 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. How 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!