【发布时间】:2017-11-09 01:35:32
【问题描述】:
为了缩小问题范围,我将响应正文更改为像 text/plain 这样简单的一句话。
this is a test
但是,以下非常基本的功能仍然失败:
tests["Body matches string"] = responseBody.has("this");
具有讽刺意味的是,这个测试有效:
tests["Body matches string"] = responseBody.has("t");
我使用的是最新的 postman v4.11.1。这看起来像是邮递员的根本缺陷。
【问题讨论】: