You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched existing issues and found nothing related to my issue.
Describe the bug
When I send my request with a multipart form body I have no issues, but when I send it with a pre-request script I get an error Error invoking remote method 'send-http-request': Error: TypeError: Cannot read properties of undefined (reading 'value').
When I change the body type to any other type or I remove the pre-request script everything works fine.
.bru file to reproduce the bug
meta {
name: Example
type: http
seq: 5
}
post {
url: https://localhost
body: multipartForm
auth: none
}
script:pre-request {
const example = 0;
}
Screenshots/Live demo link
Multipart form + script (doesnt work):
JSON + script (works, connection refused is expected):
Multipart form without script (works, connection refused is expected):
The text was updated successfully, but these errors were encountered:
I have checked the following:
Describe the bug
When I send my request with a multipart form body I have no issues, but when I send it with a pre-request script I get an error
Error invoking remote method 'send-http-request': Error: TypeError: Cannot read properties of undefined (reading 'value')
.When I change the body type to any other type or I remove the pre-request script everything works fine.
.bru file to reproduce the bug
Screenshots/Live demo link
Multipart form + script (doesnt work):
JSON + script (works, connection refused is expected):
Multipart form without script (works, connection refused is expected):
The text was updated successfully, but these errors were encountered: