Skip to content

v1.2

Latest

Choose a tag to compare

@mimoritouka mimoritouka released this 09 Jun 14:14
· 8 commits to master since this release
46ebfb9

This is a major architectural overhaul that refactors Spax from a simple script into a modular and extensible testing framework. The focus of this version is to introduce professional-grade features for more realistic and insightful load testing.

With support for HTTPS, gradual ramp-up, advanced reporting, and dynamic payloads, Spax is now better equipped to simulate real-world traffic against modern web applications in a controlled environment.

Key Features & Enhancements
HTTPS/TLS Support: Spax can now test secure websites (https://). The socket is automatically wrapped with SSL/TLS, enabling you to test a much wider range of real-world applications.

Gradual Load Ramp-Up (--ramp-up): Instead of starting all threads at once, you can now specify a ramp-up period. This gradually increases the load on the target, providing more realistic stress test results and helping to identify performance bottlenecks more accurately.

Advanced Reporting (--report-file): Test results can now be saved for later analysis.

JSON Output: Save a detailed summary of the test run, including all stats and error logs, to a .json file.

HTML Output: Generate a clean, presentable, and easy-to-read .html report directly from the test run, perfect for sharing.

Dynamic Payload Modes (--payload-mode): When using a payload file, you can now control how the data is used:

random (default): Selects a random payload from the file for each request.

sequential: Cycles through payloads in the order they appear in the file, ideal for simulating user workflows (e.g., login, browse, logout).

Improvements
Modular Architecture: The code has been refactored into classes (SpaxEngine, StatsManager, ProtocolHandlerBase), making it easier to maintain and extend with new protocols or features in the future.

Enhanced Live Stats: The real-time console dashboard is now cleaner and provides more detailed information, including a list of the most common errors encountered during the test.

Improved Stability: Error handling and thread management have been refined for more reliable and graceful shutdowns.