17

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?

mjn
  • 36,362
  • 28
  • 176
  • 378

1 Answers1

16

Many tools exist to do this, check theses links

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
  • 1
    I'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