I'm currently trying to create a load test for my API using soapUI to send Adobe Message Format requests. I have a request that expects a byte[] data type, but I know next to nothing about Groovy or Java.
I've pieced together information from different threads and I'm trying to create a property expansion along the lines of "${byte[] contents = new File("C:/Users/jloiselle/Desktop/TestDragon.png").getBytes()}" which obviously does not work.
Can anyone help me out or at least point me in the right direction?
Thanks in Advance
You have the correct way of getting the bytes of the file;
How are you trying to send this array to the request?