JSON modules
The technology-specific modules for JSON can create and save a JSON resource, open or create a JSON file, and validate a JSON file against a JSON schema file.
Create JSON Resource
Creates an empty JSON resource. You can add JSON elements to the empty resource in later test steps.
|
Value |
Description |
|---|---|
|
Resource |
Name of the resource you want to create. |
JSON Schema Validation
Validates a JSON file against a JSON schema file.
|
Value |
Description |
|---|---|
|
Path to JSON |
Absolute path to the JSON file you want to validate. |
|
Path to schema |
Absolute path to the JSON schema file. |
Open/Create JSON file
Loads a JSON file as a resource and creates a new JSON file.
|
Value |
Description |
|---|---|
|
Resource |
Name of the resource you want to create. |
|
Filepath |
Full file path to the JSON file, including file name and extension. |
Save JSON Resource
If you make any changes to a JSON resource during your tests, use the module Save JSON Resource to save these changes to the JSON file.
|
Value |
Description |
|---|---|
|
Resource |
Name of the resource you want to create. |
|
Filepath |
Specify a different file where you want to save the changes to the resource. This value is optional. |