Common Workflows
Practical examples of typical TDMP tasks and workflows.
Generating your first dataset
Goal: Create test data for a new feature.
- Create or open a project
- Add or select a schema
- Define constraints (optional)
- Set record count
- Click "Generate Dataset"
- Monitor generation progress
- Download when complete
See Generating Datasets for detailed steps.
Setting up CI/CD automation
Goal: Generate fresh test data before each test run.
- Create a dedicated project for automation
- Configure and test your constraint set
- Get API credentials (Settings → Tokens)
- Note project ID, schema ID, and constraint set ID
- Use API to trigger generation in your pipeline
- Poll for completion status
- Download generated files
See API Overview for code examples.
Sharing schemas with your team
Goal: Make a schema available to other testers.
- Create a project and invite team members
- Link schema to the project
- Create example constraint sets
- Notify team members of schema name and location
Team members will see the schema when creating datasets in the project.
Handling related data
Goal: Generate data with relationships (e.g., users and their orders).
Approach 1 - Sequential generation:
- Generate parent data (users) with unique IDs
- Note the ID range
- Generate child data (orders) with constraints referencing parent IDs
- Import parent data first, then child data
Approach 2 - Separate projects:
- Maintain one project for users, one for orders
- Keep constraint sets that reference known ID ranges
- Regenerate both when needed
Troubleshooting failed generations
Common issues:
- Conflicting constraints: Review rules for contradictions (e.g., min > max)
- Invalid schema: Verify schema matches current data structure
- Complex constraints: Start with simpler rules and add complexity gradually
- Large record counts: Try smaller batches first (100 records) to test configuration
See FAQ for more troubleshooting tips.
Exporting to external systems
Goal: Send generated data to S3, database, or other services.
- Configure integration in Integrations page
- Test the connection
- When generating a dataset, select the integration as destination
- Data is automatically exported upon completion
See Integrations for supported services.
Monitoring team activity
Goal: Track usage and identify patterns (Admins only).
- Go to Analytics to see generation volume and trends
- Go to Admin → Audit Logs to see user actions
- Review most-used schemas and constraint sets
- Identify opportunities for shared resources
Working offline with exports
Goal: Use generated data in local environment without TDMP access.
- Generate dataset with required format (CSV, JSON, XML, SQL)
- Download all files
- Import into local database or test framework
- Re-generate periodically to refresh data
Note dataset name and settings for reproducibility.