14 years ago
Property Substitution with Attachments
Hi all:
I'm testing a Soap With Attachment webservice where the attachment is actually a piece of XML. I'm familiar with Soap UI's property substitution using the ${xxx} notation for the Soap payload. But it doesn't seem to work on any attachments.
Is there a way through a Groovy Test Step that I can programmaticly get the attachment defined in the Attachment tab of the Soap Test Step and invoke property substitution on the XML? I've had a look at the Class WsdlTestRequestStep, but I can't find any methods for attachments.
I'm testing a Soap With Attachment webservice where the attachment is actually a piece of XML. I'm familiar with Soap UI's property substitution using the ${xxx} notation for the Soap payload. But it doesn't seem to work on any attachments.
Is there a way through a Groovy Test Step that I can programmaticly get the attachment defined in the Attachment tab of the Soap Test Step and invoke property substitution on the XML? I've had a look at the Class WsdlTestRequestStep, but I can't find any methods for attachments.