SV-Unable to POST form-data with REST step
search cancel

SV-Unable to POST form-data with REST step

book

Article ID: 186329

calendar_today

Updated On:

Products

CA Cloud Test Mobile CA Application Test

Issue/Introduction

We are trying to POST form-data with the REST step in DevTest. But it's not working.

 

POST /action HTTP/1.1

Host: milton.t-abc.com

Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW


------WebKitFormBoundary7MA4YWxkTrZu0gW

Content-Disposition: form-data; name="lab"


lab14

------WebKitFormBoundary7MA4YWxkTrZu0gW

Content-Disposition: form-data; name="sub"


U-61ce4f75-50a3-44d9-864e-24aa80c8df0b

------WebKitFormBoundary7MA4YWxkTrZu0gW

Content-Disposition: form-data; name="action"


consumer_profile_v2

------WebKitFormBoundary7MA4YWxkTrZu0gW--

 

 

 

Environment

Release : 10.x and up

Component : CA Application Test

Cause

N/A

Resolution


Workaround:  Use HTTP/HTML Step

HTTP/HTML Step has the Form built in using POST Parameters. 

URL : https://milton.t-abc.com/action 

Form Encoding: application/x-www-form-urlencoded    ( instead of multipart/form-data )


Attachments