Forum Discussion

Diias986's avatar
Diias986
Visitor
5 years ago

Submit a json file and JPG images in multpart / form-data in SOAPUI

Hello, I'm trying to send 6 images and json file  on soapui, but he only recognizes one image, I'm since yesterday trying to find a solution and I can not, can you help?

 

**

I tried to pass as a parameter query the files and nothing, I don't know what else to do

**

 

look at the print below

 

RAW SOAPUI : 

------=_Part_17_8886609.1578060103122
Content-Type: application/json; name=propriedades
Content-Transfer-Encoding: binary
Content-Disposition: form-data; name="propriedades"; filename="propriedades"

{
"dadosComunsAceite": {
"canal": "OPERADOR",
"ip": "10.11.198.87",
"porta": 4443,
"latitude": -23.5489,
"longitude": 46.6608874,
"sistemaOperacional": "Linux 64-bit",
"serialNumber": 60606070,
"deviceModel": "Chrome",
"gpsStatus": "SUCCESS"
},
"dadosArquivos": [
{
"nome": "Self1.jpeg",
"timeStamp": 15640817.71
},
{
"nome": "Self2.jpeg",
"timeStamp": 15640818.72
}, {
"nome": "Self3.jpeg",
"timeStamp": 15640819.73
},
{
"nome": "Self4.jpeg",
"timeStamp": 15640820.74
},
{
"nome": "Self5.jpeg",
"timeStamp": 15640821.75
},
{
"nome": "Self6.jpeg",
"timeStamp": 15640822.76
}
],
"dataInicioCaptura": 15640817.70,
"dataFimCaptura": 15640824.99
}
------=_Part_17_8886609.1578060103122
Content-Type: image/jpeg; name=Self2.jpg
Content-Transfer-Encoding: binary
Content-Disposition: form-data; name="Self2.jpg"; filename="Self2.jpg"

No RepliesBe the first to reply