开发者

Web Application for testing post requests

Is there a web application for testing post requests? What I imagine it'd be like is you would visit the site and then it would redirect you to a uni开发者_运维知识库que URL. You could then send a post request to the URL which would display the request after it was received.


Alternative from Microsoft: WFetch

POST request instruction


This looks like it would be more along the lines of what you're looking for:

http://www.htttools.com


Rest Client is a Firefox Add On that I have used in the past as an Http Post/Get testing tool.


The "net" tab in the Firebug plugin for Firefox will show you the contents of all requests including POSTs. You can also intercept and modify them with TamperData.

Fiddler will do the same for Internet Explorer and other windows programs. Wireshark will also show this information.


There are multiple approaches. If you want to do automated browser-based testing, you could use Selenium/Java or Windmill/Python. Alternatively, if you want to perform white-box testing, you can write scripts that make a http post request to the web application (e.g. using httplib if you are using Python), obtains the response and verifies that the response is as expected.


RequestBin allows you to create a temporary URL and view the last twenty requests.


With PutsReq you can test requests and simulate responses using JavaScript.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜