Test data generation from structured schemas

When you want to test your application by using randomly generated test data, then you must generate the test data from the structured schemas.

You can generate the test data for schemas that you import, create, or generate in HCL® OneTest Data by using any external resource. You can generate the test data simultaneously for multiple schemas that are related to each other through common item types. The item types of the child schema refer to the item types of the parent schema. After you view the relationship among the selected schemas, you can generate the test data. When you generate the test data by using the related schemas, the generated values of referring item types of the child schema are available in the generated values of the referred item types of the parent schema, based on referential integrity.

You can also establish or delete parent and child relationships among multiple non-JDBC schemas, based on referential integrity.

Notes:
  • When you generate the test data by using multiple schemas, you must select either JDBC-supported or non-JDBC schemas.
  • If you generate the test data for JDBC-supported schemas, then all the selected schemas must be generated from the same JDBC connection.
When you generate the test data for JDBC-supported schemas, then you can either download the generated test data or can insert it into the connected database. You can insert the test data into the following databases if there is a successful connection between HCL® OneTest Data and the database:
  • JDBC-supported databases
  • MongoDB