Import .pcap Files
You can import .pcap files to use captured network traffic in your simulation.
- To learn more about importing pcap files, see Packet Capture (.pcap) File Import.
- Pcap file import is available for services using HTTP transport only.
Prerequisite: Enable the Pcap early access feature. For details, see Early Access Features.
- In the Data Model Editor, expand a rule.
- In the Operations pane, make sure the virtual service name is selected, and not an individual operation.
- Right-click the data rule and select Import Pcap.
Select a .pcap file stored in the file system.
- For REST services, select a specific URI space to import the data into.
In the Select Streams dialog box, select one or more streams to import.
The Select Streams dialog box displays all usable TCP streams in the .pcap file. Service Virtualization discards TCP streams with gaps.
The Size column displays the total number of bytes in the request and response streams.
Tip: Click a source or destination address to view the full source/destination path of the TCP connection.