-
Notifications
You must be signed in to change notification settings - Fork 6
Traffic Import Guide
Peter Mueller edited this page Apr 3, 2026
·
1 revision
Vespasian can import existing traffic captures from Burp Suite, browser dev tools (HAR), and mitmproxy. This lets you generate API specifications from traffic you've already captured without re-crawling.
-
Use
crawlwhen you want Vespasian to drive a headless browser and capture traffic automatically -
Use
importwhen you already have traffic captured from manual testing, mobile app testing, or other tools
Import is especially useful for mobile application testing, where no browser crawl can observe the API calls.
- In Burp Suite, go to the Proxy > HTTP history tab
- Select the requests you want to export
- Right-click and choose Save items as XML
vespasian import burp traffic.xml -o capture.json- Open browser Developer Tools (F12)
- Go to the Network tab
- Perform the actions you want to capture
- Right-click in the network list and choose Save all as HAR with content
vespasian import har recording.har -o capture.jsonmitmproxy -w flows
# or
mitmdump -w flowsvespasian import mitmproxy flows -o capture.jsonAfter importing, use vespasian generate to produce specifications:
vespasian generate rest capture.json -o api.yaml
vespasian generate graphql capture.json -o schema.graphql
vespasian generate wsdl capture.json -o service.wsdlVespasian is built by Praetorian. Learn more about the Praetorian Guard attack surface management platform. Licensed under Apache 2.0.