Pulling multiple values from JSON response using 'Json Path Extractor ' in Jmeter -


{     "response_time": 0.014376163482666016,     "applications": [         {             "api_key": "blted0e7982e1cf62a8",             "name": "gta",             "uid": "gta",             "account_name": "jack"         },         {             "api_key": "blt1423c40d23e4a423",             "name": "cellapp",             "uid": "cellapp",             "account_name": "max"         }     ] } 

please me extract account_name = max using jmeter json path extractor.

$.applications.name[2] must return second name element.

if use jsonpath $..name elements named name , plugin return single string value ["gta","cellapp"]. can parse string if necessary.

check site on how build jsonpath expressions: http://goessner.net/articles/jsonpath/index.html#e2.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -