也不知道什么時候改版了,腳本語法與之前版本不太一樣了.
image.png
pm.test("Your test name", function () {
var jsonData = pm.response.json();
pm.expect(jsonData.value).to.eql(100);
});
更像正經(jīng)編程語言了~看起來更方便
也不知道什么時候改版了,腳本語法與之前版本不太一樣了.
pm.test("Your test name", function () {
var jsonData = pm.response.json();
pm.expect(jsonData.value).to.eql(100);
});
更像正經(jīng)編程語言了~看起來更方便