Postman 脚本到 JMeter 脚本
Postman script to JMeter script
我们有几个 Postman HTTP 脚本,
我们想将其转换为JMeter脚本,有没有简单的转换tool/option?我们应该按照 quora 中的建议使用录音吗?
Launch Postman and setup the proxy server under File>Settings>Proxy to use port as localhost:8087.
Launch JMeter tool, open recording template and setup the proxy to use the port '8087' under 'HTTP(S) Test Script Recorder' element (same port that is set in Postman)
Now all the API requests that you send in Postman will be captured in JMeter and store under Thread Group>Recording Controller.
您的建议似乎是最快的方法之一 - 使用 Collection Runner 将有助于加快捕获过程。
这是 YouTube video 我找到的解决方案。
这种方法即使不是最好的,也是好的。
但是,如果您的 Postman 脚本采用任何形式的 相关性 ,您将需要使用 JMeter Post-Processors, you can consider an alternative way of recording your tests using cloud proxy server which is capable of exporting recorded requests in SmartJMX mode with automatic correlation applied. See How to Cut Your JMeter Scripting Time by 80% 手动处理动态数据以获取更多详细信息。
Loadium 有一个新的 Postman 到 JMeter 转换器:
您可以通过 uploading Postman's JSON file 使用我们的新功能并点击立即转换
我们有几个 Postman HTTP 脚本,
我们想将其转换为JMeter脚本,有没有简单的转换tool/option?我们应该按照 quora 中的建议使用录音吗?
Launch Postman and setup the proxy server under File>Settings>Proxy to use port as localhost:8087.
Launch JMeter tool, open recording template and setup the proxy to use the port '8087' under 'HTTP(S) Test Script Recorder' element (same port that is set in Postman)
Now all the API requests that you send in Postman will be captured in JMeter and store under Thread Group>Recording Controller.
您的建议似乎是最快的方法之一 - 使用 Collection Runner 将有助于加快捕获过程。
这是 YouTube video 我找到的解决方案。
这种方法即使不是最好的,也是好的。
但是,如果您的 Postman 脚本采用任何形式的 相关性 ,您将需要使用 JMeter Post-Processors, you can consider an alternative way of recording your tests using cloud proxy server which is capable of exporting recorded requests in SmartJMX mode with automatic correlation applied. See How to Cut Your JMeter Scripting Time by 80% 手动处理动态数据以获取更多详细信息。
Loadium 有一个新的 Postman 到 JMeter 转换器:
您可以通过 uploading Postman's JSON file 使用我们的新功能并点击立即转换