We are executing the test cases via junitlisa (DEVTEST 8) in our CI system (jenkins). On some occasions, certain test cases keeps printing console log as if the test is not completing neither breaking out from it and move to the next test. I don't know, why its doing it. Running the test locally as well as running it individually by staging works most of the time. Although, running it by staging have shown the same issue at times.
The nature of the test is very simple, it does a REST to the service and compares the output with a step that pulls the data from the db plus some more minor steps.
Question: how can i enable logging to catch what exactly is the issue when 'a' test execution goes on forever?
Thanks