{
  "generatedAt": "2026-09-21T18:13:24.000204+00:00",
  "runtime": {
    "python": "3.14.4",
    "platform": "Linux-7.0.0-14-generic-x86_64-with-glibc2.43"
  },
  "demonstration": "Local fictional HTTP component; not an n8n execution or client integration",
  "server": "127.0.0.1 with an automatically assigned port",
  "testsPassed": 7,
  "tests": [
    {
      "name": "same key and payload replays one receipt",
      "passed": true,
      "evidence": {
        "first": {
          "status": 201,
          "body": {
            "outcome": "created",
            "receipt": {
              "key": "stable-key",
              "name": "Demonstration",
              "status": "new"
            }
          }
        },
        "replay": {
          "status": 200,
          "body": {
            "outcome": "replayed",
            "receipt": {
              "key": "stable-key",
              "name": "Demonstration",
              "status": "new"
            }
          }
        }
      }
    },
    {
      "name": "same key with another payload is rejected",
      "passed": true,
      "evidence": {
        "status": 409,
        "body": {
          "error": "idempotency_key_payload_conflict"
        }
      }
    },
    {
      "name": "invalid entries and composed JSON types return HTTP 400",
      "passed": true,
      "evidence": {
        "statuses": [
          400,
          400,
          400,
          400,
          400
        ],
        "cases": 5
      }
    },
    {
      "name": "missing idempotency key is rejected",
      "passed": true,
      "evidence": {
        "status": 400,
        "body": {
          "error": "invalid_or_missing_idempotency_key"
        }
      }
    },
    {
      "name": "invalid API key is rejected",
      "passed": true,
      "evidence": {
        "status": 401,
        "body": {
          "error": "invalid_api_key"
        }
      }
    },
    {
      "name": "eight concurrent copies create once and replay seven times",
      "passed": true,
      "evidence": {
        "requests": 8,
        "statuses": [
          200,
          200,
          200,
          200,
          200,
          200,
          200,
          201
        ],
        "distinctReceipts": 1
      }
    },
    {
      "name": "clean restart replays the same durable receipt without another row",
      "passed": true,
      "evidence": {
        "response": {
          "status": 200,
          "body": {
            "outcome": "replayed",
            "receipt": {
              "key": "stable-key",
              "name": "Demonstration",
              "status": "new"
            }
          }
        },
        "rowCount": 2,
        "keys": [
          "concurrent-key",
          "stable-key"
        ]
      }
    }
  ],
  "databasePersistedAfterTest": false,
  "productionExactlyOnceClaim": false
}
