cancel
Showing results for 
Search instead for 
Did you mean: 

[solved] Process respone value.

SOLVED
Occasional Contributor

[solved] Process respone value.

Hello,
I would like.
Determine a value from the respone.
($ [ 'FAQHistory'] [0] [ 'id'])
Continue processing this value with property transfer.
(as HistoryID)?

How does it work?
Can you help?

Thanks Ralf

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: Process respone value.

Thank you for the details.

Would you like to show the FAQ-Article (Target) request, to which you want to transfer the value?


Regards,
Rao.
4 REPLIES 4
Community Hero

Re: Process respone value.

May be a dummy response (resembling to your response) would help to look into it for others. Please add details.


Regards,
Rao.
Occasional Contributor

Re: Process respone value.

ok, but myenglish ist not good. ;-)

 

response:

{"FAQHistory": [{
   "CreatedBy": 1,
   "Name": "Created",
   "ID": 153,
   "Created": "2019-01-14 12:35:11",
   "ArticleID": 52
}]

 extract ID:

 Bildschirmfoto vom 2019-01-14 16-23-49.png

and now i will the ID transfer.

For a GET function. xxx/xxx/ID

 

Unfortunately this is not possible.
 
Can you help me?
Highlighted
Community Hero

Re: Process respone value.

It actually looks alright.

 

I used your attached response and tested it with exactly your JSONPath and it works for me.



If my answer helped please click on the 'Accept as Solution' button.
Community Hero

Re: Process respone value.

Thank you for the details.

Would you like to show the FAQ-Article (Target) request, to which you want to transfer the value?


Regards,
Rao.
New Here?
Join us and watch the welcome video:
6 / 7 API Testing Mistakes Video
Top Kudoed Authors
Top Kudoed Posts