'How to store vars in context. Cucumber, groovy
I want to save several variables for 1 scenario like have a scope for several steps. For example, if I have login action and do it by rest API. I get a response and some cookie value like a session id. For all other requests, I must use this value.
If I need it for one steps group it's okay to store the value in the steps class, but It doesn't work if I want to reuse other steps.
I read about conception World but didn't find any doc about it realization for java cucumber.
Have someone decision for this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
