Solved
Forum Discussion
3 Replies
Sort By
- AntonESmartBear Alumni (Retired)
Hi, fenwickr!
Yes, you can do this in Ready! API 1.4. You should choose "Get Data" option in context menu of Groovy editor and select your response. The output will be something like:
def response = context.expand( '${#[TestSuite 1#TestCase 1#Request 1]#Response}' )
- nmraoChampion Level 3AntonE, thank you for the solution.
This is first time that I see the snippet which is showing to refer multiple levels (${#[TestSuite 1#TestCase 1#Request 1]#Response}).- AntonESmartBear Alumni (Retired)
nmrao, You're welcome.
Yes, it's one of the new features we introduced in 1.4.