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
In v1.27.0 and earlier releases string interpolation was done on request variables. This has stopped working in release 1.28.0 and later.
String interpolation of the request variables was nice and allowed for variables to be picked up from the Environment and easily overridden on individual requests as need.
I tried this with v1.34.2 and the {{TestVar}} syntax yielded the same results when used in a Pre-Request Variable. The strings were not interpolated and the value from in the Variable was used directly ({{TestVar}}).
I have checked the following:
Describe the bug
In v1.27.0 and earlier releases string interpolation was done on request variables. This has stopped working in release 1.28.0 and later.
String interpolation of the request variables was nice and allowed for variables to be picked up from the Environment and easily overridden on individual requests as need.
Example:
SampleEnvironment.bru
SampleRequest.bru
v1.27.0 outbound request:
GET https://localhost/TestVarFromEnvironment
v1.28.0 oubtound request:
GET https://localhost/${TestVar}
This could be related to commit: cb395e7
In this the following code was removed form
run-single-request.js
.bru file to reproduce the bug
meta {
name: RequestVariableInterpolation
type: http
seq: 1
}
get {
url: https://localhost/{{TestVar}}
body: none
auth: none
}
vars:pre-request {
TestVar: ${TestVar}
}
Screenshots/Live demo link
The text was updated successfully, but these errors were encountered: