mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 15:19:35 +02:00
check in ZVV integration test fixtures ✅
This commit is contained in:
parent
3f4c05d821
commit
097557c833
16 changed files with 304 additions and 0 deletions
1
test/e2e/fixtures/0a41d2faa18581cc3f198caf24702133
vendored
Normal file
1
test/e2e/fixtures/0a41d2faa18581cc3f198caf24702133
vendored
Normal file
File diff suppressed because one or more lines are too long
37
test/e2e/fixtures/0a41d2faa18581cc3f198caf24702133.headers
vendored
Normal file
37
test/e2e/fixtures/0a41d2faa18581cc3f198caf24702133.headers
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"statusCode": 200,
|
||||
"headers": {
|
||||
"date": "Mon, 20 Jul 2020 16:21:45 GMT",
|
||||
"server": "Apache",
|
||||
"content-length": "2504",
|
||||
"cache-control": "max-age=86400",
|
||||
"expires": "Tue, 21 Jul 2020 16:21:45 GMT",
|
||||
"connection": "close",
|
||||
"content-type": "application/json; charset=utf-8"
|
||||
},
|
||||
"url": "https://online.fahrplan.zvv.ch/bin/mgate.exe?mic=12420acd33bfd8bfe99bb8d9dc1e5a70&mac=240d583dc6a1c61061ddab65851e066e",
|
||||
"time": 604,
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Content-Type": [
|
||||
"application/json"
|
||||
],
|
||||
"Accept-Encoding": [
|
||||
"gzip, br, deflate"
|
||||
],
|
||||
"Accept": [
|
||||
"application/json"
|
||||
],
|
||||
"user-agent": [
|
||||
"pub3d83216c2327lic-transport/hafas-client:test"
|
||||
],
|
||||
"Content-Length": [
|
||||
"760"
|
||||
],
|
||||
"Connection": [
|
||||
"close"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
1
test/e2e/fixtures/159574dc1aafc5f34d279a5147fa1e10
vendored
Normal file
1
test/e2e/fixtures/159574dc1aafc5f34d279a5147fa1e10
vendored
Normal file
File diff suppressed because one or more lines are too long
37
test/e2e/fixtures/159574dc1aafc5f34d279a5147fa1e10.headers
vendored
Normal file
37
test/e2e/fixtures/159574dc1aafc5f34d279a5147fa1e10.headers
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"statusCode": 200,
|
||||
"headers": {
|
||||
"date": "Mon, 20 Jul 2020 16:21:46 GMT",
|
||||
"server": "Apache",
|
||||
"content-length": "3144",
|
||||
"cache-control": "max-age=86400",
|
||||
"expires": "Tue, 21 Jul 2020 16:21:46 GMT",
|
||||
"connection": "close",
|
||||
"content-type": "application/json; charset=utf-8"
|
||||
},
|
||||
"url": "https://online.fahrplan.zvv.ch/bin/mgate.exe?mic=59e9a9e574d256f606fd877392cf503d&mac=391fcd60b4e5526473d42e57671689a9",
|
||||
"time": 279,
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Content-Type": [
|
||||
"application/json"
|
||||
],
|
||||
"Accept-Encoding": [
|
||||
"gzip, br, deflate"
|
||||
],
|
||||
"Accept": [
|
||||
"application/json"
|
||||
],
|
||||
"user-agent": [
|
||||
"public-transpo3d83216c2327rt/hafas-client:test"
|
||||
],
|
||||
"Content-Length": [
|
||||
"302"
|
||||
],
|
||||
"Connection": [
|
||||
"close"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
1
test/e2e/fixtures/459b7fc3c7dfa1fcafa613110d4f4c06
vendored
Normal file
1
test/e2e/fixtures/459b7fc3c7dfa1fcafa613110d4f4c06
vendored
Normal file
File diff suppressed because one or more lines are too long
37
test/e2e/fixtures/459b7fc3c7dfa1fcafa613110d4f4c06.headers
vendored
Normal file
37
test/e2e/fixtures/459b7fc3c7dfa1fcafa613110d4f4c06.headers
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"statusCode": 200,
|
||||
"headers": {
|
||||
"date": "Mon, 20 Jul 2020 16:21:46 GMT",
|
||||
"server": "Apache",
|
||||
"content-length": "2155",
|
||||
"cache-control": "max-age=86400",
|
||||
"expires": "Tue, 21 Jul 2020 16:21:46 GMT",
|
||||
"connection": "close",
|
||||
"content-type": "application/json; charset=utf-8"
|
||||
},
|
||||
"url": "https://online.fahrplan.zvv.ch/bin/mgate.exe?mic=312d2e44ec9fa32508dd4d3e887a72de&mac=085f638440e74abff054d73def8df059",
|
||||
"time": 598,
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Content-Type": [
|
||||
"application/json"
|
||||
],
|
||||
"Accept-Encoding": [
|
||||
"gzip, br, deflate"
|
||||
],
|
||||
"Accept": [
|
||||
"application/json"
|
||||
],
|
||||
"user-agent": [
|
||||
"public-transport/hafas-clien3d83216c2327t:test"
|
||||
],
|
||||
"Content-Length": [
|
||||
"658"
|
||||
],
|
||||
"Connection": [
|
||||
"close"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
1
test/e2e/fixtures/54bc778fd443047fbbb4d371816b1576
vendored
Normal file
1
test/e2e/fixtures/54bc778fd443047fbbb4d371816b1576
vendored
Normal file
File diff suppressed because one or more lines are too long
37
test/e2e/fixtures/54bc778fd443047fbbb4d371816b1576.headers
vendored
Normal file
37
test/e2e/fixtures/54bc778fd443047fbbb4d371816b1576.headers
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"statusCode": 200,
|
||||
"headers": {
|
||||
"date": "Mon, 20 Jul 2020 16:21:47 GMT",
|
||||
"server": "Apache",
|
||||
"content-length": "3650",
|
||||
"cache-control": "max-age=86400",
|
||||
"expires": "Tue, 21 Jul 2020 16:21:47 GMT",
|
||||
"connection": "close",
|
||||
"content-type": "application/json; charset=utf-8"
|
||||
},
|
||||
"url": "https://online.fahrplan.zvv.ch/bin/mgate.exe?mic=360549cc4f27a778cd8e5b48474af4ef&mac=c85fc9ab328e83a066d1c30e82e45ed0",
|
||||
"time": 254,
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Content-Type": [
|
||||
"application/json"
|
||||
],
|
||||
"Accept-Encoding": [
|
||||
"gzip, br, deflate"
|
||||
],
|
||||
"Accept": [
|
||||
"application/json"
|
||||
],
|
||||
"user-agent": [
|
||||
"public-transport/hafas-clien3d83216c2327t:test"
|
||||
],
|
||||
"Content-Length": [
|
||||
"485"
|
||||
],
|
||||
"Connection": [
|
||||
"close"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
1
test/e2e/fixtures/8553b9dfacc95b45e39fb751d1a2f2df
vendored
Normal file
1
test/e2e/fixtures/8553b9dfacc95b45e39fb751d1a2f2df
vendored
Normal file
File diff suppressed because one or more lines are too long
37
test/e2e/fixtures/8553b9dfacc95b45e39fb751d1a2f2df.headers
vendored
Normal file
37
test/e2e/fixtures/8553b9dfacc95b45e39fb751d1a2f2df.headers
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"statusCode": 200,
|
||||
"headers": {
|
||||
"date": "Mon, 20 Jul 2020 16:21:43 GMT",
|
||||
"server": "Apache",
|
||||
"content-length": "3019",
|
||||
"cache-control": "max-age=86400",
|
||||
"expires": "Tue, 21 Jul 2020 16:21:43 GMT",
|
||||
"connection": "close",
|
||||
"content-type": "application/json; charset=utf-8"
|
||||
},
|
||||
"url": "https://online.fahrplan.zvv.ch/bin/mgate.exe?mic=34bb52fbea3b31eb6730312a6f1693c4&mac=7b87d939744e6e692a659bab288c533a",
|
||||
"time": 585,
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Content-Type": [
|
||||
"application/json"
|
||||
],
|
||||
"Accept-Encoding": [
|
||||
"gzip, br, deflate"
|
||||
],
|
||||
"Accept": [
|
||||
"application/json"
|
||||
],
|
||||
"user-agent": [
|
||||
"public-transport/hafas-c3d83216c2327lient:test"
|
||||
],
|
||||
"Content-Length": [
|
||||
"657"
|
||||
],
|
||||
"Connection": [
|
||||
"close"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
1
test/e2e/fixtures/958ba73e7cd392c4099c13f2eb3b19a3
vendored
Normal file
1
test/e2e/fixtures/958ba73e7cd392c4099c13f2eb3b19a3
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"ver":"1.24","ext":"ZVV.2","lang":"eng","id":"5k46xv5m6i2p9m88","err":"OK","svcResL":[{"meth":"LocMatch","err":"OK","res":{"common":{"locL":[],"prodL":[{"name":"","icoX":0,"cls":512},{"name":"","icoX":1,"cls":64}],"polyL":[],"layerL":[{"id":"standard","name":"standard","index":0,"annoCnt":0}],"crdSysL":[{"id":"standard","index":0,"type":"WGS84"}],"opL":[],"remL":[],"icoL":[{"res":"prod_tram","fg":{"r":0,"g":0,"b":0},"bg":{"r":255,"g":255,"b":255},"brd":{"r":0,"g":0,"b":0}},{"res":"prod_bus","fg":{"r":0,"g":0,"b":0},"bg":{"r":255,"g":255,"b":255},"brd":{"r":0,"g":0,"b":0}},{"res":"ADR"}]},"match":{"field":"S","state":"L","locL":[{"lid":"A=1@O=Zürich, Rennweg@X=8538269@Y=47373098@U=85@L=008591316@B=1@p=1594886543@","type":"S","name":"Zürich, Rennweg","icoX":0,"extId":"008591316","state":"F","crd":{"x":8538260,"y":47372901,"layerX":0,"crdSysX":0},"pCls":512,"pRefL":[0],"wt":4848},{"lid":"A=1@O=Mettmenstetten, Rennweg@X=8461483@Y=47245793@U=85@L=008583743@B=1@p=1594886543@","type":"S","name":"Mettmenstetten, Rennweg","icoX":1,"extId":"008583743","state":"F","crd":{"x":8461438,"y":47245829,"layerX":0,"crdSysX":0},"pCls":64,"pRefL":[1],"wt":343},{"lid":"A=2@O=Basel, Rennweg@X=7608659@Y=47550419@U=103@b=990117949@B=1@p=1557473051@","type":"A","name":"Basel, Rennweg","icoX":2,"state":"M","crd":{"x":7608659,"y":47550419,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Hirzel, Rennweg@X=8620547@Y=47215023@U=103@b=990116601@B=1@p=1557473051@","type":"A","name":"Hirzel, Rennweg","icoX":2,"state":"M","crd":{"x":8620547,"y":47215023,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Illnau, Rennweg@X=8722908@Y=47406233@U=103@b=990158820@B=1@p=1557473051@","type":"A","name":"Illnau, Rennweg","icoX":2,"state":"M","crd":{"x":8722908,"y":47406233,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Zürich, Rennweg@X=8539617@Y=47373044@U=103@b=990107109@B=1@p=1557473051@","type":"A","name":"Zürich, Rennweg","icoX":2,"state":"M","crd":{"x":8539617,"y":47373044,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Rodersdorf, Rennweg@X=7450547@Y=47478533@U=103@b=990021421@B=1@p=1557473051@","type":"A","name":"Rodersdorf, Rennweg","icoX":2,"state":"M","crd":{"x":7450547,"y":47478533,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Rüschlikon, Rennweg@X=8554710@Y=47305949@U=103@b=990069288@B=1@p=1557473051@","type":"A","name":"Rüschlikon, Rennweg","icoX":2,"state":"M","crd":{"x":8554710,"y":47305949,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Lostorf, Rennweg@X=7949997@Y=47380541@U=103@b=990010335@B=1@p=1557473051@","type":"A","name":"Lostorf, Rennweg","icoX":2,"state":"M","crd":{"x":7949997,"y":47380541,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Staufen, Rennweg@X=8169981@Y=47384658@U=103@b=990010774@B=1@p=1557473051@","type":"A","name":"Staufen, Rennweg","icoX":2,"state":"M","crd":{"x":8169981,"y":47384658,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Winznau, Rennweg@X=7930778@Y=47368999@U=103@b=990162537@B=1@p=1557473051@","type":"A","name":"Winznau, Rennweg","icoX":2,"state":"M","crd":{"x":7930778,"y":47368999,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Amriswil, Rennweg@X=9302235@Y=47549350@U=103@b=990018191@B=1@p=1557473051@","type":"A","name":"Amriswil, Rennweg","icoX":2,"state":"M","crd":{"x":9302235,"y":47549350,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Dintikon, Rennweg@X=8229301@Y=47372289@U=103@b=990024320@B=1@p=1557473051@","type":"A","name":"Dintikon, Rennweg","icoX":2,"state":"M","crd":{"x":8229301,"y":47372289,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Gündisau, Rennweg@X=8807954@Y=47399679@U=103@b=990155546@B=1@p=1557473051@","type":"A","name":"Gündisau, Rennweg","icoX":2,"state":"M","crd":{"x":8807954,"y":47399679,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Lenzburg, Rennweg@X=8171896@Y=47385027@U=103@b=990037062@B=1@p=1557473051@","type":"A","name":"Lenzburg, Rennweg","icoX":2,"state":"M","crd":{"x":8171896,"y":47385027,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Wettingen, Rennweg@X=8317018@Y=47460716@U=103@b=990116339@B=1@p=1557473051@","type":"A","name":"Wettingen, Rennweg","icoX":2,"state":"M","crd":{"x":8317018,"y":47460716,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Fehraltorf, Rennweg@X=8750873@Y=47386537@U=103@b=990125008@B=1@p=1557473051@","type":"A","name":"Fehraltorf, Rennweg","icoX":2,"state":"M","crd":{"x":8750873,"y":47386537,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Herrliberg, Rennweg@X=8616691@Y=47285409@U=103@b=990057732@B=1@p=1557473051@","type":"A","name":"Herrliberg, Rennweg","icoX":2,"state":"M","crd":{"x":8616691,"y":47285409,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Winterthur, Rennweg@X=8716238@Y=47501986@U=103@b=990087792@B=1@p=1557473051@","type":"A","name":"Winterthur, Rennweg","icoX":2,"state":"M","crd":{"x":8716238,"y":47501986,"layerX":0,"crdSysX":0}},{"lid":"A=2@O=Biel/Bienne, Rennweg@X=7268660@Y=47144736@U=103@b=990005511@B=1@p=1557473051@","type":"A","name":"Biel/Bienne, Rennweg","icoX":2,"state":"M","crd":{"x":7268660,"y":47144736,"layerX":0,"crdSysX":0}}]}}}]}
|
37
test/e2e/fixtures/958ba73e7cd392c4099c13f2eb3b19a3.headers
vendored
Normal file
37
test/e2e/fixtures/958ba73e7cd392c4099c13f2eb3b19a3.headers
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"statusCode": 200,
|
||||
"headers": {
|
||||
"date": "Mon, 20 Jul 2020 16:21:47 GMT",
|
||||
"server": "Apache",
|
||||
"content-length": "1223",
|
||||
"cache-control": "max-age=86400",
|
||||
"expires": "Tue, 21 Jul 2020 16:21:47 GMT",
|
||||
"connection": "close",
|
||||
"content-type": "application/json; charset=utf-8"
|
||||
},
|
||||
"url": "https://online.fahrplan.zvv.ch/bin/mgate.exe?mic=b7bcffbe29bef48f33d6daa41688c5af&mac=07b484a52d31d7906b61d005b5e47b62",
|
||||
"time": 224,
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Content-Type": [
|
||||
"application/json"
|
||||
],
|
||||
"Accept-Encoding": [
|
||||
"gzip, br, deflate"
|
||||
],
|
||||
"Accept": [
|
||||
"application/json"
|
||||
],
|
||||
"user-agent": [
|
||||
"public-tran3d83216c2327sport/hafas-client:test"
|
||||
],
|
||||
"Content-Length": [
|
||||
"305"
|
||||
],
|
||||
"Connection": [
|
||||
"close"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
1
test/e2e/fixtures/9863214a8b0fa6e1a9e715f5b7da3952
vendored
Normal file
1
test/e2e/fixtures/9863214a8b0fa6e1a9e715f5b7da3952
vendored
Normal file
File diff suppressed because one or more lines are too long
37
test/e2e/fixtures/9863214a8b0fa6e1a9e715f5b7da3952.headers
vendored
Normal file
37
test/e2e/fixtures/9863214a8b0fa6e1a9e715f5b7da3952.headers
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"statusCode": 200,
|
||||
"headers": {
|
||||
"date": "Mon, 20 Jul 2020 16:21:44 GMT",
|
||||
"server": "Apache",
|
||||
"content-length": "2489",
|
||||
"cache-control": "max-age=86400",
|
||||
"expires": "Tue, 21 Jul 2020 16:21:44 GMT",
|
||||
"connection": "close",
|
||||
"content-type": "application/json; charset=utf-8"
|
||||
},
|
||||
"url": "https://online.fahrplan.zvv.ch/bin/mgate.exe?mic=0b7fa400000709f201a07204c389c777&mac=afa2834b75e6afe0b106c544627d6d72",
|
||||
"time": 756,
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Content-Type": [
|
||||
"application/json"
|
||||
],
|
||||
"Accept-Encoding": [
|
||||
"gzip, br, deflate"
|
||||
],
|
||||
"Accept": [
|
||||
"application/json"
|
||||
],
|
||||
"user-agent": [
|
||||
"pub3d83216c2327lic-transport/hafas-client:test"
|
||||
],
|
||||
"Content-Length": [
|
||||
"658"
|
||||
],
|
||||
"Connection": [
|
||||
"close"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
1
test/e2e/fixtures/bc0cfa1c578840c0856739a35cd3b2f4
vendored
Normal file
1
test/e2e/fixtures/bc0cfa1c578840c0856739a35cd3b2f4
vendored
Normal file
File diff suppressed because one or more lines are too long
37
test/e2e/fixtures/bc0cfa1c578840c0856739a35cd3b2f4.headers
vendored
Normal file
37
test/e2e/fixtures/bc0cfa1c578840c0856739a35cd3b2f4.headers
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"statusCode": 200,
|
||||
"headers": {
|
||||
"date": "Mon, 20 Jul 2020 16:21:44 GMT",
|
||||
"server": "Apache",
|
||||
"content-length": "2448",
|
||||
"cache-control": "max-age=86400",
|
||||
"expires": "Tue, 21 Jul 2020 16:21:44 GMT",
|
||||
"connection": "close",
|
||||
"content-type": "application/json; charset=utf-8"
|
||||
},
|
||||
"url": "https://online.fahrplan.zvv.ch/bin/mgate.exe?mic=c4c01530c1fb7f98dd5fe73ac2f1ac28&mac=1afd439c3acce8dbb101e0a50d61fd65",
|
||||
"time": 602,
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"Content-Type": [
|
||||
"application/json"
|
||||
],
|
||||
"Accept-Encoding": [
|
||||
"gzip, br, deflate"
|
||||
],
|
||||
"Accept": [
|
||||
"application/json"
|
||||
],
|
||||
"user-agent": [
|
||||
"public-transport/hafas-client:tes3d83216c2327t"
|
||||
],
|
||||
"Content-Length": [
|
||||
"760"
|
||||
],
|
||||
"Connection": [
|
||||
"close"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue