Skip to main content

SeeTestAutomation- CaptureNetworkDump

info

Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .

void startCaptureNetworkDump(String localFilePath)

void stopCaptureNetworkDump()

Description

Start/Stop capture of device network traffic for a cloud device.

The capture will start when startCaptureNetworkDump is executed.

The capture will stop at the end of the test run or when stopCaptureNetworkDump is executed.

Parameters

  • localFilePath: Full path of the requested file download destination.

Example:   

In the following example, we will start the capture, wait for 5 seconds and stop.

Code Examples

Java Example

client.startCaptureNetworkDump("C:\\tmp\\device.pcap");

client.stopCaptureNetworkDump();

C# Example

client.StartCaptureNetworkDump("C:\\tmp\\device.pcap");

client.StopCaptureNetworkDump();

VBScript Example

client.StartCaptureNetworkDump("C:\\tmp\\device.pcap");
client.StopCaptureNetworkDump();

Python Example

self.client.startCaptureNetworkDump("C:\\tmp\\device.pcap")

self.client.stopCaptureNetworkDump()

Perl Example

$client->startCaptureNetworkDump("C:\\tmp\\device.pcap");

$client->stopCaptureNetworkDump();