A Python tool that converts Swagger/OpenAPI and YApi documentation into JMeter JMX files for automated performance testing.
swaggerjmx is a Python tool that automatically converts Swagger/OpenAPI and YApi documentation into JMeter JMX files. It solves the problem of manually writing and maintaining performance test scripts by generating them directly from API specifications, saving significant time for testing teams.
API testers, performance engineers, and developers who use JMeter for load testing and want to automate test script creation from existing API documentation.
Developers choose swaggerjmx because it eliminates the tedious manual process of creating JMeter tests, supports both Swagger and YApi formats, and provides both programmatic and CLI interfaces for flexible integration into testing workflows.
Swagger/YApi convert jmx tool.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Accepts both live Swagger URLs and local JSON files, enabling seamless workflow integration whether APIs are accessible online or offline, as shown in Demo_1 and Demo_2.
Converts both Swagger/OpenAPI and YApi documentation, catering to teams with mixed API documentation tools without needing separate solutions.
Automatically generates JMeter JMX files covering all documented endpoints, saving significant manual scripting time and reducing maintenance overhead.
Offers both Python API and CLI interfaces, allowing easy scripting for automation pipelines or straightforward command-line use, as demonstrated in the README examples.
For APIs behind login, users must manually save JSON files from Swagger UI, as shown in Demo_2, which adds an extra step and reduces full automation for secured endpoints.
Generates standard JMeter test plans but lacks advanced features like assertions, data-driven elements, or complex scenarios, requiring manual post-generation tweaks in JMeter.
The primary README is in Chinese, and while an English version exists, non-Chinese speakers might find initial setup and community resources less accessible.