How to test fileupload using SOAP UI
Asked Answered
S

1

6

How to test fileupload using SOAP UI.

There is a service which accepts file as input I want to simulate that using SOAP UI
It gives me .

content should be inline .

alt text

Skied answered 29/10, 2010 at 12:25 Comment(1)
This question is basically impossible to answer in its present form. You need to supply more information.Halima
L
5

Here are some docs on using attachments in soapUI.

http://www.soapui.org/SOAP-and-WSDL/adding-headers-and-attachments.html

From Ole in the eviware forum

  1. Create a new Project
  2. Create a TestSuite in the Project
  3. Create a TestCase in the TestSuite
  4. Add an HTTP TestRequest Step to the TestCase
    • Set the endpoint to the URL you want to upload to
    • Set the method to POST (or PUT)
  5. In the Request Editor add the File you want to upload to the Attachments tab
  6. Set the Media-Type of the POST Body to the same as the Content-Type of the attached File
  7. Send the request!
Latonialatoniah answered 29/10, 2010 at 13:2 Comment(1)
i think attachment and doc as param to method are differentSkied

© 2022 - 2024 — McMap. All rights reserved.