Forum Discussion
SmartBear_Suppo
Alumni
12 years agoWe normally don't provide support for Groovy scripts, but this is a quick fix:
def innerMap = json[json.keySet().iterator().next()]
def id = innerMap.id
... then you can assert the value of id
Best regards,
Manne Fagerlind
SmartBear Stockholm
def innerMap = json[json.keySet().iterator().next()]
def id = innerMap.id
... then you can assert the value of id
Best regards,
Manne Fagerlind
SmartBear Stockholm