Skip to content

Setting env variable in particular collection #236

@rishitai

Description

@rishitai

I have the collections as:

Parent_collection
|--- Child1_collection
| |--- Request1
| |--- Request2
|--- Child2_collection

When I try to set the environment with env.set() in response scripts, It only sets the value in closest parent collection or sub-collection.

For example: When I try to set the variable in Request1 or Request2. Though having the environment variable in Parent_Collection, It sets in the environments of Child1_collection, But I want to set the variable in Parent_collection.

How can I do so?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions