All Projects → Pactortester → Swaggerjmx

Pactortester / Swaggerjmx

Licence: mit
The swagger UI interface document generates JMX files for JMeter to use.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Swaggerjmx

Alchemy
🔮 File conversion, all from the menu bar
Stars: ✭ 815 (+1467.31%)
Mutual labels:  convert
Pytorch Caffe Darknet Convert
convert between pytorch, caffe prototxt/weights and darknet cfg/weights
Stars: ✭ 867 (+1567.31%)
Mutual labels:  convert
Autometer
Distributed load testing made simple
Stars: ✭ 42 (-19.23%)
Mutual labels:  jmeter
Django Ninja
💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
Stars: ✭ 875 (+1582.69%)
Mutual labels:  swagger-ui
Spark Swagger
Spark (http://sparkjava.com/) support for Swagger (https://swagger.io/)
Stars: ✭ 25 (-51.92%)
Mutual labels:  swagger-ui
Fastapi
FastAPI framework, high performance, easy to learn, fast to code, ready for production
Stars: ✭ 39,588 (+76030.77%)
Mutual labels:  swagger-ui
Drill
Drill is a HTTP load testing application written in Rust inspired by Ansible syntax
Stars: ✭ 767 (+1375%)
Mutual labels:  jmeter
Ssfconv
Sogou input method skin file (.ssf file) converter, supports conversion to fcitx or fcitx5 format.
Stars: ✭ 44 (-15.38%)
Mutual labels:  convert
Spring Boot Elasticsearch Lire Docker
Spring-boot+ElasticSearch+LIRE+SwaggerUI RESTful.
Stars: ✭ 7 (-86.54%)
Mutual labels:  swagger-ui
Audioworks
A cross-platform, multi-format audio conversion and tagging suite
Stars: ✭ 35 (-32.69%)
Mutual labels:  convert
Go Book Store Api
Go Sample project to understand Mysql CRUD operation with best practises Includes logging, JWT, Swagger and Transactions
Stars: ✭ 18 (-65.38%)
Mutual labels:  swagger-ui
Pdf To Image
Convert a pdf to an image
Stars: ✭ 906 (+1642.31%)
Mutual labels:  convert
Swagger Ui Cimpress
A swagger-ui fork with an easy to read, responsive three pane view.
Stars: ✭ 32 (-38.46%)
Mutual labels:  swagger-ui
Netcdf2littler
An application to convert NetCDF files to the Little-R format. The Little-R format is the accepted input format for the WRF data assimilation system (WRFDA) preprocessor (obsproc). Currently only the conversion of synoptical weather stations are supported by this application.
Stars: ✭ 5 (-90.38%)
Mutual labels:  convert
Jsoncsv
a command tool easily convert json file to csv or xlsx
Stars: ✭ 43 (-17.31%)
Mutual labels:  convert
Ason
[DEPRECATED]: Prefer Moshi, Jackson, Gson, or LoganSquare
Stars: ✭ 777 (+1394.23%)
Mutual labels:  convert
Swagger Editor
Swagger Editor
Stars: ✭ 7,365 (+14063.46%)
Mutual labels:  swagger-ui
Rswag
Seamlessly adds a Swagger to Rails-based API's
Stars: ✭ 1,028 (+1876.92%)
Mutual labels:  swagger-ui
Uvicorn Gunicorn Fastapi Docker
Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python 3.6 and above with performance auto-tuning. Optionally with Alpine Linux.
Stars: ✭ 1,014 (+1850%)
Mutual labels:  swagger-ui
Jc
CLI tool and python library that converts the output of popular command-line tools and file-types to JSON or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
Stars: ✭ 967 (+1759.62%)
Mutual labels:  convert

swaggerjmx

README_EN.md

Build Status PyPI PyPI - Python Version GitHub top language PyPI - Downloads GitHub stars https://blog.csdn.net/flower_drop

Logo

logo

安装

pip install swaggerjmx

仓库地址:

社区地址

适用场景

  1. 由于接口测试脚本编写耗时,而且需要持续维护,耗时耗力,使用此工具可以一键生成接口测试脚本.
  2. swagger-ui接口文档一键生成jmx文件供jmeter使用.

功能

  1. 将swagger-ui文档转换为jmx文件

Demo_1

# -*- coding: utf-8 -*-

from swaggerjmx.convert import conversion
from swaggerjmx.settings import Settings as ST
#  swagger_url
ST.swagger_url = 'http://ip:port/v2/api-docs'
#  report_path
ST.report_path = 'jmx'
# 开始转换
conversion()

Demo_2

  • 需要登录才能访问的,可以复制swagger_url页面上的json信息,保存json文件,使用Demo_2方式转换
# -*- coding: utf-8 -*-

from swaggerjmx.convert import conversion
from swaggerjmx.settings import Settings as ST
#  swagger_url_json_path 
ST.swagger_url_json_path = 'test.json'
#  report_path
ST.report_path = 'jmx'
# 开始转换
conversion()

截图:

  1. 传入红框中的swagger-ui 地址

image

  1. 生成的jmx文件

image

  1. jmeter中显示

image

以上便是 swaggerjmx 的基本用法介绍。

如果您有发现错误,或者您对 swaggerjmx 有任何建议,欢迎到 swaggerjmx Issues 发表,非常感谢您的支持。您的反馈和建议非常宝贵,希望您的参与能帮助 swaggerjmx 做得更好。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].