You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am capturing result of a filtered query ?(). The result is array with one string element inside it. In my next steps I'm trying to use that captured value as a parameter in url, however it doesn't seem to be able to access this value at is not a string. I was trying to access it both in captures and in next step url as an array index value:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I am capturing result of a filtered query ?(). The result is array with one string element inside it. In my next steps I'm trying to use that captured value as a parameter in url, however it doesn't seem to be able to access this value at is not a string. I was trying to access it both in captures and in next step url as an array index value:
captures:
someValue:
jsonpath: $.data[?(@.alias == "alias")].someValue[0]
or
url: /something/${{ captures.someValue[0] }}
but none of this was working. Could you provide solution for this?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions