Replies: 1 comment
-
This honestly feels like you are trying to use something for what it wasn't intended. It was never created to send multi-part binary data to and then process that data. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a metadata for an web-service created. then calling from postman this test webservice with some multipart/form-data request. i have a get variables step set up as:
Name Variable Type Format Length Precision Currency Decimal Group Trim type
request ${req} Binary none
now, when i do call the web service with .txt, .csv, .py, .xml files in an multipart form data request, the get variables step does not fail. if i try to send a .zip file, even if the type of the request field is set to binary, i get :
2025/08/11 15:33:40 - Get variables.0 - ERROR: java.lang.StringIndexOutOfBoundsException: Range [8008, 7890) out of bounds for length 110849
2025/08/11 15:33:40 - Get variables.0 - at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:55)
does the get variables step always tries to cast to String the received request? if so, why ?
le: is the req variable set in the metadata for the webservice the full binary? -> "req" (binary) containing the full POST body bytes. or this variable is always casted to string ?
Beta Was this translation helpful? Give feedback.
All reactions