fazlookFrequent Contributor9 years agoGet 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...Show More
fazlookFrequent Contributor9 years agonmrao yes the question is in my first line :) I would like to know how to get the ID based on a name.
nmraoCommunity Hero to fazlook9 years agofazlook, would you mind providing raw response? Otherwise, script may not really helpful.
Recent DiscussionsSoapUI 5.9.1 displays "[]" as "<Empty JSON content>"SoapUI - Apache Commons FileUpload (CVE-2025-48976)(High)Log4j vulnerability (CVE-2025-68161)
Related ContentSoapui Script Assertion, when Json response return as stringReadyAPI script assertion 'is not equal' to for JSON responseassertion json date check