Then my DP has the "parallel = true" option.
My test method logs the thread id at the beginning and end of the test case: Thread.currentThread().getId()
4 of the iterations fail. The testng-failed.xml file seems to track this:
<class name="blah.vtestapi.cm.features.reporting.Advanced">
<methods>
<include name="testExecuteSuccessfully" invocation-numbers="7 16 18 43"/>
<include name="beforeTest"/>
<include name="beforeClass"/>
</methods>
</class> <!--blah.vtestapi.cm.features.reporting.Advanced -->
But testng-results.xml does not seem to store any info as to which invocation it's reporting on. The <message> and <full-stacktrace> sections in testng-results.xml report all my output including my Thread.currentThread().getId() lines. It reports one thread id at the beginning of the test and a different thread id at the end of the test.
It looks like testng is not properly grouping the logs from the different threads. Is this a problem with how I'm logging? TestNg bug?
Thanks.