Easy automation with the JSON reports
Posted by Pieter Vandercammen, Last modified by Pieter Vandercammen on 26 May 2021 01:46 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 ReportJSON files can be read in easily in many languages. Check out the Python example below.
Processing a testrunOnce 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 easierBut 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?
| |
|