Forum Discussion
nmrao
3 years agoChampion Level 3
Not sure how you are getting below while the response has the value "3245"
Property got set as = [[5885]]
Please try below:
testRunner.testCase.setPropertyValue("productSKU", String.valueOf(json_response1.extension_attributes.shipping_assignments.items.product_id.flatten().first()))
Please note that the above solution may work with given data.
If the response has multiple products and you want specific value, then solution might differ based on the data.
Related Content
- 2 years agostman