Random xml generator

Generator Options
Indentation
String Options
XML Options

Why generate random XML files ?


In recent years, the XML format has been used a little less, but its use is still important compared to other new data formats (yaml, ...). We still use XML data quite often, so it can be useful to generate random XML data. When we do tests we often need data to carry them out. This can be customer data, soap webservice payloads, ...

Creating relevant data, which approximates real data, can be really tedious and time-consuming. Indeed, it is difficult to produce really varied data by hand, and there is therefore the risk of missing anomalies because the data was too similar.

This random test data generator can meet these needs, in minutes you can generate random XML data. You can generate realistic datasets without having to have advanced skills. You can create data with real first names, surnames, cities, ...

It is not allowed to use privacy sensitive personal data for testing (GDPR, PCI, HIPAA, ...), you can overcome that with this test data generator.

For developers, it is possible to execute javascript code. The expression enclosed in the braces {{ my expression }} is executed, and its value is used to generate the XML stream. It is thus possible to generate complex data by using all the possibilities offered by javascript. You can thus generate tailor-made data that corresponds to your needs.

No limit is implemented on the amount of data you can generate with this tool. The only constraints are based on your computer, your browser and the code of this tool (which is not perfect in terms of resources...). On my workstation, I generate more than 10,000 XML files in less than 10 seconds.

This tool is recent, it may lack a bit of functionality. If you think of new tags relevant to the greatest number, do not hesitate to make a request in the comments. When I have time, I will look at the relevance of making the evolution or not.