Introduction to Nodes
Nodes are the fundamental, no-code building blocks of any Test Flow in ReAPI. Each node represents a single, distinct action—such as making an API call, setting a variable, or creating conditional logic. By connecting nodes in a visual sequence, you can build complex and powerful test scenarios without writing a single line of code.
This section serves as the complete reference guide for every node available in ReAPI.
Node Categories
Nodes can be grouped into several logical categories based on their function.
Core & Structure
These nodes define the entry point and overall structure of your tests.
- START Node: The mandatory entry point for every Test Flow.
- $REF Node: Reference and reuse another test case, promoting modularity.
- SELECTOR Node: Dynamically gather and run a collection of test cases by folder or tag.
Execution
These nodes perform the primary actions of your test.
- API Node: The core node for making HTTP requests and validating their responses.
- SCRIPT Node: Execute custom JavaScript in a secure sandbox for advanced logic.
- WAIT Node: Pause the execution for a fixed or dynamic duration.
Flow Control
These nodes allow you to create sophisticated, non-linear logic in your tests.
- IF Node: Create conditional “if-then-else” branches.
- SEQUENCE / PARALLEL Nodes: Run a series of child nodes sequentially or concurrently.
- LOOP / ITERATION Nodes: Repeat actions a fixed number of times or iterate over an array.
Data & Validation
These concepts are integral parts of nodes, allowing you to manage state and validate behavior.
- Context & Variables: Read, create, and modify variables to manage the state of your Test Flow.
- Assertions: Define rules to validate the outcomes of your tests, typically attached to an API Node.