Accessing the information contained in the .webtestResult files in code
===

I'd like to programmatically retrieve information related to test results. After a test run, I want to go through the test results and, for each test failed, to get the name of the failed test, the reason why it failed (validation rule message or extraction rule message) and the value of one key contained in the test context.

I couldn't find anything that I can use on how to dig into trx and webtestResult files. Does anyone have any hints for me?

Thanks,
Paul