jmeter正則提取值 同級目錄下的值

https://www.v2ex.com/api/nodes/show.json?name=pythonnode

接口返回:python

{
"avatar_large": "//cdn.v2ex.com/navatar/8613/985e/90_large.png?m=1534882576",
"name": "python",
"avatar_normal": "//cdn.v2ex.com/navatar/8613/985e/90_normal.png?m=1534882576",
"title": "Python",
"url": "https://www.v2ex.com/go/python",
"topics": 9849,
"footer": "",
"header": "這裏討論各類 Python 語言編程話題,也包括 Django,Tornado 等框架的討論。這裏是一個可以幫助你解決實際問題的地方。",
"title_alternative": "Python",
"avatar_mini": "//cdn.v2ex.com/navatar/8613/985e/90_mini.png?m=1534882576",
"stars": 6848,
"root": false,
"id": 90,
"parent_node_name": "programming"
}編程

我想取當title爲Python時,topics的值json

 

jmeter正則提取選擇:JsonPath Extractorapi

設置爲: $..[?(@.title=='Python')].topics框架

如圖:url

相關文章
相關標籤/搜索