Forum Discussion

jgoguen's avatar
jgoguen
Occasional Contributor
9 years ago
Solved

Log output from tests added with Groovy

Hi,

 

I have a SoapUi project with a Groovy test step that generates a series of test suites from a CSV. The idea is that each suite would have a set of request steps with a different request type from our wsdl. It all works well, however when running from the command line with testRunner, the normal log output that you would get from test suites that were already in the project don't appear. Only a log message that it was sending the request and received the response.

 

The requests are all generated with, at a minimum, Soap Response and Not Soap Fault assertions, but even this output does not appear. I assume this is because the test suites were added after the project starts running and, perhaps, that the log only prints for test suites/cases/steps that were already there when it started. Is there a way around this?

  • This solution partially helped but resolution was something different .

    we have to Install python greater than 3.6.4 to make it compatible with testcomplete . 

    Also use this line to point to specific python version before importing pysftp 

    os.sys.path.insert(0, "C:\\Python36\Lib\\site-packages")