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.
How to debug Java code and get Console output when using Java extension tool ?
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.
0
Comments
-
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.
0 -
Also see this:
Where does SOAtest show console output of a Jar?0