Skip to content

Feature request: access parent environments from request and response scripts #272

Description

@r-arteaga

As per the docs: 'The environment name should match an existing environment in the collection of the request to be executed.'

Would it be possible to access inherited environments?

// Just like
env.set("token", jp("$.accessToken", res.body))

// Something like
env.parent.set("token", jp("$.accessToken", res.body))

// that can extend to
env.parent.parent.set("token", jp("$.accessToken", res.body))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions