Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit b174e90

Browse files
author
Chris Wiechmann
committed
Simplified the Logstash test
#104
1 parent d8081e2 commit b174e90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

logstash/test/http/test-opentrafficlog.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@
707707
{
708708
"description": "Transaction-Element Leg-0 having an SSL-Subject set.",
709709
"input": [
710-
"{\"timestamp\":1619688909827,\"correlationId\":\"cd7d8a6097b7669f3d48c5b6\",\"processInfo\":{\"hostname\":\"api-front-11\",\"domainId\":\"8591ad8b-c13d-492a-83cd-c3f937bb91bd\",\"groupId\":\"group-3\",\"groupName\":\"Front\",\"serviceId\":\"instance-3\",\"serviceName\":\"api-front-11.prd.schenkerag.de.axway.cloud\",\"version\":\"7.7.20201130\"},\"transactionElement\":{\"leg\":0,\"duration\":26,\"serviceName\":\"MapService\",\"operation\":null,\"finalStatus\":null,\"protocolInfo\":{\"http\":{\"uri\":\"/mapservice/v1/data/v3/1/1/1.pbf\",\"status\":200,\"statusText\":\"OK\",\"method\":\"OPTIONS\",\"vhost\":null,\"wafStatus\":0,\"bytesSent\":617,\"bytesReceived\":723,\"remoteName\":\"localhost\",\"remoteAddr\":\"127.0.0.1\",\"localAddr\":\"127.0.0.1\",\"remotePort\":\"8065\",\"localPort\":\"55640\",\"sslSubject\":\"/CN=Change this for production\",\"authSubjectId\":null},\"recvHeader\":\"HTTP\/1.1 200 OK\r\nDate: Thu, 29 Apr 2021 09:35:09 GMT\r\nContent-Type: application\/x-protobuf\r\n\r\n\",\"sentHeader\":\"OPTIONS \/mapservice\/v1\/data\/v3\/1\/1\/1.pbf HTTP\/1.1\r\nHost: localhost:8065\r\nX-CorrelationID: Id-cd7d8a6097b7669f3d48c5b6 1\r\n\r\n\",\"recvPayload\":\"file:\/\/\/Cloud\/shared\/Openlogs\/2021-04-29\/11.35\/cd7d8a6097b7669f3d48c5b6-1-received\",\"sentPayload\":null}}}"
710+
"{\"timestamp\":1619688909827,\"correlationId\":\"cd7d8a6097b7669f3d48c5b6\",\"processInfo\":{\"hostname\":\"api-front-11\",\"domainId\":\"8591ad8b-c13d-492a-83cd-c3f937bb91bd\",\"groupId\":\"group-3\",\"groupName\":\"Front\",\"serviceId\":\"instance-3\",\"serviceName\":\"api-front-11.prd.schenkerag.de.axway.cloud\",\"version\":\"7.7.20201130\"},\"transactionElement\":{\"leg\":0,\"duration\":26,\"serviceName\":\"MapService\",\"operation\":null,\"finalStatus\":null,\"protocolInfo\":{\"http\":{\"uri\":\"/mapservice/v1/data/v3/1/1/1.pbf\",\"status\":200,\"statusText\":\"OK\",\"method\":\"OPTIONS\",\"vhost\":null,\"wafStatus\":0,\"bytesSent\":617,\"bytesReceived\":723,\"remoteName\":\"localhost\",\"remoteAddr\":\"127.0.0.1\",\"localAddr\":\"127.0.0.1\",\"remotePort\":\"8065\",\"localPort\":\"55640\",\"sslSubject\":\"/CN=Change this for production\",\"authSubjectId\":null},\"recvHeader\":\"Any received header\",\"sentHeader\":\"Any sent header\",\"recvPayload\":\"file:\/\/\/Cloud\/shared\/Openlogs\/2021-04-29\/11.35\/cd7d8a6097b7669f3d48c5b6-1-received\",\"sentPayload\":null}}}"
711711
],
712712
"expected": [
713713
{
@@ -747,9 +747,9 @@
747747
"sslSubject": "/CN=Change this for production",
748748
"authSubjectId": null
749749
},
750-
"recvHeader": "HTTP\/1.1 200 OK\r\nDate: Thu, 29 Apr 2021 09:35:09 GMT\r\nContent-Type: application\/x-protobuf\r\n\r\n",
750+
"recvHeader": "Any received header",
751751
"recvPayload": "file:\/\/\/Cloud\/shared\/Openlogs\/2021-04-29\/11.35\/cd7d8a6097b7669f3d48c5b6-1-received",
752-
"sentHeader": "OPTIONS \/mapservice\/v1\/data\/v3\/1\/1\/1.pbf HTTP\/1.1\r\nHost: localhost:8065\r\nX-CorrelationID: Id-cd7d8a6097b7669f3d48c5b6 1\r\n\r\n",
752+
"sentHeader": "Any sent header",
753753
"sentPayload": null
754754
}
755755
}

0 commit comments

Comments
 (0)