Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Write/save SOAtest console log to file

dgoedh
dgoedh Posts: 63

Hi,

What is the best way to write the contents of the SOAtest console log to a (txt) file? I heard this is possilble with the CLI, but is this also possible with the desktop version?

With standard eClips you can set the Run/Debug configurations, however I do not see this option within SOAtest 9.10.6.

Or can I use something like this in Extension Tool, to redirect System.out :

System.setOut(new PrintStream(new FileOutputStream("output.txt")));

Or maybe it is best to use File Writer routines within each TST block I use?

Can somebody enlighten me on this subject?

Thanks in advance.

Regards,

Daniel

Tagged:

Comments

  • benken_parasoft
    benken_parasoft Posts: 1,302 ✭✭✭
    edited September 2019

    I heard this is possilble with the CLI, but is this also possible with the desktop version?

    If you are manually running tests from the workbench UI then you can manually copy the contents of the Console view and save it to a text file, for example. For automated workflows, such as soatestcli, the answer is mentioned here:
    Logging Console to file

  • dgoedh
    dgoedh Posts: 63
    edited September 2019

    Thanks for the suggestions.

Tagged