Does anyone know of an app that would generate an xml file filled out with random data?
My app has an importer that should handle almost all sizes and structure of xml files, and I’d like to test this.
To be clear; not only do all element names and values need to be random, but also the tree structure itself. There should be random numbers of child branches, each with further random branches and so on.
Similarly, is there an application that would create the same sort of random data for Json files?
Step 1. Define a template for the repeating elements in the XML.
Step 2. Generate random values.
Step 3. Insert random values into the template.
You can, without much work, easily generate lots of random XML. Want names instead of numbers?
Want variable-length names?
The possibilities are endless, and really simple to implement.
Random JSON is even easier.
If “random” confuses you, consider this.
That, for example, will create random tags within another tag.