您使用什么工具来测试您的公共 REST API? [英] What tools do you use to test your public REST API?

查看:42
本文介绍了您使用什么工具来测试您的公共 REST API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正在寻找用于测试 REST API 的工具.

Looking for tools use to test REST API.

到目前为止,我只知道 SoapUI.我已经尝试过 SOAPUI,但是 - 至少在 Mac 中 - 它很糟糕.

So far I'm only aware of SoapUI. I've tried SOAPUI but - at least in a mac - it's terrible.

想知道人们用什么来测试他们自己的 API.

Wondering what people are using to test their own APIs.

推荐答案

如果您只是手动测试 API,我们发现 RestClient 2.3海报 Firefox 附加组件非常有用.这两者都允许您构建 GET、PUT、POST 或 DELETE 请求.您可以保存这些请求以便稍后重新运行.

If you're just testing your APIs manually, we've found RestClient 2.3 or the Poster add-on for Firefox to be pretty helpful. Both of these let you build requests that GET, PUT, POST, or DELETE. You can save these requests to rerun later.

对于简单的自动化测试,请尝试在 shell 脚本中使用 Linux(或 Cygwin)curl"命令.

For simple automated testing try the Linux (or Cygwin) 'curl' command in a shell script.

从更具工业实力的方面,您可以升级到 Apache JMeter.JMeter 非常适合负载测试.

From something more industrial strength you can move up to Apache JMeter. JMeter is great for load testing.

2014 年 10 月 31 日:HTTPRequester 现在是更好的选择火狐浏览器.

31 October 2014: HTTPRequester is now a better choice for Firefox.

2015 年 7 月:Postman 是 Chrome 的不错选择

July 2015: Postman is a good choice for Chrome

这篇关于您使用什么工具来测试您的公共 REST API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆