Groovy scripts have full access to the object model in ReadyAPI. Anything possible in ReadyAPI can also be done through scripts.
This section contains sample scripts that perform some common tasks.
HTML Response From Virtual API
Groovy Script Test Step