distributed-tracing

Build Status

W3C Distributed Tracing Validation Service

Install

Implement Test Service

The test harness will use HTTP POST to communicate with your test service endpoint, giving instructions via the POST body, and waiting for your service to callback to the harness.

HTTP POST body format

The HTTP POST request body from the harness will be a JSON array, each element in the array would be an object with two properties url and arguments. The test service should iterate through the JSON array, and for each element, send an HTTP POST to the specified url, with arguments as the request body.

Below is a sample request from the test harness:

POST /test HTTP/1.1
Accept: application/json
Accept-Encoding: gzip, deflate
Host: 127.0.0.1:5000
User-Agent: Python/3.7 aiohttp/3.3.2
Content-Length: 118
Content-Type: application/json

[
    {"url": url1, "arguments": [
        {"url": url2, "arguments": []}
    ]},
    {"url": url3, "arguments": []}
]

Run Test Cases

Contributing