VoltTest PHP SDK
The VoltTest PHP SDK is a PHP library that lets you write performance, load, and stress tests for any PHP application using familiar PHP syntax. It connects to a high-performance Go engine that simulates hundreds to millions of concurrent virtual users, then returns structured metrics including response times, throughput, error rates, and percentile distributions (p95, p99). You can run tests locally during development or scale to production-grade load on VoltTest Cloud.
What Can the VoltTest PHP SDK Do?
Here are some of the key features of the VoltTest PHP SDK:
Performance Testing:
- Concurrent virtual user simulation
- Configurable test duration and ramp-up periods
- Real-time metrics collection
- Custom think time simulation
HTTP(S) Testing:
- All standard HTTP methods (GET, POST, PUT, etc.)
- Header and body customization
- Cookie and session management
- Response validation
- Variable extraction and reuse (JSON,header, cookies, regex.)
Data Management:
- CSV data source support
- Multiple data iteration modes(sequential, random, unique)
- Dynamic data extraction and reuse
- Automatic Cookie handling
Result Analysis:
- Success/failure rates
- Request throughput
- Response time statistics (min, max, med, p95, p99)
Platform Support:
- Cross-platform compatibility (Windows, Linux, MacOS)
- Automatic binary download and installation
- PHP 8.0 or higher
Let's install the SDK and get started with writing your first test script.