Mimic轻量级Web服务测试桩
Mimic, 轻量级Web服务测试桩
开发语言:Ruby
注册一个Web请求测试桩:
Mimic.mimic.get("/some/path").returning("hello world")
使用RestClient访问该请求:
$ RestClient.get("http://www.example.com:11988/some/path") # => 200 | hello world
注册多个请求测试桩; 注意你可以用不同得方法为同一个url注册多个请求。
Mimic.mimic do get("/some/path").returning("Hello World", 200) get("/some/other/path").returning("Redirecting...", 301, {"Location" => "somewhere else"}) post("/some/path").returning("Created!", 201) end
评论
Archer-FrameworkRESful 风格轻量级 Web 服务框架
概述archer-framework是一个旨在构建RESful风格WEB服务的轻量级框架。主要特点采用面向服务的设计,服务端提供的API可以为PCWEB端、移动端、微信公众号等不同的客户端提供服务。易
Archer-FrameworkRESful 风格轻量级 Web 服务框架
0
Archer-FrameworkRESful 风格轻量级 Web 服务框架
概述archer-framework是一个旨在构建RESful风格WEB服务的轻量级框架。主要特点采
Archer-FrameworkRESful 风格轻量级 Web 服务框架
0
TODAY WEB轻量级 Web 框架
TODAYWEB是一个轻量级Web框架安装<dependency><groupId>cn.taketoday</groupId><artifactId>
TODAY WEB轻量级 Web 框架
0
oat++轻量级高性能 Web 服务开发框架
oat++是一个轻量级高性能Web服务开发框架,采用纯C++编写而成。特性:特性快速零依赖异步服务器,高性能,在单个服务器上同时处理超过500万个WebSocket连接:https://oatpp.i
oat++轻量级高性能 Web 服务开发框架
0
SOAP::Lite轻量级的 Web 服务规范实现
SOAP::Lite是一组Perl模块,提供了简单轻量级的SOAP/XML-RPC/UDDI以及其他Web服务规范的实现。
SOAP::Lite轻量级的 Web 服务规范实现
0