Link

A Link node allows to reuse another RequestStep (including Assertion) and Folder nodes.

How It Works

A Link node allows to override the values of the running node variables. A Link node runs another node, passing the variables set by a user to it. After the run, dynamic variables of the node are set as dynamic variables of the Link node parent group. Thus the result of the run can be seen from any of the neighboring Link node.

You can refer to:

You can NOT refer to:

  • Another Link node (including self);

  • Any child of a Link node (since it'll cause an endless loop).

circle-info

A Link node allows to override the variables values of the parent node.

circle-exclamation

Parent Node

Create a parent node you need to refer to and create all necessary static variables, for example postID. You can leave value fields empty.

Creating variables of the parent node

Create a Link node and specify its parent, and you'll see all the variables you created for the parent earlier. You can use any variables or a static value as an overriden value.

Creating a Link node and specifying its parent

Scenario Example

Let's see an example of running a RequestStep node as a Link node to delete a record.

Creating a parent node

  1. Create a new RequestStep node named deletePost.

  2. Request type - DELETE.

  3. Create for this node a static id variable without specifying its value.

Creating a scenario

Import the Project by URL

file-download
4KB

File Representation

A Link node is a folder with the node name, containing the index.yml file with the following format:

Last updated

Was this helpful?