Tsekaro is an open system framework for creating/executing/managing API tests and integration tests. It is mainly aimed to help testing in a Microservices
rich ecosystem.
Tsekaro is built with the idea of Testing as a Service
, meaning it can easily be deployed as a microservice to help teams during development as well as during regression.
Endpoint:
Method: POST
Type: RAW
URL: http://localhost:8080/v1/flows
Body:
{
"name": "flow2"
}
Endpoint:
Method: POST
Type: RAW
URL: http://localhost:8080/v1/testcases
Body:
{
"name": "step1",
"flow_id": 11,
"api": "GRPC",
"test_case_id": 1,
"operation": "EQUAL",
"expected": {
"data": "Hello thejas!"
},
"actual": "message",
"scheme": "http",
"host": "localhost",
"port": 50051,
"path": "helloworld.Greeter/SayHello",
"body": "{\"message\": \"thejas\"}"
}
Endpoint:
Method: DELETE
Type:
URL: http://localhost:8080/v1/flows/1
Endpoint:
Method: DELETE
Type:
URL: http://localhost:8080/v1/testcases/3
Endpoint:
Method: GET
Type:
URL: http://localhost:8080/v1/flows/execute/11
Endpoint:
Method: GET
Type:
URL: http://localhost:8080/v1/testcases/execute/5
Endpoint:
Method: GET
Type:
URL: http://localhost:8080/v1/flows
Query params:
Key | Value | Description |
---|---|---|
page | 5 | |
pagesize | 1 | |
order | name |
More example Requests/Responses:
Query:
Key | Value | Description |
---|---|---|
page | 5 | |
pagesize | 1 | |
order | name |
{
"page": 5,
"page_size": 1,
"data": [],
"total_records": 2
}
Status Code: 200
Endpoint:
Method: GET
Type:
URL: http://localhost:8080/v1/testcases
Endpoint:
Method: GET
Type:
URL: http://localhost:8080/v1/flows/10
Endpoint:
Method: GET
Type:
URL: http://localhost:8080/v1/testcases/5
Endpoint:
Method: GET
Type:
URL: http://localhost:8080/v1/status
Endpoint:
Method: PUT
Type: RAW
URL: http://localhost:8080/v1/flows/2
Body:
{
"name": "name2"
}
Endpoint:
Method: PUT
Type: RAW
URL: http://localhost:8080/v1/testcases/6
Body:
{
"name": "step1",
"flow_id": 11,
"api": "GRPC",
"test_case_id": 1,
"operation": "EQUAL",
"expected": {
"data": "Hello thejas"
},
"actual": "message",
"scheme": "http",
"host": "localhost",
"port": 50051,
"path": "helloworld.Greeter/SayHello",
"body": "{\"name\": \"thejas\"}"
}