Easy automation with the JSON reports
Posted by Pieter Vandercammen, Last modified by Mathieu Strubbe on 29 April 2020 08:19 PM
09:01 A.M., Work is done!
Easy automation with the new JSON report.
The ByteBlower GUI and CLT now have a new type of report: JSON. Just like CSV, this format is intended for machines rather than us humans. Actually, JSON is a huge improvement over CSV.
As an example, check out the Python code below. 15 lines to check whether our network device did or did not lose traffic in your overnight test.
Opening the JSON Report
JSON files can be read in easily in many languages. Check out the Python example below.
Processing a testrun
Once the report is loaded, you have access to same information as in the other reports. Labor-intensive questions can easily beanswered in a short script.
Does your project have many FrameBlasting flows?
Making work easier
But in the end our goal is to make life easier. Just that is possible with the JSON format. Rather than going over single test-run, why not let the computer do it?