How to debug Java code and get Console output when using Java extension tool ?

navjanenavjane Posts: 2

Hi, I am using an extension tool to connect to a Java project (SOATest Java project) and when I run the test scenarios, I cannot access the console output of the Java code (System. out.println statements). Is there a way to access it ?

Also, if I get an error in the Java extension tool code, how do you recommend debugging it ?

Appreciate the help, thanks.

Comments

  • jakubiakjakubiak Posts: 517 admin

    The easiest way to debug an Extension Tool is to add debugging using the SOAtest API com.parasoft.api.Application.showMessage(String msg) function. This will print messages into the SOAtest console which you can see directly within the IDE. It will also be visible in the console output during CLI runs.

Sign In or Register to comment.