Skip to main content

Reference

Glossary of values and codes​

Outcome​

ValueMeaning
PassedAll rules pass (or there are no rules and execution succeeded).
FailedAt least one rule failed and none is blocked.
BlockedCould not be evaluated / prerequisite failed: unfilled variable, invalid path, setup failed, "Block the remaining cases", extract not found (Block Dependants).
SkippedThe case is disabled.

Collection & run status​

ValueMeaning
Draft / Published / ArchivedCollection status (list filter). Draft changes freely; Published is version-numbered.
Run statusAmong others running, finished, cancelled, ABORTED (cancelled by the system; shows an error message) and "Runner lost".

Frequent error codes​

CodeCause & action
VERSION_CONFLICTThe draft was changed by someone/an agent else. Choose Reload Latest Draft, then Reapply My Edits.
SECRET_MISSING / SECRET_STORE_UNAVAILABLEThe referenced secret is not in the vault / the vault is unreachable.
ENVIRONMENT_NAME_TAKEN, ENVIRONMENT_REFERENCED, ENVIRONMENT_PROTOCOL_LOCKED, ENVIRONMENT_VALUE_IN_USEDuplicate name; still referenced; protocol locked; env variable still used.
SOURCE_COMMAND_IN_USE, SOURCE_FILE_UNAVAILABLE, EXTRACTION_KIND_UNSUPPORTEDCommand still used by a dataset; source file missing; file type cannot be extracted.
COMPARE_NOTHING_TO_COMPARE, COMPARE_SHAPE_MISMATCHCompare has no readable side; data shape (array vs single) does not match the mapping.
DATASET_ROW_COUNT_MISMATCHDatasets bound to one case have different row counts. Make the row counts equal, then bind again.
IMPORT_REFERENCE_UNRESOLVEDCopy to collection or import found a reference (for example a collection-wide dataset) that the target does not have. Map it to a dataset of the target collection that is available to all cases, then retry.
DEFAULT_ENV_IN_USEYou tried to remove a default environment that an enabled case still follows. Pin the environment on those cases first.
RUN_CANCELLEDThe case was skipped because the run was cancelled before it started.
VALIDATION_FAILEDA request was refused, often because of a missing permission or an invalid value. The message names the reason.

Permissions​

Access is controlled per project under the feature API Test. If you lack a permission the matching button or tab is hidden or disabled, or the page says "You do not have permission to …". These are the permission names used by the application.

AreaPermissionsWhat they gate
CollectionsBuild Collection · View Collection · Update Collection · Delete Collection · Publish Collection · Export CollectionCreate (New API Test Collection), open and edit, delete, Publish, export a version.
Test casesBuild Test Case · View Test Case · Update Test Case · Delete Test Case · Export Test CaseAdd Case / Import Case / Duplicate / Copy, see and edit cases, delete, Export case.
DatasetsBuild Dataset · View Dataset · Update Dataset · Delete DatasetThe Datasets tab, retrieving from an external source, rename, delete, "Make available to all".
Generated testsGenerate Test · Discard GenerationThe Generated tab and its Add / Discard actions.
RunsRun Test · View Run · Cancel RunRun tabs and Start run; History and results; Cancel run.
EnvironmentsBuild Environment · View Environment · Update Environment · Delete EnvironmentThe Environments section and forms.
External sourcesBuild External Source · View External Source · Update External Source · Delete External Source · Test ConnectionThe External sources section, editor, and the Test connection button.
SecretsBuild Secret · View Secret · Update Secret · Delete SecretThe Secrets section: Add secret, Replace, Delete.
GeneralView API TestGeneral access to the API Test feature.

Permission messages you may see​

MessageMissing permission
You do not have permission to build collections.Build Collection
You do not have permission to update this collection.Update Collection
You do not have permission to view test cases. / edit this test case.View / Update Test Case
You do not have permission to view datasets.View Dataset
You do not have permission to view generated tests.Generate Test
You do not have permission to view run history. / view this run.View Run
You do not have permission to view / manage Environments, External sources or Secrets.View or Update on the matching feature
Export button tooltip: "You do not have the Export Test Case permission."Export Test Case

Messages and field hints​

Short explanations of messages and fields you may meet. Fields that belong to one screen are explained on that screen's page.

WhereTextMeaning
HTTP step (Setup/Teardown) · AuthenticationUsername, Password secret, Token secret, Key secret, Client secretSecret fields are chosen from your vault ("This stored reference is not in your vault. It will be preserved." if the name is missing).
HTTP step · Extract into VariablesSensitive value / Visible valueWhether the stored value is masked in results.
Import / Export stepFrom Caller → local variable · From This Collection → To Caller (Remove mapping)Moves values across the nested-collection boundary. Export step: "To Caller"; import step: "To This Collection".
RUN_SQL stepSelect a Database external source · Select a saved SQL · Set the variable to null"Saves the first column of the first row. SQL NULL is saved as null, so an is empty check passes on it." If no row: block the case or set the variable to null.
AssertionsAssertions from definition: "The definition suggests no assertions for this response."The From definition suggestions panel; shown when the definition has nothing to suggest for the response.
Capture preview"Run Try captures to preview"Click Try captures on sample to see what each capture would read.
Capture where-patternone ( ), e.g. RQ=([A-Z0-9]+)A regex with exactly one capturing group.
External source editor"Absolute folder containing the logs, for example /apps/logs." · "Optional known_hosts line. Pin this when using password authentication." · "Empty uses the default for this database type." · "At least one saved command / saved SQL is required."Field help and validation messages. A database source also asks for "Database or schema name".
Datasets tab"Create an SSH External Source before retrieving documents." · "Enter a new name different from the current name."Prerequisite and validation messages.
Variables tab"Declared and set on Environment · not here" · "Declared below · shared in this collection occurrence" · "Your personal vault · resolved at run time" · "Case-local · written by that case's setup or Extract"The four reference sources for {{env.x}}, {{run.x}}, {{secret.x}} and {{x}}.
Environment form"Protocol is locked." · "The server rejected this value."The protocol cannot change once the environment is used; a field the server refused is flagged with this message.