mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
SBB integration tests: check in mocks ✅
This commit is contained in:
parent
bbf024dd3a
commit
6815c9eb3c
26 changed files with 481 additions and 0 deletions
1
test/e2e/fixtures/0e610b801450dfca4566d4e28c180416
vendored
Normal file
1
test/e2e/fixtures/0e610b801450dfca4566d4e28c180416
vendored
Normal file
File diff suppressed because one or more lines are too long
36
test/e2e/fixtures/0e610b801450dfca4566d4e28c180416.headers
vendored
Normal file
36
test/e2e/fixtures/0e610b801450dfca4566d4e28c180416.headers
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Mon, 07 Dec 2020 15:14:46 GMT",
|
||||||
|
"server": "Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips",
|
||||||
|
"content-length": "1644",
|
||||||
|
"x-robots-tag": "noindex, nofollow",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8"
|
||||||
|
},
|
||||||
|
"url": "http://fahrplan.sbb.ch/bin/mgate.exe",
|
||||||
|
"time": 234,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"public-transport3897068ef635/hafas-client:test"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"262"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
test/e2e/fixtures/2d33a411225ec6be830d38250ac35eb0
vendored
Normal file
1
test/e2e/fixtures/2d33a411225ec6be830d38250ac35eb0
vendored
Normal file
File diff suppressed because one or more lines are too long
36
test/e2e/fixtures/2d33a411225ec6be830d38250ac35eb0.headers
vendored
Normal file
36
test/e2e/fixtures/2d33a411225ec6be830d38250ac35eb0.headers
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Mon, 07 Dec 2020 15:14:41 GMT",
|
||||||
|
"server": "Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips",
|
||||||
|
"content-length": "5093",
|
||||||
|
"x-robots-tag": "noindex, nofollow",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8"
|
||||||
|
},
|
||||||
|
"url": "http://fahrplan.sbb.ch/bin/mgate.exe",
|
||||||
|
"time": 1167,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"public-transport/h3897068ef635afas-client:test"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"757"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
test/e2e/fixtures/3c168111064713323bac42469e929d31
vendored
Normal file
1
test/e2e/fixtures/3c168111064713323bac42469e929d31
vendored
Normal file
File diff suppressed because one or more lines are too long
36
test/e2e/fixtures/3c168111064713323bac42469e929d31.headers
vendored
Normal file
36
test/e2e/fixtures/3c168111064713323bac42469e929d31.headers
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Mon, 07 Dec 2020 15:14:45 GMT",
|
||||||
|
"server": "Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips",
|
||||||
|
"content-length": "2285",
|
||||||
|
"x-robots-tag": "noindex, nofollow",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8"
|
||||||
|
},
|
||||||
|
"url": "http://fahrplan.sbb.ch/bin/mgate.exe",
|
||||||
|
"time": 385,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"public-transport/hafa3897068ef635s-client:test"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"617"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
test/e2e/fixtures/81af80a2a4779531e6c3e4cf9c4a5bbb
vendored
Normal file
1
test/e2e/fixtures/81af80a2a4779531e6c3e4cf9c4a5bbb
vendored
Normal file
File diff suppressed because one or more lines are too long
36
test/e2e/fixtures/81af80a2a4779531e6c3e4cf9c4a5bbb.headers
vendored
Normal file
36
test/e2e/fixtures/81af80a2a4779531e6c3e4cf9c4a5bbb.headers
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Mon, 07 Dec 2020 15:14:43 GMT",
|
||||||
|
"server": "Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips",
|
||||||
|
"content-length": "3948",
|
||||||
|
"x-robots-tag": "noindex, nofollow",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8"
|
||||||
|
},
|
||||||
|
"url": "http://fahrplan.sbb.ch/bin/mgate.exe",
|
||||||
|
"time": 579,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"public-transport/ha3897068ef635fas-client:test"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"726"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
test/e2e/fixtures/87a5e88ce416c86b46951bc3b0155a95
vendored
Normal file
1
test/e2e/fixtures/87a5e88ce416c86b46951bc3b0155a95
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"ver":"1.18","lang":"deu","id":"r2w8trhx4ikng4cc","err":"OK","svcResL":[{"meth":"LocMatch","err":"OK","res":{"common":{"locL":[],"prodL":[],"polyL":[],"layerL":[{"id":"standard","name":"standard","index":0,"annoCnt":0}],"crdSysL":[{"id":"standard","index":0,"type":"WGS84"}],"opL":[],"remL":[{"type":"A","code":"KB","prio":0,"icoX":0,"txtN":"KB"},{"type":"A","code":"CA","prio":999,"icoX":0,"txtN":"Kategorie verfügbar"},{"type":"A","code":"P5","prio":999,"icoX":0,"txtN":"Kategorie 5"},{"type":"A","code":"Q5","prio":999,"icoX":0,"txtN":"Unterkategorie 5"},{"type":"A","code":"Pb","prio":999,"icoX":0,"txtN":"Handel"},{"type":"A","code":"P4","prio":999,"icoX":0,"txtN":"Kategorie 4"},{"type":"A","code":"Q3","prio":999,"icoX":0,"txtN":"Unterkategorie 3"},{"type":"A","code":"P7","prio":999,"icoX":0,"txtN":"Kategorie 7"},{"type":"A","code":"Q2","prio":999,"icoX":0,"txtN":"Unterkategorie 2"},{"type":"A","code":"Pf","prio":999,"icoX":0,"txtN":"Sport"}],"icoL":[{"res":"INFO"},{"res":"STA"},{"res":"POI"},{"res":"ADR"}]},"match":{"field":"S","state":"L","locL":[{"lid":"A=1@O=Zürich, ETH Hönggerberg@X=8507706@Y=47408678@U=95@L=008591122@B=1@p=1607065263@","type":"S","name":"Zürich, ETH Hönggerberg","icoX":1,"extId":"008591122","state":"F","crd":{"x":8507706,"y":47408678,"layerX":0,"crdSysX":0},"pCls":64,"wt":663,"msgL":[{"type":"REM","remX":0,"tagL":["RES_LOC"],"sort":402653184}]},{"lid":"A=4@O=Zürich, Post Zürich ETH Hönggerberg@X=8506339@Y=47406853@U=104@L=980001432@B=1@p=1603115030@","type":"P","name":"Zürich, Post Zürich ETH Hönggerberg","icoX":2,"extId":"980001432","state":"F","crd":{"x":8506339,"y":47406853,"layerX":0,"crdSysX":0},"msgL":[{"type":"REM","remX":1,"tagL":["RES_LOC"],"sort":802029568},{"type":"REM","remX":2,"tagL":["RES_LOC"],"sort":802029568},{"type":"REM","remX":3,"tagL":["RES_LOC"],"sort":802029568},{"type":"REM","remX":4,"tagL":["RES_LOC"],"sort":802029568}]},{"lid":"A=1@O=Zürich, Friedhof Hönggerberg@X=8494132@Y=47408938@U=95@L=008591143@B=1@p=1607065263@","type":"S","name":"Zürich, Friedhof Hönggerberg","icoX":1,"extId":"008591143","state":"F","crd":{"x":8494132,"y":47408938,"layerX":0,"crdSysX":0},"pCls":64,"wt":663,"msgL":[{"type":"REM","remX":0,"tagL":["RES_LOC"],"sort":402653184}]},{"lid":"A=1@O=Zürich, Hönggerberg@X=8504730@Y=47404938@U=95@L=008591201@B=1@p=1607065263@","type":"S","name":"Zürich, Hönggerberg","icoX":1,"extId":"008591201","state":"F","crd":{"x":8504730,"y":47404938,"layerX":0,"crdSysX":0},"pCls":64,"wt":663,"msgL":[{"type":"REM","remX":0,"tagL":["RES_LOC"],"sort":402653184}]},{"lid":"A=4@O=Zürich, Friedhof Hönggerberg@X=8491040@Y=47410179@U=104@L=980000926@B=1@p=1603115030@","type":"P","name":"Zürich, Friedhof Hönggerberg","icoX":2,"extId":"980000926","state":"F","crd":{"x":8491040,"y":47410179,"layerX":0,"crdSysX":0},"msgL":[{"type":"REM","remX":1,"tagL":["RES_LOC"],"sort":802029568},{"type":"REM","remX":5,"tagL":["RES_LOC"],"sort":802029568},{"type":"REM","remX":6,"tagL":["RES_LOC"],"sort":802029568}]},{"lid":"A=4@O=Zürich, Schützenstube Schiessanlage Hönggerberg (S@X=8496640@Y=47409433@U=104@L=980006665@B=1@p=1603115030@","type":"P","name":"Zürich, Schützenstube Schiessanlage Hönggerberg (S","icoX":2,"extId":"980006665","state":"F","crd":{"x":8496640,"y":47409433,"layerX":0,"crdSysX":0},"msgL":[{"type":"REM","remX":1,"tagL":["RES_LOC"],"sort":802029568},{"type":"REM","remX":7,"tagL":["RES_LOC"],"sort":802029568},{"type":"REM","remX":8,"tagL":["RES_LOC"],"sort":802029568},{"type":"REM","remX":9,"tagL":["RES_LOC"],"sort":802029568}]},{"lid":"A=2@O=8049 Zürich, Am Hönggerberg@X=8505962@Y=47403814@U=103@b=990125254@B=1@p=1583848107@","type":"A","name":"8049 Zürich, Am Hönggerberg","icoX":3,"state":"M","crd":{"x":8505962,"y":47403814,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=8049 Zürich, Hönggerbergring@X=8508775@Y=47409864@U=103@b=990125296@B=1@p=1583848107@","type":"A","name":"8049 Zürich, Hönggerbergring","icoX":3,"state":"M","crd":{"x":8508775,"y":47409864,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=8102 Oberengstringen, Hönggerstrasse@X=8456899@Y=47410395@U=103@b=990125853@B=1@p=1583848107@","type":"A","name":"8102 Oberengstringen, Hönggerstrasse","icoX":3,"state":"M","crd":{"x":8456899,"y":47410395,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=8103 Unterengstringen, Obere Hönggerstrasse@X=8451406@Y=47411995@U=103@b=990125905@B=1@p=1583848107@","type":"A","name":"8103 Unterengstringen, Obere Hönggerstrasse","icoX":3,"state":"M","crd":{"x":8451406,"y":47411995,"layerX":0,"crdSysX":0}}]}}}]}
|
36
test/e2e/fixtures/87a5e88ce416c86b46951bc3b0155a95.headers
vendored
Normal file
36
test/e2e/fixtures/87a5e88ce416c86b46951bc3b0155a95.headers
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Mon, 07 Dec 2020 15:14:46 GMT",
|
||||||
|
"server": "Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips",
|
||||||
|
"content-length": "1044",
|
||||||
|
"x-robots-tag": "noindex, nofollow",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8"
|
||||||
|
},
|
||||||
|
"url": "http://fahrplan.sbb.ch/bin/mgate.exe",
|
||||||
|
"time": 246,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"public-transport/hafas-cli3897068ef635ent:test"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"273"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
test/e2e/fixtures/a459d21671b0b3ceeafb3d387c7de2b4
vendored
Normal file
1
test/e2e/fixtures/a459d21671b0b3ceeafb3d387c7de2b4
vendored
Normal file
File diff suppressed because one or more lines are too long
36
test/e2e/fixtures/a459d21671b0b3ceeafb3d387c7de2b4.headers
vendored
Normal file
36
test/e2e/fixtures/a459d21671b0b3ceeafb3d387c7de2b4.headers
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Mon, 07 Dec 2020 15:14:40 GMT",
|
||||||
|
"server": "Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips",
|
||||||
|
"content-length": "6054",
|
||||||
|
"x-robots-tag": "noindex, nofollow",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8"
|
||||||
|
},
|
||||||
|
"url": "http://fahrplan.sbb.ch/bin/mgate.exe",
|
||||||
|
"time": 1254,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"public-transport/hafas3897068ef635-client:test"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"699"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
test/e2e/fixtures/bd5b179e027aec72a052cca878ea8b6c
vendored
Normal file
1
test/e2e/fixtures/bd5b179e027aec72a052cca878ea8b6c
vendored
Normal file
File diff suppressed because one or more lines are too long
36
test/e2e/fixtures/bd5b179e027aec72a052cca878ea8b6c.headers
vendored
Normal file
36
test/e2e/fixtures/bd5b179e027aec72a052cca878ea8b6c.headers
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Mon, 07 Dec 2020 15:14:45 GMT",
|
||||||
|
"server": "Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips",
|
||||||
|
"content-length": "2188",
|
||||||
|
"x-robots-tag": "noindex, nofollow",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8"
|
||||||
|
},
|
||||||
|
"url": "http://fahrplan.sbb.ch/bin/mgate.exe",
|
||||||
|
"time": 390,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"publi3897068ef635c-transport/hafas-client:test"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"742"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
test/e2e/fixtures/c2fd8a5db494f06babefc88ff1c636fb
vendored
Normal file
1
test/e2e/fixtures/c2fd8a5db494f06babefc88ff1c636fb
vendored
Normal file
File diff suppressed because one or more lines are too long
36
test/e2e/fixtures/c2fd8a5db494f06babefc88ff1c636fb.headers
vendored
Normal file
36
test/e2e/fixtures/c2fd8a5db494f06babefc88ff1c636fb.headers
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Mon, 07 Dec 2020 15:14:39 GMT",
|
||||||
|
"server": "Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips",
|
||||||
|
"content-length": "6370",
|
||||||
|
"x-robots-tag": "noindex, nofollow",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8"
|
||||||
|
},
|
||||||
|
"url": "http://fahrplan.sbb.ch/bin/mgate.exe",
|
||||||
|
"time": 422,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"public-tr3897068ef635ansport/hafas-client:test"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"611"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
test/e2e/fixtures/df11776ac2cc17ddceba0aafe63bfd2e
vendored
Normal file
1
test/e2e/fixtures/df11776ac2cc17ddceba0aafe63bfd2e
vendored
Normal file
File diff suppressed because one or more lines are too long
36
test/e2e/fixtures/df11776ac2cc17ddceba0aafe63bfd2e.headers
vendored
Normal file
36
test/e2e/fixtures/df11776ac2cc17ddceba0aafe63bfd2e.headers
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Mon, 07 Dec 2020 15:14:42 GMT",
|
||||||
|
"server": "Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips",
|
||||||
|
"content-length": "4114",
|
||||||
|
"x-robots-tag": "noindex, nofollow",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8"
|
||||||
|
},
|
||||||
|
"url": "http://fahrplan.sbb.ch/bin/mgate.exe",
|
||||||
|
"time": 568,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"public-transport/hafas-client:te3897068ef635st"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"617"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
test/e2e/fixtures/e40c8cc9d94ea986aba1d942e785dc01
vendored
Normal file
1
test/e2e/fixtures/e40c8cc9d94ea986aba1d942e785dc01
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"ver":"1.18","lang":"deu","id":"85w8nryx4ikngkcc","err":"OK","svcResL":[{"meth":"LocDetails","err":"OK","res":{"common":{"locL":[{"lid":"A=1@O=Lausanne, Closelet@X=6633077@Y=46515464@U=85@L=8592020@","type":"S","name":"Lausanne, Closelet","icoX":1,"extId":"8592020","state":"F","crd":{"x":6633077,"y":46515464,"layerX":0,"crdSysX":0},"pCls":64,"msgL":[{"type":"REM","remX":0,"tagL":["RES_LOC"],"sort":402653184},{"type":"REM","remX":2,"tagL":["RES_LOC"],"sort":684195840}]},{"lid":"A=1@O=Lausanne, gare@X=6629652@Y=46517604@U=85@L=8592050@","type":"S","name":"Lausanne, gare","icoX":1,"extId":"8592050","state":"F","crd":{"x":6629652,"y":46517604,"layerX":0,"crdSysX":0},"pCls":576,"msgL":[{"type":"REM","remX":0,"tagL":["RES_LOC"],"sort":402653184},{"type":"REM","remX":2,"tagL":["RES_LOC"],"sort":684195840},{"type":"REM","remX":4,"tagL":["RES_LOC"],"sort":684195840}]},{"lid":"A=1@O=Lausanne@X=6629095@Y=46516795@U=95@L=8501120@","type":"S","name":"Lausanne","icoX":1,"extId":"8501120","state":"F","crd":{"x":6629095,"y":46516777,"layerX":0,"crdSysX":0},"pCls":47,"msgL":[{"type":"REM","remX":0,"tagL":["RES_LOC"],"sort":402653184},{"type":"REM","remX":1,"tagL":["RES_LOC"],"sort":402653184},{"type":"REM","remX":2,"tagL":["RES_LOC"],"sort":684195840},{"type":"REM","remX":3,"tagL":["RES_LOC"],"sort":684195840}]}],"prodL":[],"polyL":[],"layerL":[{"id":"standard","name":"standard","index":0,"annoCnt":0}],"crdSysL":[{"id":"standard","index":0,"type":"WGS84"}],"opL":[],"remL":[{"type":"A","code":"KB","prio":0,"icoX":0,"txtN":"KB"},{"type":"A","code":"RA","prio":0,"icoX":0,"txtN":"RA"},{"type":"I","code":"LT","icoX":0,"txtN":"0"},{"type":"I","code":"t3","icoX":0,"txtN":"LS"},{"type":"I","code":"t3","icoX":0,"txtN":"LSGA"}],"icoL":[{"res":"INFO"},{"res":"STA"}]},"locL":[{"lid":"A=1@O=Lausanne@X=6629095@Y=46516795@U=85@L=8501120@","type":"S","name":"Lausanne","icoX":1,"extId":"8501120","state":"F","crd":{"x":6629095,"y":46516777,"layerX":0,"crdSysX":0},"pCls":367,"stopLocL":[0,1,2,0,1],"msgL":[{"type":"REM","remX":0,"tagL":["RES_LOC"],"sort":402653184},{"type":"REM","remX":1,"tagL":["RES_LOC"],"sort":402653184},{"type":"REM","remX":2,"tagL":["RES_LOC"],"sort":684195840},{"type":"REM","remX":3,"tagL":["RES_LOC"],"sort":684195840}]}]}}]}
|
36
test/e2e/fixtures/e40c8cc9d94ea986aba1d942e785dc01.headers
vendored
Normal file
36
test/e2e/fixtures/e40c8cc9d94ea986aba1d942e785dc01.headers
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Mon, 07 Dec 2020 15:14:46 GMT",
|
||||||
|
"server": "Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips",
|
||||||
|
"content-length": "580",
|
||||||
|
"x-robots-tag": "noindex, nofollow",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8"
|
||||||
|
},
|
||||||
|
"url": "http://fahrplan.sbb.ch/bin/mgate.exe",
|
||||||
|
"time": 554,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"public-transport/hafa3897068ef635s-client:test"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"214"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
test/e2e/fixtures/e93b7bb51152935c5e6a8e60cc06cb35
vendored
Normal file
1
test/e2e/fixtures/e93b7bb51152935c5e6a8e60cc06cb35
vendored
Normal file
File diff suppressed because one or more lines are too long
36
test/e2e/fixtures/e93b7bb51152935c5e6a8e60cc06cb35.headers
vendored
Normal file
36
test/e2e/fixtures/e93b7bb51152935c5e6a8e60cc06cb35.headers
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Mon, 07 Dec 2020 15:14:47 GMT",
|
||||||
|
"server": "Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips",
|
||||||
|
"content-length": "3916",
|
||||||
|
"x-robots-tag": "noindex, nofollow",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8"
|
||||||
|
},
|
||||||
|
"url": "http://fahrplan.sbb.ch/bin/mgate.exe",
|
||||||
|
"time": 493,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"public-transport/hafas-client:t3897068ef635est"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"444"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
test/e2e/fixtures/ec0703a942ba58780a3ca635c62d5a42
vendored
Normal file
1
test/e2e/fixtures/ec0703a942ba58780a3ca635c62d5a42
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"ver":"1.18","lang":"deu","id":"vkw8drzw4ikng64c","err":"OK","svcResL":[{"meth":"LocGeoReach","err":"OK","res":{"common":{"locL":[{"lid":"A=1@O=Oetwil am See, Felsengrund@X=8714925@Y=47281714@u=0@U=85@L=8503163@","type":"S","name":"Oetwil am See, Felsengrund","icoX":1,"extId":"8503163","state":"F","crd":{"x":8714925,"y":47281714,"layerX":0,"crdSysX":0},"pCls":64,"dist":0,"msgL":[{"type":"REM","remX":0,"tagL":["RES_LOC"],"sort":402653184}]},{"lid":"A=1@O=Oetwil am See, Gusch@X=8718485@Y=47277453@u=0@U=85@L=8503165@","type":"S","name":"Oetwil am See, Gusch","icoX":1,"extId":"8503165","state":"F","crd":{"x":8718485,"y":47277453,"layerX":0,"crdSysX":0},"pCls":64,"dist":0,"msgL":[{"type":"REM","remX":0,"tagL":["RES_LOC"],"sort":402653184}]},{"lid":"A=1@O=Oetwil am See, Langholz@X=8724759@Y=47265830@u=0@U=85@L=8503169@","type":"S","name":"Oetwil am See, Langholz","icoX":1,"extId":"8503169","state":"F","crd":{"x":8724759,"y":47265830,"layerX":0,"crdSysX":0},"pCls":64,"dist":0,"msgL":[{"type":"REM","remX":0,"tagL":["RES_LOC"],"sort":402653184}]},{"lid":"A=1@O=Esslingen, Oberesslingen@X=8713109@Y=47284213@u=0@U=85@L=8503174@","type":"S","name":"Esslingen, Oberesslingen","icoX":1,"extId":"8503174","state":"F","crd":{"x":8713109,"y":47284213,"layerX":0,"crdSysX":0},"pCls":64,"dist":0,"msgL":[{"type":"REM","remX":0,"tagL":["RES_LOC"],"sort":402653184}]},{"lid":"A=1@O=Oetwil am See, Zentrum@X=8721002@Y=47270091@u=0@U=85@L=8503184@","type":"S","name":"Oetwil am See, Zentrum","icoX":1,"extId":"8503184","state":"F","crd":{"x":8721002,"y":47270091,"layerX":0,"crdSysX":0},"pCls":64,"dist":0,"msgL":[{"type":"REM","remX":0,"tagL":["RES_LOC"],"sort":402653184}]},{"lid":"A=1@O=Esslingen, Bahnhof@X=8710089@Y=47287809@u=0@U=85@L=8503198@","type":"S","name":"Esslingen, Bahnhof","icoX":1,"extId":"8503198","state":"F","crd":{"x":8710089,"y":47287809,"layerX":0,"crdSysX":0},"pCls":64,"dist":0,"msgL":[{"type":"REM","remX":0,"tagL":["RES_LOC"],"sort":402653184}]},{"lid":"A=1@O=Oetwil am See, Zelgli@X=8719887@Y=47273776@u=0@U=85@L=8575962@","type":"S","name":"Oetwil am See, Zelgli","icoX":1,"extId":"8575962","state":"F","crd":{"x":8719887,"y":47273776,"layerX":0,"crdSysX":0},"pCls":64,"dist":0,"msgL":[{"type":"REM","remX":0,"tagL":["RES_LOC"],"sort":402653184}]},{"lid":"A=1@O=Oetwil am See, Buacher@X=8724741@Y=47268671@u=0@U=85@L=8575963@","type":"S","name":"Oetwil am See, Buacher","icoX":1,"extId":"8575963","state":"F","crd":{"x":8724741,"y":47268671,"layerX":0,"crdSysX":0},"pCls":64,"dist":0,"msgL":[{"type":"REM","remX":0,"tagL":["RES_LOC"],"sort":402653184}]},{"lid":"A=1@O=Oetwil am See, Bergstrasse@X=8718251@Y=47269866@u=0@U=85@L=8576025@","type":"S","name":"Oetwil am See, Bergstrasse","icoX":1,"extId":"8576025","state":"F","crd":{"x":8718251,"y":47269866,"layerX":0,"crdSysX":0},"pCls":64,"dist":0,"msgL":[{"type":"REM","remX":0,"tagL":["RES_LOC"],"sort":402653184}]}],"prodL":[],"polyL":[],"layerL":[{"id":"standard","name":"standard","index":0,"annoCnt":0}],"crdSysL":[{"id":"standard","index":0,"type":"WGS84"}],"opL":[],"remL":[{"type":"A","code":"KB","prio":0,"icoX":0,"txtN":"KB"}],"icoL":[{"res":"INFO"},{"res":"STA"}]},"posL":[{"locX":0,"dur":12},{"locX":1,"dur":11},{"locX":2,"dur":15},{"locX":3,"dur":12},{"locX":4,"dur":12},{"locX":5,"dur":15},{"locX":6,"dur":10},{"locX":7,"dur":14},{"locX":8,"dur":15},{"locX":0,"dur":14},{"locX":1,"dur":13},{"locX":3,"dur":14},{"locX":4,"dur":13},{"locX":6,"dur":10},{"locX":8,"dur":15}]}}]}
|
36
test/e2e/fixtures/ec0703a942ba58780a3ca635c62d5a42.headers
vendored
Normal file
36
test/e2e/fixtures/ec0703a942ba58780a3ca635c62d5a42.headers
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Mon, 07 Dec 2020 15:14:47 GMT",
|
||||||
|
"server": "Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips",
|
||||||
|
"content-length": "810",
|
||||||
|
"x-robots-tag": "noindex, nofollow",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8"
|
||||||
|
},
|
||||||
|
"url": "http://fahrplan.sbb.ch/bin/mgate.exe",
|
||||||
|
"time": 2543,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"public-tra3897068ef635nsport/hafas-client:test"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"421"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
test/e2e/fixtures/f127b7d782bb1939cc6b47e4514b008a
vendored
Normal file
1
test/e2e/fixtures/f127b7d782bb1939cc6b47e4514b008a
vendored
Normal file
File diff suppressed because one or more lines are too long
36
test/e2e/fixtures/f127b7d782bb1939cc6b47e4514b008a.headers
vendored
Normal file
36
test/e2e/fixtures/f127b7d782bb1939cc6b47e4514b008a.headers
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Mon, 07 Dec 2020 15:14:44 GMT",
|
||||||
|
"server": "Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips",
|
||||||
|
"content-length": "3994",
|
||||||
|
"x-robots-tag": "noindex, nofollow",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8"
|
||||||
|
},
|
||||||
|
"url": "http://fahrplan.sbb.ch/bin/mgate.exe",
|
||||||
|
"time": 592,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"public-transport/hafas-client:t3897068ef635est"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"726"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue