For stress tests, I would like to create XML files based on a XSD with random (but valid!) test data. Is there a tool which can read a (simple) XSD file and build a XML file based on the schema definition?
Asked
Active
Viewed 6,678 times
1 Answers
16
Many tools exist to do this, check theses links
- Microsoft XmlSampleGenerator (free), you can download the source code and build with visual studio.
- Liquid XML Sample Generator (Great tool)
- XMLSpy from Altova (Expensive but complete)
- XML Schema Editor from Oxygen
- XML Schema Explorer, included with visual studio
- XML Generator from Stylus studio

Bernard Vander Beken
- 4,848
- 5
- 54
- 76

RRUZ
- 134,889
- 20
- 356
- 483
-
I've used XML Spy to generate sample XML from an XSD file. It's extremely easy! http://bit.ly/9MGFZh However I cannot advise if this is useful for generating many (hundreds) samples. I've only used it for one or two samples. Check out the free trial. – Tony R Aug 27 '10 at 14:36
-
1I've given them only a brief look, but it does *not* seem like any of them would use *random* data to generate the output. They all seem to use *sample* data only. – Jan Hudec Apr 08 '17 at 10:25