How to save dynamic variable from body to environment? #1166
Unanswered
volodymyr-romaniv-day
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi @volodymyr-romaniv-day you cannot apply filter to dynamic variable.
You can only apply filter to env variable - |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to save dynamic variable from body to environment after request is sent, how could I do this?
I wrote the next scripts, but it seems to me that custom filter doesn't work with dynamic variables:
function temp(input) {
console.log("test", input);
tc.setVar("test", input);
}
I need it because every time I need to create new item and check that it is created in the new list. For this I need to auto-generate id and save it to environment variable
Beta Was this translation helpful? Give feedback.
All reactions