Test NG XML results¶
Learn more about exporting your test results into a xml file here.
Example file¶
Download our example file here: example-testng-report.xml
TestNG-Results¶
TestNG-Results will be read as a report with one or more Suite(s).
suite
we iterate over the array and define each suite within as a container
Suite¶
A Suite will be read as a container with one or more Test(s).
name
stored as titleduration-ms
converted to seconds and stored as cached_durationstarted-at
stored as report.datetest
we iterate over the array and define each test within as a container
Test¶
A Test will be read as a container within a container with one or more Test Method(s).
name
combined withclass.name
to be stored as titleduration-ms
converted to seconds and stored as cached_durationtest-method
we iterate over the array and define each test method within as result
Test Method¶
A Test Method will be read as a result.
name
stored as titlesignature
stored as descriptionduration-ms
converted to seconds and stored as durationstatus
stored as statusreporter-output
stored as exception_description if status:PASS
exception
if present, used to store three attributes:exception.class
stored as exception_nameexception.message
stored as exception_descriptionexception.full-stacktrace
stored as exception_backtrace