Star

Created With

linkSpec Meta Section

Optional section providing info related to the entire suite

⚠️ Note: applies to every file path in the suite

example-spec.yml
1linkmeta:

2link name: Make sure Google loads

3link locate_files_relative: true

4linkconfiguration:

5link host: www.google.com

6link scheme: https

7linkspecs:

8link - name: Fetch Google homepage

9link request:

10link method: get

11link path: /

12link response:

13link status_code: 200



linkname

Give a name that describes the suite (e.g: "New User registration")

linkenabled

Enable/disable whether this suite should be run.

See also: Example: Disabled Suite

linklocate_files_relative

Locate specified files relative to this suite file's path.

If false, locates files relative to Node process's current working directory.

If true, locates files relative to the suite's path.

See also: Example: Relative Intersuite Dependencies

Spec Meta Sectionnameenabledlocate_files_relative

Home

Getting Startedchevron_right
Basicschevron_right
Requestchevron_right

Request Basics Headers Cookies Query Parameters Path Parameters

Payload Bodychevron_right

File Uploads Auto-Retry Additional Options

Response Validationchevron_right

Overview

Assertionschevron_right

Status Code Headers & Cookies

Bodychevron_right
Hooks & JSchevron_right

Overview

Function Typeschevron_right
Suite-Level Hookschevron_right
Spec-Level Hookschevron_right
Contextchevron_right
DRY & Reusing Specschevron_right
Command Line Interface (CLI)chevron_right