PDF Reports
Octrafic can generate professional PDF reports from your test results.
How it works
After running tests, simply ask the AI to generate a report:
generate a report from these testsOctrafic will:
- Collect all test results from the current session
- Generate a structured Markdown report
- Convert it to a styled PDF using WeasyPrint
- Save it to
~/Documents/octrafic/
Requirements
PDF generation requires WeasyPrint. Follow the official installation guide for your platform:
If WeasyPrint is not installed, Octrafic will let you know when you try to generate a report.
Output location
Reports are saved to:
~/Documents/octrafic/octrafic-report-2025-01-15_143025.pdfThe file name includes a timestamp so reports never overwrite each other.
What's in the report
- Title and date
- Summary - total tests, passed, failed
- Results table - method, endpoint, status code, duration
- AI analysis and recommendations
Example prompts
generate a reportcreate a PDF report for these test resultsgenerate a report and name it users-api-tests.pdfStyling
Reports use the Octrafic brand theme - sky blue headers, styled tables, and dark code blocks. Each report includes page numbers and a footer with the generation timestamp.
Related
- Quick Start - Getting started with Octrafic
- Authentication - Configuring auth for API tests
