Contributions
Hi, I want to format all the json files in a folder using groovy script. can someone please help me.
Hi, I want to format all the json files in a folder using groovy script. can someone please help me. I tried with pretty print method it is not working. Method used is as below : printResponseWriter.prettyprint(jsonResponseContent). Thanks.478Views0likes3CommentsI want to retrieve the REST Test request Property "Resource" and its value on Test step level
Hi All, I want to retrieve the REST Test request Property "Resource" and its value on Test step level for all the testcases in a test suite. Could you please let me know how to do that. I came across multiple videos on custom properties but I want to something on retrieving the REST Test request property. Thanks,363Views0likes1CommentRe: getting error while parsing the href in the property transfer editor
Hi Rao, Sorry for the late reply. Please find the sample JSON response for your reference. I tried property transfer and inside tried with split function. nothing worked. I want to retrieve the href value the last string(highlighted).1.3KViews0likes0Commentsgetting error while parsing the href in the property transfer editor
Hi, I am trying to parse the href value using the below expression in property transfer editor _links.item[0].href.split('/')[1] but getting error as "Failed to access the property split". Any idea on this error. Thanks1.5KViews0likes6CommentsRe: How to use property transfer to fetch specific value in the JSON response.
Hi, Thanks for your reply. Do we have separate links provided here on detailed explanation? Videos that I saw contains only 1 single data to retrieve in the JSON response. But I have to parse the data which is in the below format e.g. "href" = "Data1/Data2/Data3/Data4. So I have to fetch Data4 and p649Views0likes0CommentsHow to use property transfer to fetch specific value in the JSON response.
Hi, I have query on property transfer . I want to retrieve from data TC1 and pass that value as input to TC-2. But when I tried with Property value i am getting entire JSON response. For E.g. In TC-1 JSON response has below response data: "Policy_No" : "xxxx" href: aaaa/Test/ccc/dddd I want to fetch dddd value and pass that value to TC-2. As I mentioned earlier, Using property value, I am getting entire JSON response as input to TC-2 not dddd. Please let me know how to do this or let me know is there any other way to do this. Thanks.684Views0likes3Comments