Forum Discussion

grayR's avatar
11 years ago

Testing html forms for REST service

I have created REST service "binding" inside soapUI project from WADL. Currently it sends xmls to servers. Also it is possible for my REST service to send requests as html forms, like in this sample:

<FORM action="http://somesite.com/prog/adduser" method="post">
<P>
<LABEL for="firstname">First name: </LABEL>
<INPUT type="text" id="firstname"><BR>
<LABEL for="lastname">Last name: </LABEL>
<INPUT type="text" id="lastname"><BR>
<LABEL for="email">email: </LABEL>
<INPUT type="text" id="email"><BR>
<INPUT type="radio" name="sex" value="Male"> Male<BR>
<INPUT type="radio" name="sex" value="Female"> Female<BR>
<INPUT type="submit" value="Send"> <INPUT type="reset">
</P>


Can soapUI automatically generate/simulate such forms from my WADL generated service which I already included to my soapUI project? If not, then how such form requests can be tested with soapUI?
No RepliesBe the first to reply