This service tests performance of BTC and EVM nodes by replicating real-world patterns with specific JSON-RPC payloads.
After making the .env file based on the .env.example provided, use
docker-compose up
in this project's directory
{
"chain": "EVM",
"endpoint": "https://endpoints.omniatech.io/v1/<chain>/<endpoint-uuid>"
"threads": 20,
"duration": 60
}
{
"chain": "BTC",
"endpoint": "https://endpoints.omniatech.io/v1/<chain>/<endpoint-uuid>"
"threads": 10,
"duration": 60
}
{
"chain": "EVM",
"endpoint": "https://endpoints.omniatech.io/v1/<chain>/<endpoint-uuid>"
"threads": 20,
"duration": 60,
"authorization": "Basic YWxleDoxMjM0"
}
{
"chain": "EVM",
"endpoint": "https://endpoints.omniatech.io/v1/<chain>/<endpoint-uuid>"
"threads": 10,
"duration": 60,
"authorization": "Bearer MHnQx2fd4714ooTXZTq9"
}
201 OK
{
"id": "l4xt7lgaMdJvBF9K8cO6w4u7djc0pH"
}
400 BadRequest
{
"error": "Failed to deserialize TodoJob object Cause: missing field <field_name>"
}
500 InternalServerError
{
"error": "<message>"
}
GET /jobs/l4xt7lgaMdJvBF9K8cO6w4u7djc0pH
200 OK
{
"status": "PENDING"
}
200 OK
{
"status": "ERRORED"
}
200 OK
{
"status": "FINISHED",
"rps": 70
}
404 NotFound
<empty-body>
500 InternalServerError
{
"error": "<message>"
}