Quick Reference
Essential tips and shortcuts for working efficiently in TDMP.
Keyboard Shortcuts
Navigation:
g d- Go to Dashboardg p- Open Projects menug l- Go to Libraryg i- Go to Integrationsg a- Go to Analytics
Actions:
?- Show keyboard shortcuts helpEsc- Close modal/dialog
Best Practices
Project Organization
Naming conventions:
- Use clear, descriptive names: "User Registration Testing"
- Include version or environment: "Customer API v2"
- Avoid generic names like "Test Project 1"
Structure:
- One project per feature or application module
- Add relevant team members only
- Use project descriptions to explain purpose
Schema Management
Do:
- ✅ Validate schemas before uploading
- ✅ Use descriptive schema names
- ✅ Link schemas to appropriate projects
- ✅ Save commonly-used schemas to Library
Don't:
- ❌ Upload multiple versions of the same schema
- ❌ Use ambiguous field names
- ❌ Create overly complex nested structures
Constraint Sets
Effective constraints:
- Start simple, add complexity gradually
- Test with small record counts (10-100) first
- Use built-in formats (email, phone, date) when possible
- Document complex constraint logic
Common patterns:
- Email: Use value category
- Phone: Use regex pattern for your locale
- Date ranges: Set realistic min/max dates
- Enums: List valid values explicitly
Dataset Generation
Performance tips:
- Generate 1,000-10,000 records for most testing needs
- Use smaller batches for quick iterations
- Schedule large generations (10,000+) during off-peak hours
Quality checks:
- Preview data before downloading
- Verify key fields are populated correctly
- Check that constraints are applied as expected
Common Tasks
Generate Dataset Quickly
- Select existing project
- Choose schema from project
- Select or create constraint set
- Set record count
- Click Generate
Reuse Previous Configuration
- Go to Library
- Find previous dataset
- Click "Generate Similar"
- Adjust parameters if needed
- Generate
Share Schema with Team
- Upload schema with clear name
- Link to relevant projects
- Create example constraint set
- Notify team members
Set Up API Access
- Go to Settings → Tokens
- Click "Create Token"
- Enter descriptive name
- Copy token immediately
- Use in API calls with Bearer authentication
Troubleshooting Quick Reference
| Issue | Solution |
|---|---|
| Generation stuck | Check dataset status, verify schema validity |
| Upload fails | Ensure file is under 10MB, UTF-8 encoded |
| Can't access project | Request access from project admin |
| Constraint conflict | Review min/max ranges, check for contradictions |
| Download times out | Try smaller dataset or better network |
Integration Examples
Trigger Generation from CI/CD
# Authenticate
TOKEN=$(curl -X POST $TDMP_URL/users/token \
-d "username=$USER&password=$PASS" \
| jq -r '.access_token')
# Create dataset
curl -X POST $TDMP_URL/datasets/create \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "CI Test Data", "project_id": 5, "schema_id": 12, "record_count": 100}'
Poll for Completion
# Check status
STATUS=$(curl $TDMP_URL/datasets/$DATASET_ID \
-H "Authorization: Bearer $TOKEN" \
| jq -r '.status')
# Wait until completed or failed
while [ "$STATUS" != "completed" ] && [ "$STATUS" != "failed" ]; do
sleep 5
STATUS=$(curl $TDMP_URL/datasets/$DATASET_ID \
-H "Authorization: Bearer $TOKEN" \
| jq -r '.status')
done
Download Generated Data
# Download dataset
curl $TDMP_URL/data/$DATASET_ID \
-H "Authorization: Bearer $TOKEN" \
-o test-data.json
Getting Help
- Guides - Step-by-step tutorials
- FAQ - Common questions
- API Overview - For automation
- Contact your administrator for deployment-specific help