I can run the TC without issues. However, when I try to run the TestCase from TestRunner it results in the error below
15:42:07,548 INFO [SoapUIProTestCaseRunner] Running TestCase [Entit, TC 2.1 - Family 1] 15:42:08,075 ERROR [AbstractTestRunner] Exception during Test Execution java.lang.NullPointerException: Cannot invoke method getLogArea() on null object at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77)
Is there a way of getting the TC running and clearing the logs or do I have to skip clearing the logs by checking
The Script log area is invalid when running using test runner, the logging is done to the command line console and to the log files. You can either check if test Runner is being used to the run the project or if (!logArea.equals(null)) as you listed to see if that log area is available.
Regards, Marcus SmartBear Support
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️Please mark my answer as a solution if it was helpful