swagger convert jmx
Project description
swagger_jmx
Logo
安装
pip install swaggerjmx
仓库地址:
- github:https://github.com/Pactortester/swaggerjmx.git
- pypi:https://pypi.org/project/swaggerjmx/#history
社区地址
适用场景
- 由于接口文档编写耗时,而且需要持续维护,耗时耗力,使用此工具可以一键自动生成接口文档.
- swagger-ui接口文档一键生成jmx文件供jmeter使用.
功能
- 将swagger-ui文档转换为jmx文件
Demo
# -*- 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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
swaggerjmx-1.0.1.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file swaggerjmx-1.0.1.tar.gz
.
File metadata
- Download URL: swaggerjmx-1.0.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 348c6df6d8f2d4d632b5bb2a486493fdab483be32b61f13176589632165b6e74 |
|
MD5 | 5bccde376ba29464ad1fd1bfb9fb1305 |
|
BLAKE2b-256 | 5a9c3b6ab3c00ffe769ce15a04c6786762e65656bc967ed9d6473d2bf8f1bfd9 |
Provenance
File details
Details for the file swaggerjmx-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: swaggerjmx-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38c9671a43de4b07857b83e90193c81bd6cb23e9e03d3434b1287c6faa87b3a7 |
|
MD5 | b16a62ff69ac968458050c69273dbddc |
|
BLAKE2b-256 | 02d2a7782b415a8f74a5d0443d10de00331c15e03f1dcafc002ae7cb27bc7fdd |