Dynamic values in body #1476
Unanswered
Arctomachine
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I'm totally new to Bruno and can't figure out how to do this. It's a very useful feature, and Talend API Tester allows multiple expressions (albeit limited) to generate random data. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to set dynamic values to json body. But I also want to keep the rest of body from manual input. How to achieve it?
Example:
I tried bru.setVar, but it says variable is not defined. And when manually defining its value, it is not overwritten by script.
Also tried req.body.id = ... and req.setBody(...), but it has no effect over manually typed body.
And scripts give error about crypto, btoa
Beta Was this translation helpful? Give feedback.
All reactions