【发布时间】:2016-01-29 10:54:18
【问题描述】:
在应用程序中,我们使用 3 部分服务,有时会损坏。我们定期测试 Capybara, Poltergeist 的应用程序。但是对于在错误日志中更具体的测试,我需要在从 get/post api 调用到该 3-th par 服务的测试数据响应中捕获。我知道 Poltergeist 方法 page.driver.network_traffic 但这里没有数据,仅对我有用 response.url 和 response.status ,但我也想以某种方式获取数据。提前致谢。
【问题讨论】:
标签: ruby-on-rails capybara automated-tests httpresponse poltergeist