webhook - Invoke webhook
Invoke a webhook through PLTcloud. The webhook HTTPS endpoint, URL, and HTTP method are configured in Project Settings on PLTcloud — the test plan step only triggers the call and maps the response back into test plan keys.
The webhook call is sent with the current DUT’s identifying information
(serial number, release, project). PLTcloud’s webhook response can include
an "extra" map of key/value pairs; each <KEY>:<jsonKey> mapping
copies the value at jsonKey in that map into the test plan user key
KEY, where it can be used like any other define - Define user keyd key. Mappings
for keys absent from the response are silently skipped. The step fails if
PLTcloud is unreachable or the webhook call itself fails; it does not
validate the webhook’s own HTTP response status.
Usage:
- command: webhook request [<KEY>:<jsonKey>]...
[retry: <retryCount>]
Argument |
Description |
|---|---|
|
Invoke webhook through PLTcloud backend |
KEY |
Test plan user key to store the extracted value under |
jsonKey |
Key to read from the webhook response’s “extra” map |
retryCount |
Number of times to retry the test step (optional) |
Examples