API Simulator
Testing Goal
Test fake API calls: loading states, success responses, and in Bug Mode random server errors. Use Documented examples to practice with cURL or Postman outside the app.
Test Data
App hosted at https://qa.tochasolutions.com/. Real GET endpoints return JSON from api/products.json, api/users.json, api/categories.json, api/orders.json. Use Copy cURL or download the Postman collection to practice API testing externally.
Documented examples
Base URL: https://qa.tochasolutions.com
| Method | Endpoint | Description | Expectation (e.g. in Postman) | Copy cURL |
|---|---|---|---|---|
| GET | /api/products.json |
Product catalog (id, name, price) | Status 200. Body: success: true, data array of { id, name, price }, count number. At least 6 items. |
|
| GET | /api/users.json |
Sample users list | Status 200. Body: success: true, data array of { id, name, email }, count number. |
|
| GET | /api/categories.json |
Product categories | Status 200. Body: success: true, data array of { id, name, slug }, count number. |
|
| GET | /api/orders.json |
Sample orders list | Status 200. Body: success: true, data array of { id, status, total }, count number. |
Custom GET request
Enter path (e.g. api/products.json). Request is sent to the same origin; use base URL above when testing from terminal/Postman.
—
GET /products (simulated)
—
POST /login (simulated)
—
GET /users (simulated)
—