Skip to content

Saving and Opening Stream Files

To open a stream file, first select the appropriate port in the ports list and then goto File | Open Streams (alternatively use the right-click context menu).

To save the streams configured on a port to a file, first select the appropriate port in the ports list and then goto File | Save Streams (alternatively use the right-click context menu).

The following file formats are supported -

  • Ostinato native ostm format (recommended)
  • pcap capture format (starting v0.4)
  • pdml XML format (starting v0.4)
  • py Python Script (starting v0.7)

Native OSTM format

This is the default and recommended format.

PCAP and PDML formats

If you want to use Ostinato generated packets with other tools, use the PCAP format which is widely supported.

Timestamps in exported PCAP files

Starting v1.2, exported PCAP files use nanosecond timestamps. Prior version used microsecond precision timestamps.

PDML is a XML representation of packets and their attributes.

Python script (export only)

You can export the configured streams as a python script for use with the Ostinato Python API.

This provides an easy to way to create and test traffic streams using the GUI and then use the exported python script for automation.

See Python API Guide for more details.

Back to top