Write/save SOAtest console log to file

dgoedhdgoedh Posts: 24

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_parasoftbenken_parasoft Posts: 736 ✭✭✭
    edited September 3

    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

  • dgoedhdgoedh Posts: 24
    edited September 9

    Thanks for the suggestions.

Sign In or Register to comment.