如何提取JSON路徑並使用java查找數組長度?爲我的下面的迴應數據。我需要在Jmeter斷言中驗證數組長度應該等於'7'。如何提取json路徑並查找數組長度?
[
[
"Week",
"Event Count"
],
[
"3/13/17",
"1"
],
[
"3/20/17",
"1"
],
[
"3/27/17",
"1"
],
[
"4/3/17",
"1"
],
[
"4/10/17",
"1"
],
[
"4/17/17",
"1"
]
]
您能分享您的JSON數據而不是響應嗎? – fiskra
@fiskra,這只是我的迴應數據 –