serial - Request or set serial number

Set serial number, from test plan or through PLTcloud.

Under Project Settings in PLTcloud, serial number allocation can be configured to use either monotonic counters, or through a webhook.

Usage:

- command: serial request [<KEY>:<jsonKey>]...

- command: serial set <value>

Argument

Description

request

Request serial number through PLTcloud backend

KEY

Test plan user key to extract from webhook response

jsonKey

Webhook response “extra” map key

set

Set serial number from test plan

value

Serial number to set

serial request requires an active PLTcloud connection and fails the step if none is available. Any number of <KEY>:<jsonKey> mappings may be given; each copies the value of jsonKey from the webhook response’s extra map into the test plan user key KEY. A jsonKey absent from the response is silently skipped.

serial set assigns the serial number directly from the test plan, with no PLTcloud round-trip.

Examples