pm.test("Id includes a number", function () {
var jsonData = pm.response.json();
pm.expect(jsonData.id).to.include(Number);
});
var jsonData = pm.response.json();
pm.test("Text check", function () {
pm.expect(jsonData.text).is.to.equal(parseInt());
});
您的响应数据是数组,它启动了
[
]