当前位置:网站首页>Post man JSON script to JMX script of JMeter
Post man JSON script to JMX script of JMeter
2022-07-19 02:30:00 【[email protected]】
Generally, R & D students will use postman Do interface self-test , But when we do performance tests , It doesn't work postman, Interfaces that do not understand authentication , Debugging scripts by yourself is troublesome , This is the time , We can use this method to json The script is converted to jmeter With jmx Script .
Environmental preparation :
( These tools need to be installed in advance , Students who can't install it can search )
1. jdk1.8
2. maven
3. git
4. postman
5. jmeter
One 、 Clone the project locally
Use command :git clone https://github.com/Loadium/postman2jmx.git
Clone complete :
Two 、 use :cd postman2jmx Get into postman2jmx
And then use :mvn package structure
Build complete :
3、 ... and 、 After a successful build , stay Windows Enter into target In the catalog Postman2Jmx Folder , You can see Postman2Jmx.jar, Convert the to format json Put the papers here .
And then in git Input in the command box :cd target/Postman2Jmx
Four 、 perform :( If you put json Files in Postman2Jmx.jar The same folder does not need to write path , Converted jmx Files will also be generated in this folder )
java -jar Postman2Jmx.jar mpaas Message push .postman_collection.json 1.jmx
That's it ,json Script conversion jmx Script operation .
版权声明
本文为[[email protected]]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/200/202207170009048916.html
边栏推荐
- jmeter连接数据库的方法
- Summary of tree and heap knowledge points
- Full link voltage measurement
- 网络层协议和IP数据包的格式(详解)
- 【Unity开发小技巧】Unity打包PC端exe,压缩打包为一个exe文件
- 去中心化边缘渲染元宇宙协议Caduceus受邀出席CBAIA 2022峰会,以技术赋能更多Web3应用场景
- [tools] unity screen drawing line, unity screen drawing Hsj drawing tool
- Hash table, bloom filter, distributed consistency hash
- SoloPi APP性能测试用
- 剑指 Offer 48. 最长不含重复字符的子字符串
猜你喜欢
随机推荐
VLAN和TRUNK口配置
bugku----正则匹配,cookies
STL -- map container
服务器知识(详情)
性能测试实施规范指南
Performance test implementation specification Guide
[unity development tips] unity packs the EXE on the PC side and compresses and packs it into an EXE file
元宇宙公链Caduceus详解:专为元宇宙应用打造的创作平台
[antv G2] how to solve the memory leak caused by G2
Gdb+vscode for debugging 2 - GDB breakpoint related
已知先序遍历中序遍历,求树的层序遍历
[tools] unity quickly starts to make the artifact tilemap of 2D and 2.5D games
uni app 微信小程序 点餐系统【再来一单】页面跳转
Jstat命令查看jvm的GC情况
After unity imports the FBX model, the rotation and position of the object will change automatically at runtime
流量回放工具gor使用经验
理解 继承、多态、抽象以及它们的概念
Injection de modèles ssti
【Unity开发小技巧】Unity打包PC端exe,压缩打包为一个exe文件
[unity panel attribute literacy] set texture import settings after importing textures