Forum Discussion

Hellotest's avatar
Hellotest
Contributor
2 years ago
Solved

Check for empty value in groovyscript

In Groovy script in Ready API , trying to extract a value from Response and based on it if it null or not, need to write next few steps. But value which is returning is []. Then if I check with n...
  • nmrao's avatar
    2 years ago

    You are getting JSON Array in response with no elements in ti.

    So, you can check the size is zero or not.