- 
                Notifications
    
You must be signed in to change notification settings  - Fork 2
 
RESTAPI
This tool provides a set of REST API endpoints explicitly designed for testing.
The aim is to offer a simple REST API that returns test data, which can be helpful in a variety of testing scenarios.
The available endpoints include:
- 
GET /api/customers
Returns a list of customers in JSON format. - 
GET /api/customers/{id}
Returns a specific customer (ID range: 1–100) in JSON format. - 
GET /api/customersSlow/{id}
Returns a specific customer (ID range: 1–100) in JSON format. However, customer with ID=10 takes 1 second to execute. All other takes a random time with a distribution centered around 50ms. - 
GET /api/echo
Returns the received request headers in JSON format. - 
GET /api/time
Returns the current server time as a string. - 
GET /api/cpu
Start consuming max CPU for 1 minute - 
GET /api/memory
Start consuming as much memory as possible for 1 minute.