nim13
12 years agoOccasional Contributor
binary data in request body is not completely sent
Hi,
version: soapUI 4.5.1.1-SNAPSHOT
test-code:
In my case, the image file is 10148bytes (also shown in log.info), but after the request to a rest interface, only 10033 bytes are sent to the server. This of course leads to corrupted images.
best regards,
nim13
version: soapUI 4.5.1.1-SNAPSHOT
test-code:
def nFile = new File("thumbnail1.jpg")
String image2bin = nFile.getText()
testRunner.testCase.getTestStepByName("UploadThumbnail").getProperty("request").setValue(image2bin)
log.info image2bin.length()
In my case, the image file is 10148bytes (also shown in log.info), but after the request to a rest interface, only 10033 bytes are sent to the server. This of course leads to corrupted images.
best regards,
nim13