Konda_R
16 years agoOccasional Contributor
[SOLVED]How to use property-expansion in filename of the MTOM attachment ?
Hi
I am trying to automate MTOM functionality using soapUI Pro 3.0.1 licensed edition. Please find bellow the default soap request created by soapUI for a WSDL hosted on our test server 'server1'.
cid:261522304143
cid:602125580217
As you can see from the above soap request ,the server expects 2 MTOM attachements [base64Binary type fields] to process and returns an MTOM attachment[base64Binary type] in the response message as well.
Since the content IDs [cid] contain random values for each invocation, How can I make the cid to refer to the specified file location & send file content in MTOM format?
Please note that location of the files to be attached to the contenet id [cid] is not fixed but can be resolved using property expansion along with relative path.
When I search the forum for help , I found the following info:
"you can either create a groovy script that does the actual attaching of the file or you can use property-expansion in the filename of the attachment and set it to not be cached."
But How to specify property-expansion in the filename of the attachment ?
For Example I tried setting input element of the above soap request with value "${server.installDir}/packages/MTOMTests/resources/Administrators_Guide.pdf", but its not working.
Could some one help me in resolving this?
Thanks in advance.
Kondareddy
I am trying to automate MTOM functionality using soapUI Pro 3.0.1 licensed edition. Please find bellow the default soap request created by soapUI for a WSDL hosted on our test server 'server1'.
As you can see from the above soap request ,the server expects 2 MTOM attachements [base64Binary type fields] to process and returns an MTOM attachment[base64Binary type] in the response message as well.
Since the content IDs [cid] contain random values for each invocation, How can I make the cid to refer to the specified file location & send file content in MTOM format?
Please note that location of the files to be attached to the contenet id [cid] is not fixed but can be resolved using property expansion along with relative path.
When I search the forum for help , I found the following info:
"you can either create a groovy script that does the actual attaching of the file or you can use property-expansion in the filename of the attachment and set it to not be cached."
But How to specify property-expansion in the filename of the attachment ?
For Example I tried setting
Could some one help me in resolving this?
Thanks in advance.
Kondareddy