Forum Discussion

Sirisha2020's avatar
Sirisha2020
Contributor
3 hours ago

I need help on code snippet to pass the value from groovy script to REST request payload

Hi All,

Can anyone please share a code snippet on how to pass the value from groovy script to a variable(i.e. id) that is present in REST request.

E.g. For( i=1; i=i++; i<=10)

i want to pass the above i value to REST request payload "id"field.

Thanks.

No RepliesBe the first to reply