Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 435 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 435 Bytes

test-automation

Example API project used for practising automated testing.

The applications runs at http://localhost:50000

Swagger is located at http://localhost:50000/swagger

There are two endpoints:

  • GET /api/health
  • POST /api/calculations/calculateTotalAmount

Example JSON model to post to the endpoint to calculate 2% interest over 5 years on 1000.

{
  "principal": 1000,
  "percentageRate": 2,
  "years": 5
}