A web-based tool for generating valid JSON test data for Digital Sales API testing, specifically focused on streamlining QA workflows for applicant configurations.
This tool helps QA engineers generate realistic, UK-compliant JSON payloads for the Digital Sales API without manually crafting test data. It features a form-based interface for configuring applicant details, real-time JSON preview, and export capabilities.
-
Install Dependencies
cd backend pip install -r requirements.txt
-
Run the Application
cd backend python app.py
-
Access the Tool Open your browser to
http://localhost:5000
This project is currently in development. See the Issues for current tasks and progress.
- ✅ Generate Valid Applicant JSON
- ✅ UK-Valid Randomization
- ✅ JSON Preview Panel
- ✅ Static Defaults for Non-Applicant Data
- ✅ History of Generated Payloads
- ✅ Export JSON to CSV
- ✅ Basic Web UI (HTML + JS)
- ✅ Backend Generator (Python)
- ✅ Generate JSON Button
- ✅ Project Boilerplate
- ✅ README with Instructions
- Product Requirements Document - Detailed project requirements and specifications
- Issues - Implementation tasks and user stories
- Backend: Python (Flask)
- Frontend: Plain HTML/JS (minimal dependencies)
- Libraries: Faker, random, json, csv
- Data Generation: UK-focused synthetic data
- Form-based Configuration: Easy-to-use interface for applicant setup
- UK Data Validation: Realistic postcodes, phone numbers, bank details
- Real-time Preview: Live JSON updates as you type
- Export Options: Copy individual payloads or download CSV batches
- Session History: Keep track of previously generated test data
- Primary: QA Engineers performing manual API testing
- Secondary: Developers needing test data for Digital Sales API
- Configure applicant settings in the left panel
- Click "Generate JSON" to create test data
- Use the preview panel to review the generated JSON
- Copy or export the JSON for use in your API tests
digital-sales-api-test-generator/
├── backend/
│ ├── app.py # Flask application
│ └── requirements.txt # Python dependencies
├── frontend/
│ ├── templates/
│ │ └── index.html # Main HTML template
│ └── static/
│ ├── css/
│ │ └── style.css # Styling
│ └── js/
│ └── app.js # Frontend logic
└── README.md
This project follows a GitHub Issues workflow. Each feature is tracked as a user story with clear acceptance criteria. Check the Issues tab to see current work and contribute.
mvp
- Core MVP featurespost-mvp
- Future enhancementsfrontend
- UI-related tasksbackend
- Server-side taskssetup
- Project infrastructuredocumentation
- Docs and guides
This project is designed to streamline manual testing workflows and eliminate the tedious process of crafting valid test data for API endpoints.