Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. JMeter
  3. swaggerjmx

swaggerjmx

MITPythonv1.1.2

A Python tool that converts Swagger/OpenAPI and YApi documentation into JMeter JMX files for automated performance testing.

Visit WebsiteGitHubGitHub
115 stars40 forks0 contributors

What is swaggerjmx?

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.

Target Audience

API testers, performance engineers, and developers who use JMeter for load testing and want to automate test script creation from existing API documentation.

Value Proposition

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.

Overview

Swagger/YApi convert jmx tool.

Use Cases

Best For

  • Automating JMeter test script generation from Swagger documentation
  • Converting YApi API documentation into performance test cases
  • Reducing manual effort in creating and maintaining API load tests
  • Integrating performance testing into CI/CD pipelines with API-first workflows
  • Generating comprehensive JMeter test plans covering all API endpoints
  • Teams using both Swagger/OpenAPI and YApi for API documentation

Not Ideal For

  • Projects using performance testing tools other than JMeter, like Gatling or k6
  • APIs documented in formats beyond Swagger or YApi, such as RAML or Postman collections
  • Teams requiring complex JMeter test logic with custom assertions, timers, or data parameterization

Pros & Cons

Pros

Dual Input Flexibility

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.

Multi-Format Support

Converts both Swagger/OpenAPI and YApi documentation, catering to teams with mixed API documentation tools without needing separate solutions.

Automation Efficiency

Automatically generates JMeter JMX files covering all documented endpoints, saving significant manual scripting time and reducing maintenance overhead.

Flexible Usage Modes

Offers both Python API and CLI interfaces, allowing easy scripting for automation pipelines or straightforward command-line use, as demonstrated in the README examples.

Cons

Authentication Handling Complexity

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.

Basic Test Generation

Generates standard JMeter test plans but lacks advanced features like assertions, data-driven elements, or complex scenarios, requiring manual post-generation tweaks in JMeter.

Language Barrier in Documentation

The primary README is in Chinese, and while an English version exists, non-Chinese speakers might find initial setup and community resources less accessible.

Frequently Asked Questions

Quick Stats

Stars115
Forks40
Contributors0
Open Issues1
Last commit2 months ago
CreatedSince 2020

Tags

#performance-testing#python-library#jmeter#jmx#convert#swagger#cli-tool#python#api-testing#openapi#test-automation#swagger-ui#testing-tools#reverse-engineering

Built With

P
Python

Links & Resources

Website

Included in

JMeter781
Auto-fetched 9 hours ago

Related Projects

postman2jmxpostman2jmx

Postman collection to Jmeter jmx file converter

Stars189
Forks102
Last commit2 months ago
fiddler2jmeterfiddler2jmeter

JMeter脚本录制工具:将Fiddler/Charles转换为JMeter 4.0以上的脚本,并支持过滤功能 JMeter script recording tool: converts Fiddler / Charles into scripts above JMeter 4.0, and supports filtering function

Stars51
Forks20
Last commit1 year ago
har-convertor-jmeter-toolhar-convertor-jmeter-tool

Apache JMeter Plugin to convert a HAR file to a JMeter script and Record XML file

Stars25
Forks8
Last commit6 months ago
JMeter HAR Importer PluginJMeter HAR Importer Plugin

A JMeter plugin that lets you select a HAR (HTTP Archive) file to import into JMeter

Stars19
Forks4
Last commit2 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub