Forum Discussion

jcomber's avatar
jcomber
Occasional Contributor
2 years ago
Solved

Trying to restart docker images from ReadyAPI Groovy script

Is it possible to have a Groovy script within a ReadyAPI test suite that will restart docker image(s)?  I have an existing Groovy script that works but copying/pasting into a ReadyAPI Groovy script t...
  • KarelHusa's avatar
    KarelHusa
    2 years ago

    jcomber,

    don't give it up; running docker from a Groovy script works; I just tried it in my ReadyAPI (see screenshot below).

     

    There has to be some issue in your environment; try executing other commands, logging your PATH variable, etc., to debug the issue. Let us know then what the issue was.