github.com/lulzWill/go-agent@v2.1.2+incompatible/internal/crossagent/cross_agent_tests/cat/path_hashing.json (about)

     1  [
     2    {
     3      "name": "no referring path hash",
     4      "referringPathHash": null,
     5      "applicationName": "application A",
     6      "transactionName": "transaction A",
     7      "expectedPathHash": "5e17050e"
     8    },
     9    {
    10      "name": "leading zero on resulting path hash",
    11      "referringPathHash": null,
    12      "applicationName": "my application",
    13      "transactionName": "transaction 13",
    14      "expectedPathHash": "097ca5e1"
    15    },
    16    {
    17      "name": "with referring path hash",
    18      "referringPathHash": "95f2f716",
    19      "applicationName": "app2",
    20      "transactionName": "txn2",
    21      "expectedPathHash": "ef72c2e6"
    22    },
    23    {
    24      "name": "with referring path hash leading zero",
    25      "referringPathHash": "077634eb",
    26      "applicationName": "app3",
    27      "transactionName": "txn3",
    28      "expectedPathHash": "bfd6587f"
    29    },
    30    {
    31      "name": "with multi-byte UTF-8 characters in transaction name",
    32      "referringPathHash": "95f2f716",
    33      "applicationName": "app1",
    34      "transactionName": "Доверяй, но проверяй",
    35      "expectedPathHash": "b7ad900e"
    36    },
    37    {
    38      "name": "high bit of referringPathHash set",
    39      "referringPathHash": "80000000",
    40      "applicationName": "app1",
    41      "transactionName": "txn1",
    42      "expectedPathHash": "95f2f717"
    43    },
    44    {
    45      "name": "low bit of referringPathHash set",
    46      "referringPathHash": "00000001",
    47      "applicationName": "app1",
    48      "transactionName": "txn1",
    49      "expectedPathHash": "95f2f714"
    50    }
    51  ]