Skip to content

Variable Not Interpolated in Key Field for Multipart Requests #5479

@ganesh-bruno

Description

@ganesh-bruno

I have checked the following:

  • I have searched existing issues and found nothing related to my issue.

This bug is:

  • making Bruno unusable for me
  • slowing me down but I'm able to continue working
  • annoying
  • this feature was working in a previous version but is broken in the current release.

Bruno version

2.10

Operating System

Mac

Describe the bug

In a multipart and form URL-encoded request, using a variable (e.g. {{var-name}}) in the key field of a multipart body part does not interpolate the value as expected.

However, it's working correctly with header key field.

.bru file to reproduce the bug

meta {
name: echo
type: http
seq: 10
}

post {
url: https://echo.usebruno.com
body: multipartForm
auth: none
}

headers {
{{PAT}}: bdhb
}

body:multipart-form {
one: '''
{ "name": {{url}}vhhgghvg hvhgmhghv hmvhgvh
}
'''
{{PAT}}: gvgdvw
}

script:pre-request {
req.setTimeout(5000)

}

Screenshots/Live demo link

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions