This framework has been created in the sipp_master_worker/ directory within your sipp project.
/home/raf/Documents/testproject/sipp_new/
├── sipp_master_worker/ ⭐ NEW - Distributed testing framework
│ ├── master/ FastAPI-based control plane
│ ├── worker/ Agent service for distributed workers
│ ├── docker/ Docker configuration (Compose + Dockerfiles)
│ ├── scripts/ Build and deployment automation
│ └── documentation files Complete guides and API reference
│
├── [existing SIPp source]
├── [existing docs/]
├── [existing sipp_scenarios/]
├── [existing pcap/]
└── [rest of original structure]
cd sipp_new/sipp_master_worker/scripts
chmod +x *.sh
./build.shThen open: http://localhost:8000/docs
Start with one of these files in sipp_master_worker/:
- INDEX.md ⭐ - Navigation guide and overview
- QUICKSTART.md - 30-second setup and first test
- README.md - Complete technical documentation
- DELIVERY_SUMMARY.md - Project overview and checklist
✅ Master API (FastAPI)
- Scenario management
- Execution orchestration
- Worker health monitoring
- Comprehensive logging
✅ Worker Agent Service
- Automatic registration
- Execution polling
- SIPp command execution
- Result reporting
✅ Database (PostgreSQL + Alembic)
- Auto-initialization on startup
- 4 tables: Workers, Scenarios, Executions, Logs
- Automatic migration management
✅ Docker Stack
- Master image (Python 3.11 + FastAPI)
- Worker image (SIPp compiled with PCAP support)
- Complete docker-compose.yml
- Health checks and auto-restart
✅ Deployment Tools
- build.sh - Full stack setup
- export-worker.sh - Image export
- deploy-external.sh - External deployment
✅ Complete Documentation
- 6 markdown files covering all aspects
- API reference with curl examples
- Architecture deep-dive
- Production checklist
- Database Auto-Init: PostgreSQL with Alembic migrations
- PCAP Media: SIPp compiled with
-DUSE_PCAP=1 - Comprehensive Logging: Database, file, and API logging
- Distributed Cluster: Master-Worker REST API architecture
- External Deployment: Export and deploy workers on other hosts
- Health Monitoring: Heartbeat-based worker health checks
- Docker Orchestration: Complete docker-compose.yml with 5 services
- 33 Files Created
- 14 Python modules (Master)
- 3 Python modules (Worker)
- 4 Docker files (Dockerfiles + Compose)
- 3 Bash scripts (Build, Export, Deploy)
- 6 Documentation files
- 3 Configuration files
| Task | File |
|---|---|
| Quick start | QUICKSTART.md |
| Full documentation | README.md |
| API reference | API_GUIDE.md |
| Architecture details | IMPLEMENTATION_SUMMARY.md |
| Project checklist | DELIVERY_SUMMARY.md |
| Navigation guide | INDEX.md |
cd sipp_master_worker/scripts
./build.shServices start automatically:
- Master API on port 8000
- PostgreSQL on port 5432
- 2 Worker nodes included
cd sipp_master_worker/docker
docker-compose up -d# Export worker image
cd sipp_master_worker/scripts
./export-worker.sh /tmp
# On external host
./deploy-external.sh /tmp/sipp-worker-image_*.tar.gz http://master-ip:8000 hostname| Document | Purpose | Read Time |
|---|---|---|
| INDEX.md | Navigation and overview | 2 min |
| QUICKSTART.md | 30-second setup | 5 min |
| README.md | Complete technical guide | 15 min |
| IMPLEMENTATION_SUMMARY.md | Architecture deep-dive | 20 min |
| API_GUIDE.md | REST API reference | 10 min |
| DELIVERY_SUMMARY.md | Project checklist | 10 min |
- 5 minutes: Read INDEX.md or QUICKSTART.md
- 5 minutes: Run
./scripts/build.sh - 5 minutes: Open http://localhost:8000/docs and explore API
- 30 minutes: Read README.md for deep understanding
- 20 minutes: Read IMPLEMENTATION_SUMMARY.md for architecture
- Docker and Docker Compose
- 4GB free disk space
- Ports 8000, 5432 available
| Feature | Status |
|---|---|
| Database Auto-Init | ✅ |
| PCAP Media Support | ✅ |
| Comprehensive Logging | ✅ |
| Distributed Cluster | ✅ |
| Worker Registration | ✅ |
| Health Monitoring | ✅ |
| External Deployment | ✅ |
| Docker Orchestration | ✅ |
| Complete Documentation | ✅ |
Navigate to sipp_master_worker/ and read INDEX.md for detailed navigation:
cd sipp_master_worker/
cat INDEX.mdOr jump straight to setup:
cd scripts
./build.shCreated: February 5, 2026
Status: ✅ Production Ready
Location: /home/raf/Documents/testproject/sipp_new/sipp_master_worker/