plaidshirt
7 years agoContributor
Save attachments automatically in SoapUI with Groovy
I try to save all the attachments from a SOAP response. I use following Groovy script.
def testStep = testRunner.testCase.getTestStepByName("SubmitFile")
def response = testStep.testRequest.respons...
- 7 years ago
This
def ins = response.responseAttachments[0].inputStream
should be
def ins = response.attachments[0].inputStream