Virtual USB CLI: Delete Session

The deleteSession command closes out Virtual USB tests session started in the command line interface using the startSession command.

Required#

--sessionId#

Description: your test session ID number, which you can find using the sessions command.

--username#

Description: your Sauce Labs username.

--accessKey#

Description: your Sauce Labs access key for authentication.

Basic Example (required flags only)
java -jar virtual-usb-client.jar deleteSession --sessionId d03a1b81-158d-4bb4-bcc9-074e43dd8465 --username john.smith --accessKey ab015c1e-xxxx-xxxx-xxxx-xxxxxxxxxxx
Response Example
07:45:46.375 [main] INFO com.saucelabs.vusb.client.Runner - Runner Version 2.0.0
Disconnected
Deleted session d03a1b81-158d-4bb4-bcc9-074e43dd8465

Optional#

Here are some additional options you can use on the configure your command line.

--serverHost#

Description: Virtual USB server host. Default value: http://127.0.0.1.

--serverPort#

Description: Virtual USB server port. Default value: 33657.

Full Example
java -jar virtual-usb-client.jar deleteSession \
--sessionId d03a1b81-158d-4bb4-bcc9-074e43dd8465 \
--username john.smith \
--accessKey ab015c1e-xxxx-xxxx-xxxx-xxxxxxxxxxx
--serverHost http://127.0.0.1 \
--serverPort 8080 \
Last updated on by Kim