测试API的工具 [英] Tools for testing API

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

问题描述

我正在桌面上开发一个PHP Web应用程序,目前正在使用其API.通过浏览器或cURL测试API功能确实非常费时.Windows(7)是否有任何工具可以帮助将POST/GET请求发送到给定的URL并显示响应?

I am developing a PHP web application on my desktop and currently working on its API. Its really hard and time consuming to test API functionality through browser or cURL. Is there any tool for Windows (7) that can help in sending POST/GET requests to a given URL and shows response?

如果允许发送自定义发布/获取参数(包括多部分),则可能是firefox插件也可以工作.

May be a firefox plugin can work too if it allows to send custom post/get parameters (including multipart).

任何人都可以帮忙吗?

推荐答案

对于PHP单元测试,您可以查看 SimpleTest .

For PHP Unit testing you could check out the PHPUnit tutorial on the Pear site or SimpleTest.

我找到了此链接供您使用

I have found this link for you to test PHP Web Application Using Flash Builder.

特定于发送POST/GET请求, POSTMAN在Chrome浏览器上会很好用,或者您可以使用IDE SOAPUI .

In Specific to Sending POST/GET Request, POSTMAN Would work great on Chrome Browser Or You can go for IDE SOAPUI.

我将为 GET/POST 用于不同浏览器的客户端添加更多功能:

I am adding few more for GET/POST Clients for different browsers:

Google Chrome

HTTP/REST客户端

Mozilla Firefox

REST客户端

Apple Safari

可可REST客户端

歌剧

简单REST客户端

Apigee控制台支持许多预定义的API和任何API的通用模式.它具有出色的快照功能,您可以在其中发出请求,然后将链接发送给任何人,他们可以查看您发出的请求/响应.

The Apigee Console supports a number of predefined APIs and a generic mode for any API. It has a nice snapshot feature where you can make a request and then send a link to anyone and they can view the request/response you made.

我们确实有投射,但我尚未对其进行测试.

We do have Hurl but I haven't tested it working.

您可以根据需要尝试其中的任何一个.

You can give anyone of them a try as per your need.

谢谢!

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

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