I write tests in SoapUI to test the post-request from my web-application. The post-requests invoked by the browser are PL-SQL - Procedures in Packages on a Oracle 11g database I don't know, how it is possible to write a test in SoapUI to test a post-request invoked by a form-Action with a Input type "file: e.g.
<<form action="server/updateblabla"
enctype="multipart/form-data" method="post">
<p>
Type some text (if you like):<br>
<input type="text" name="textline" size="30">
</p>
<p>
Please specify a file, or a set of files:<br>
<input type="file" name="datafile" size="40">
</p>
<div>
<input type="submit" value="Send">
</div>
</form>
The browser Input type "file" will upload the file to the Server automaticly and on the Server the file we put to the database with a script.
The post-Action "server/updateblabla will only Transfer the Name of the file. the Server/updateblabla procedure on the Server is a procedure in a Oracle PL/SQL Package and has only varchar Input Parameters.
Is there a possibility to upload the file from SoapUI like a browser Input type "file"
many thanks for your answers Michael
Aucun commentaire:
Enregistrer un commentaire