Start PacketList Capture

This API starts the capture of a specific or all packet lists in the running test.

Note: If start capture follows the end of a capture without downloading the packet list in between, then this capture phase is lost.

Request

Starts capturing all packet lists in all running tests.

URL http://ip:port/shunra/api/trafficresource/packetlist/capture
HTTP Method POST
HTTP Headers

Content-Type: application/json

Accept: application/json

Authorization: See Web Services Authentication.

Body None

Starts capturing specific packet lists in a specific running test.

URL http://ip:port/shunra/api/trafficresource/packetlist/capture/testToken/packetListId
HTTP Method POST
HTTP Headers

Content-Type: application/json

Accept: application/json

Authorization: See Web Services Authentication.

Body None

Starts capturing all packet lists in a specific running test.

URL http://ip:port/shunra/api/trafficresource/packetlist/capture/testToken
HTTP Method POST
HTTP Headers

Content-Type: application/json

Accept: application/json

Authorization: See Web Services Authentication.

Body None

 

Response

HTTP Response Code 204 - No content
HTTP Headers  
HTTP Body