Stop PacketList Capture

This API stops the capture of a specific or all packet lists in the running test(s).

Note: If you use Stop Packet List Capture with a specificTestToken, the setting is effective until the end of the specific test. If you use Stop PacketList Capture without a test token, or in other words Stop All Packet Lists for all Running Tests, your setting will be effective for all current and future tests and will be reset when there are no running tests.

Request

Stop capture of all packet lists in all running tests.

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

Content-Type: application/json

Accept: application/json

Authorization: See Web Services Authentication.

Body None

Stops the capture of specific packet lists in the specific test.

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

Content-Type: application/json

Accept: application/json

Authorization: See Web Services Authentication.

Body None

Stops the capture of all packet lists in a specific test.

URL http://ip:port/shunra/api/trafficresource/packetlist/capture/testToken
HTTP Method DELETE
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