Forum Discussion

Mini's avatar
Mini
New Contributor
4 years ago
Solved

I am not able to get output of remote shell script from groovy script in soapui

for an example I have added below dummy code in shell file auto.sh - CURRENTDATEONLY=`date +"%b %d, %Y"` echo Current Date is: ${CURRENTDATEONLY} sleep 2   and calling above shell script auto.sh...
  • SiKing's avatar
    4 years ago

    I think you are looking for the output in the wrong place.

    log.info("return code: ${process.exitValue()}")
    log.error("standard error: ${errorStream}")
    log.info("standard out: ${outputStream}")
    

    Have a look here.