Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Postman variables in body won’t get replaced #32

Closed
cpcalderon opened this issue May 9, 2019 · 1 comment · Fixed by #35
Closed

Postman variables in body won’t get replaced #32

cpcalderon opened this issue May 9, 2019 · 1 comment · Fixed by #35

Comments

@cpcalderon
Copy link

cpcalderon commented May 9, 2019

Issue #12 seems isn't completely solved. Opened forum question here:
https://community.k6.io/t/postman-variables-in-body-wont-get-replaced/113

Seems the answer from tamitakamiya fixes the issue, at least for me.

config.data = data
to
config.data = evaluate(data)
@bookmoons
Copy link
Contributor

bookmoons/body-var has a fix for this to submit when open PRs are done.

Thanks for the report @cpcalderon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants