Forum Discussion

fazlook's avatar
fazlook
Frequent Contributor
8 years ago

Get an ID based on a name using Script Assertion/JSON

How to get and ID from a response based on a name ? ex:   { "id": "1", "name" = "Tom" } { "id": "2", "name": "Jerry" }     the following did not work:   //Get the ID  def id = names.f...