0
的JMeter BeanShell的後處理器解析JSON
我JSON響應樣子(從以前的API獲取獲取列表):從以前的API錯誤
{
"response": {
"status": 0,
"startRow": 0,
"endRow": 17,
"totalRows": 18,
"data": [ {
"id": "5703962be4b05600341bcbef",
"createdBy": null,
"createdDate": 1459852843761,
"lastModifiedBy": null,
"lastModifiedDate": 1459908526375,
"version": 4,
"country": "SG",
"name": "Singapore",
"slug": "test"
}, {
"id": "5703999be4b0d1b6145cf5b6",
"createdBy": null,
"createdDate": 1459853723503,
"lastModifiedBy": null,
"lastModifiedDate": 1460532423470,
"version": 1,
"country": "MY",
"name": "Putrajaya",
"slug": "putrajaya"
}],
"totalPages": null,
"exception": null
}
}
我JMeter的,它是對PIC錯誤:http://imgur.com/a/a0VHw
json-simple,json minimal ...被添加到庫上
但是我在圖片上出現了錯誤。 任何人都可以知道這個問題或我想念別的東西...
非常感謝!
你好德米特里, 如果我想修改「國家」與「名」的值(然後把身體API編輯),我怎麼能(繼續使用BeanShell的)。 非常感謝你! – Chuoi