Robot Framework v 2.7.5 Soap UI Library throws error with a REST multi-part form POST request

142 views
Skip to first unread message

gwal...@navinet.net

unread,
Jun 19, 2013, 8:39:57 AM6/19/13
to robotframe...@googlegroups.com
Using Robot's Import SoapUILibrary:

When I call a Soap UI Test Case with a Multi-Part REST post request I get the following MessagingException:

However I can successfully run this SoapUI Test case from Soap UI itself.

A json document has been attached to this multi part form request, called testDocument.json.
I have attached the stack trace log from the robot output.html log to this post.


This is the Rest Request Header:

Content-Type   multipart/form-data; boundary=----------------------------8d030e3574841ed

This is the Rest Request Content:

------------------------------8d030e3574841ed
Content-Disposition: form-data; name="metadata"
Content-Type: application/json

{
                "expiration" : "04-May-2014",
                "TestData" : {
                    "Sender" : "tester",
                    "TestDataType" : "TestHistory"
                }
            }
------------------------------8d030e3574841ed
Content-Disposition: form-data; name="payload"; filename="testDocument.json"
Content-Type: application/json

------------------------------8d030e3574841ed--




SoapUI_Error.log
Reply all
Reply to author
Forward
0 new messages