volt-test/php-sdk 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

volt-test/php-sdk

最新稳定版本:1.1.1

Composer 安装命令:

composer require volt-test/php-sdk

包简介

Volt Test PHP SDK - A performance testing tool for PHP Developers

README 文档

README

VoltTest is a high-performance PHP performance testing SDK powered by a Golang engine. It combines PHP’s simplicity with Go’s speed and concurrency, allowing you to define, run, and analyze tests with an intuitive API while leveraging Go for efficient load generation.

Features

  • Multiple Scenario Support with Weights – Run different test scenarios with custom weight distributions.
  • Data Provider for Virtual Users - Assign dynamic data to virtual users for realistic test simulations.
  • Extract Data from Requests – Capture and reuse response data in subsequent requests.
  • Request Customization & Response Validation – Modify headers, payloads, and assert results.
  • Think Time & Ramp-Up Configuration – Simulate real-user behavior.
  • Detailed Reports & Distributed Execution – Scale tests and analyze results.
  • Debug Requests - Inspect and troubleshoot request/response payloads easily.
  • Cloud Execution – Seamless cloud-based testing in progress.

Architecture

VoltTest PHP SDK works as a bridge between your PHP application and the VoltTest Engine (written in Go). When you run a test:

Your PHP code defines the test scenarios and configurations The SDK transforms these into a format the Go engine understands The Go engine executes the actual load testing Results are streamed back to your PHP application for analysis

This architecture provides several benefits:

Write tests in PHP while getting Go's performance benefits True parallel execution of virtual users Minimal resource footprint during test execution Accurate timing and metrics collection

Documentation

For detailed documentation, visit https://php.volt-test.com

Requirements

  • PHP 8.0 or higher
  • ext-json
  • ext-pcntl
  • ext-curl

License

The MIT License (MIT). Please see License File for more information.

For more examples and detailed documentation, visit https://php.volt-test.com

统计信息

  • 总下载量: 3.99k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 45
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 44
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-26