VRN integration tests: add mocks

This commit is contained in:
Jannis R 2020-11-26 14:22:09 +01:00 committed by Jannis Redmann
parent c0152d9605
commit 99e8bb313c
48 changed files with 864 additions and 0 deletions

View file

@ -0,0 +1 @@
{"ver":"1.25","lang":"deu","id":"wd2kfrvkkuwf844c","err":"OK","graph":{"id":"standard","index":0},"subGraph":{"id":"global","index":0},"view":{"id":"standard","index":0,"type":"WGS84"},"svcResL":[{"meth":"StationBoard","err":"H9360","errTxt":"HAFAS Kernel: Date outside of the timetable period.","errTxtOut":"Fehler bei der Datumseingabe oder Datum außerhalb der Fahrplanperiode (18.11.2020 - 12.12.2020)"}]}

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Wed, 25 Nov 2020 15:24:07 GMT",
"server": "Apache",
"content-length": "286",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://cdt.hafas.de/bin/mgate.exe",
"time": 356,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transport/hafas-client:test808b49e59738"
],
"Content-Length": [
"358"
],
"Connection": [
"close"
]
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Thu, 26 Nov 2020 13:21:08 GMT",
"server": "Apache",
"content-length": "4905",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://vrn.hafas.de/bin/mgate.exe",
"time": 742,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transport/hafas-cliebd4e9a7b697cnt:test"
],
"Content-Length": [
"783"
],
"Connection": [
"close"
]
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Wed, 25 Nov 2020 15:24:08 GMT",
"server": "Apache",
"content-length": "1311",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://cdt.hafas.de/bin/mgate.exe",
"time": 328,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transpo808b49e59738rt/hafas-client:test"
],
"Content-Length": [
"230"
],
"Connection": [
"close"
]
}
}
}

View file

@ -0,0 +1 @@
{"ver":"1.25","lang":"deu","id":"b9ig7rvmkuw79mc4","err":"OK","graph":{"id":"standard","index":0},"subGraph":{"id":"global","index":0},"view":{"id":"standard","index":0,"type":"WGS84"},"svcResL":[{"meth":"StationBoard","err":"H9360","errTxt":"HAFAS Kernel: Date outside of the timetable period.","errTxtOut":"Fehler bei der Datumseingabe oder Datum außerhalb der Fahrplanperiode (18.11.2020 - 12.12.2020)"}]}

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Wed, 25 Nov 2020 15:24:07 GMT",
"server": "Apache",
"content-length": "287",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://cdt.hafas.de/bin/mgate.exe",
"time": 358,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-tra808b49e59738nsport/hafas-client:test"
],
"Content-Length": [
"358"
],
"Connection": [
"close"
]
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Thu, 26 Nov 2020 13:21:13 GMT",
"server": "Apache",
"content-length": "2612",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://vrn.hafas.de/bin/mgate.exe",
"time": 315,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transport/hafas-client:tbd4e9a7b697cest"
],
"Content-Length": [
"380"
],
"Connection": [
"close"
]
}
}
}

View file

@ -0,0 +1 @@
{"ver":"1.25","lang":"deu","id":"8uggdrvkkuw68mc4","err":"OK","graph":{"id":"standard","index":0},"subGraph":{"id":"global","index":0},"view":{"id":"standard","index":0,"type":"WGS84"},"svcResL":[{"meth":"TripSearch","err":"H9360","errTxt":"HAFAS Kernel: Date outside of the timetable period.","errTxtOut":"Fehler bei der Datumseingabe oder Datum außerhalb der Fahrplanperiode (18.11.2020 - 12.12.2020)"}]}

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Wed, 25 Nov 2020 15:24:05 GMT",
"server": "Apache",
"content-length": "286",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://cdt.hafas.de/bin/mgate.exe",
"time": 609,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transport/h808b49e59738afas-client:test"
],
"Content-Length": [
"744"
],
"Connection": [
"close"
]
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Thu, 26 Nov 2020 13:21:14 GMT",
"server": "Apache",
"content-length": "2606",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://vrn.hafas.de/bin/mgate.exe",
"time": 907,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transport/habd4e9a7b697cfas-client:test"
],
"Content-Length": [
"303"
],
"Connection": [
"close"
]
}
}
}

View file

@ -0,0 +1 @@
{"ver":"1.25","lang":"deu","id":"5bigfrbkmuw6p4c4","err":"OK","graph":{"id":"standard","index":0},"subGraph":{"id":"global","index":0},"view":{"id":"standard","index":0,"type":"WGS84"},"svcResL":[{"meth":"TripSearch","err":"H9360","errTxt":"HAFAS Kernel: Date outside of the timetable period.","errTxtOut":"Fehler bei der Datumseingabe oder Datum außerhalb der Fahrplanperiode (18.11.2020 - 12.12.2020)"}]}

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Wed, 25 Nov 2020 15:24:04 GMT",
"server": "Apache",
"content-length": "286",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://cdt.hafas.de/bin/mgate.exe",
"time": 605,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-808b49e59738transport/hafas-client:test"
],
"Content-Length": [
"633"
],
"Connection": [
"close"
]
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Thu, 26 Nov 2020 13:21:10 GMT",
"server": "Apache",
"content-length": "4482",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://vrn.hafas.de/bin/mgate.exe",
"time": 576,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"pubd4e9a7b697cblic-transport/hafas-client:test"
],
"Content-Length": [
"762"
],
"Connection": [
"close"
]
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Thu, 26 Nov 2020 13:21:14 GMT",
"server": "Apache",
"content-length": "1473",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://vrn.hafas.de/bin/mgate.exe",
"time": 281,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transport/hafas-clibd4e9a7b697cent:test"
],
"Content-Length": [
"251"
],
"Connection": [
"close"
]
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Thu, 26 Nov 2020 13:21:13 GMT",
"server": "Apache",
"content-length": "2290",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://vrn.hafas.de/bin/mgate.exe",
"time": 278,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"pbd4e9a7b697cublic-transport/hafas-client:test"
],
"Content-Length": [
"380"
],
"Connection": [
"close"
]
}
}
}

View file

@ -0,0 +1 @@
{"ver":"1.25","lang":"deu","id":"5b2g7rbkmuw6pmc4","err":"OK","graph":{"id":"standard","index":0},"subGraph":{"id":"global","index":0},"view":{"id":"standard","index":0,"type":"WGS84"},"svcResL":[{"meth":"TripSearch","err":"H9360","errTxt":"HAFAS Kernel: Date outside of the timetable period.","errTxtOut":"Fehler bei der Datumseingabe oder Datum außerhalb der Fahrplanperiode (18.11.2020 - 12.12.2020)"}]}

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Wed, 25 Nov 2020 15:24:04 GMT",
"server": "Apache",
"content-length": "286",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://cdt.hafas.de/bin/mgate.exe",
"time": 498,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transport/hafas-clien808b49e59738t:test"
],
"Content-Length": [
"714"
],
"Connection": [
"close"
]
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Thu, 26 Nov 2020 13:21:07 GMT",
"server": "Apache",
"content-length": "5221",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://vrn.hafas.de/bin/mgate.exe",
"time": 848,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transport/hbd4e9a7b697cafas-client:test"
],
"Content-Length": [
"652"
],
"Connection": [
"close"
]
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Thu, 26 Nov 2020 13:21:15 GMT",
"server": "Apache",
"content-length": "3960",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://vrn.hafas.de/bin/mgate.exe",
"time": 625,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transport/bd4e9a7b697chafas-client:test"
],
"Content-Length": [
"480"
],
"Connection": [
"close"
]
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Thu, 26 Nov 2020 13:21:09 GMT",
"server": "Apache",
"content-length": "3624",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://vrn.hafas.de/bin/mgate.exe",
"time": 593,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transport/hafas-clibd4e9a7b697cent:test"
],
"Content-Length": [
"653"
],
"Connection": [
"close"
]
}
}
}

View file

@ -0,0 +1 @@
{"ver":"1.25","lang":"deu","id":"mw2knrf6kuw7pmc4","err":"OK","graph":{"id":"standard","index":0},"subGraph":{"id":"global","index":0},"view":{"id":"standard","index":0,"type":"WGS84"},"svcResL":[{"meth":"StationBoard","err":"H9360","errTxt":"HAFAS Kernel: Date outside of the timetable period.","errTxtOut":"Fehler bei der Datumseingabe oder Datum außerhalb der Fahrplanperiode (18.11.2020 - 12.12.2020)"}]}

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Wed, 25 Nov 2020 15:24:07 GMT",
"server": "Apache",
"content-length": "287",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://cdt.hafas.de/bin/mgate.exe",
"time": 405,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"pub808b49e59738lic-transport/hafas-client:test"
],
"Content-Length": [
"358"
],
"Connection": [
"close"
]
}
}
}

View file

@ -0,0 +1 @@
{"ver":"1.25","lang":"deu","id":"a9wgnrrkkuwf9k44","err":"OK","graph":{"id":"standard","index":0},"subGraph":{"id":"global","index":0},"view":{"id":"standard","index":0,"type":"WGS84"},"svcResL":[{"meth":"TripSearch","err":"H9360","errTxt":"HAFAS Kernel: Date outside of the timetable period.","errTxtOut":"Fehler bei der Datumseingabe oder Datum außerhalb der Fahrplanperiode (18.11.2020 - 12.12.2020)"}]}

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Wed, 25 Nov 2020 15:24:05 GMT",
"server": "Apache",
"content-length": "286",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://cdt.hafas.de/bin/mgate.exe",
"time": 609,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-tra808b49e59738nsport/hafas-client:test"
],
"Content-Length": [
"634"
],
"Connection": [
"close"
]
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Wed, 25 Nov 2020 15:24:08 GMT",
"server": "Apache",
"content-length": "1699",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://cdt.hafas.de/bin/mgate.exe",
"time": 313,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transport/hafas808b49e59738-client:test"
],
"Content-Length": [
"277"
],
"Connection": [
"close"
]
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Thu, 26 Nov 2020 13:21:10 GMT",
"server": "Apache",
"content-length": "3290",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://vrn.hafas.de/bin/mgate.exe",
"time": 887,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transport/hafas-clbd4e9a7b697cient:test"
],
"Content-Length": [
"762"
],
"Connection": [
"close"
]
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Thu, 26 Nov 2020 13:21:07 GMT",
"server": "Apache",
"content-length": "4443",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://vrn.hafas.de/bin/mgate.exe",
"time": 702,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transport/hafas-clienbd4e9a7b697ct:test"
],
"Content-Length": [
"789"
],
"Connection": [
"close"
]
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Thu, 26 Nov 2020 13:21:11 GMT",
"server": "Apache",
"content-length": "2219",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://vrn.hafas.de/bin/mgate.exe",
"time": 601,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-trabd4e9a7b697cnsport/hafas-client:test"
],
"Content-Length": [
"653"
],
"Connection": [
"close"
]
}
}
}

View file

@ -0,0 +1 @@
{"ver":"1.25","lang":"deu","id":"mwikfrr4kuw7pm4c","err":"OK","graph":{"id":"standard","index":0},"subGraph":{"id":"global","index":0},"view":{"id":"standard","index":0,"type":"WGS84"},"svcResL":[{"meth":"TripSearch","err":"H9360","errTxt":"HAFAS Kernel: Date outside of the timetable period.","errTxtOut":"Fehler bei der Datumseingabe oder Datum außerhalb der Fahrplanperiode (18.11.2020 - 12.12.2020)"}]}

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Wed, 25 Nov 2020 15:24:06 GMT",
"server": "Apache",
"content-length": "286",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://cdt.hafas.de/bin/mgate.exe",
"time": 507,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transport/hafas-client:te808b49e59738st"
],
"Content-Length": [
"634"
],
"Connection": [
"close"
]
}
}
}

View file

@ -0,0 +1 @@
{"ver":"1.25","lang":"deu","id":"wb6wfrbkmqw2x44c","err":"OK","graph":{"id":"standard","index":0},"subGraph":{"id":"global","index":0},"view":{"id":"standard","index":0,"type":"WGS84"},"svcResL":[{"meth":"JourneyGeoPos","err":"FAIL","errTxt":"HCI Service: request failed","errTxtOut":"Während der Suche ist ein interner Fehler aufgetreten"}]}

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Wed, 25 Nov 2020 15:24:08 GMT",
"server": "Apache",
"content-length": "250",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://cdt.hafas.de/bin/mgate.exe",
"time": 329,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transport/hafa808b49e59738s-client:test"
],
"Content-Length": [
"457"
],
"Connection": [
"close"
]
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,35 @@
{
"statusCode": 200,
"headers": {
"date": "Thu, 26 Nov 2020 13:21:12 GMT",
"server": "Apache",
"content-length": "2706",
"connection": "close",
"content-type": "application/json; charset=utf-8"
},
"url": "https://vrn.hafas.de/bin/mgate.exe",
"time": 1224,
"request": {
"method": "POST",
"headers": {
"Content-Type": [
"application/json"
],
"Accept-Encoding": [
"gzip, br, deflate"
],
"Accept": [
"application/json"
],
"user-agent": [
"public-transport/hafas-bd4e9a7b697cclient:test"
],
"Content-Length": [
"298"
],
"Connection": [
"close"
]
}
}
}