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).
suitewe 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).
namestored as titleduration-msconverted to seconds and stored as cached_durationstarted-atstored as report.datetestwe 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).
namecombined withclass.nameto be stored as titleduration-msconverted to seconds and stored as cached_durationtest-methodwe iterate over the array and define each test method within as result
Test Method¶
A Test Method will be read as a result.
namestored as titlesignaturestored as descriptionduration-msconverted to seconds and stored as durationstatusstored as statusreporter-outputstored as exception_description if status:PASSexceptionif present, used to store three attributes:exception.classstored as exception_nameexception.messagestored as exception_descriptionexception.full-stacktracestored as exception_backtrace