mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 23:29:35 +02:00
integration tests: add new RMV fixtures ✅
This commit is contained in:
parent
9848dfa762
commit
43bd9cf65b
10 changed files with 180 additions and 0 deletions
1
test/e2e/fixtures/09eb65187e8bfff3c65e7bad7334629d
vendored
Normal file
1
test/e2e/fixtures/09eb65187e8bfff3c65e7bad7334629d
vendored
Normal file
File diff suppressed because one or more lines are too long
35
test/e2e/fixtures/09eb65187e8bfff3c65e7bad7334629d.headers
vendored
Normal file
35
test/e2e/fixtures/09eb65187e8bfff3c65e7bad7334629d.headers
vendored
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Wed, 09 Sep 2020 19:04:13 GMT",
|
||||||
|
"content-length": "3740",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8",
|
||||||
|
"strict-transport-security": "max-age=63072000; includeSubDomains"
|
||||||
|
},
|
||||||
|
"url": "https://www.rmv.de/auskunft/bin/jp/mgate.exe",
|
||||||
|
"time": 522,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"public-transport/hafas-client:41808f2ccc46test"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"271"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
test/e2e/fixtures/344765467a760b742835f414d99ab6c0
vendored
Normal file
1
test/e2e/fixtures/344765467a760b742835f414d99ab6c0
vendored
Normal file
File diff suppressed because one or more lines are too long
35
test/e2e/fixtures/344765467a760b742835f414d99ab6c0.headers
vendored
Normal file
35
test/e2e/fixtures/344765467a760b742835f414d99ab6c0.headers
vendored
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Wed, 09 Sep 2020 19:04:12 GMT",
|
||||||
|
"content-length": "2756",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8",
|
||||||
|
"strict-transport-security": "max-age=63072000; includeSubDomains"
|
||||||
|
},
|
||||||
|
"url": "https://www.rmv.de/auskunft/bin/jp/mgate.exe",
|
||||||
|
"time": 1350,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"public-transport/hafas-client:41808f2ccc46test"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"628"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
test/e2e/fixtures/3cc99817fa88cb8b91c5e08cf0cb2e6a
vendored
Normal file
1
test/e2e/fixtures/3cc99817fa88cb8b91c5e08cf0cb2e6a
vendored
Normal file
File diff suppressed because one or more lines are too long
35
test/e2e/fixtures/3cc99817fa88cb8b91c5e08cf0cb2e6a.headers
vendored
Normal file
35
test/e2e/fixtures/3cc99817fa88cb8b91c5e08cf0cb2e6a.headers
vendored
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Wed, 09 Sep 2020 19:04:10 GMT",
|
||||||
|
"content-length": "5358",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8",
|
||||||
|
"strict-transport-security": "max-age=63072000; includeSubDomains"
|
||||||
|
},
|
||||||
|
"url": "https://www.rmv.de/auskunft/bin/jp/mgate.exe",
|
||||||
|
"time": 1835,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"public-transport/hafas-client41808f2ccc46:test"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"627"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
test/e2e/fixtures/8b90cc8768e62b0cf376c9ee73c38b77
vendored
Normal file
1
test/e2e/fixtures/8b90cc8768e62b0cf376c9ee73c38b77
vendored
Normal file
File diff suppressed because one or more lines are too long
35
test/e2e/fixtures/8b90cc8768e62b0cf376c9ee73c38b77.headers
vendored
Normal file
35
test/e2e/fixtures/8b90cc8768e62b0cf376c9ee73c38b77.headers
vendored
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Wed, 09 Sep 2020 19:04:15 GMT",
|
||||||
|
"content-length": "3301",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8",
|
||||||
|
"strict-transport-security": "max-age=63072000; includeSubDomains"
|
||||||
|
},
|
||||||
|
"url": "https://www.rmv.de/auskunft/bin/jp/mgate.exe",
|
||||||
|
"time": 498,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"publ41808f2ccc46ic-transport/hafas-client:test"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"455"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1
test/e2e/fixtures/abd44d2f654acd241299f31db17bdb1a
vendored
Normal file
1
test/e2e/fixtures/abd44d2f654acd241299f31db17bdb1a
vendored
Normal file
File diff suppressed because one or more lines are too long
35
test/e2e/fixtures/abd44d2f654acd241299f31db17bdb1a.headers
vendored
Normal file
35
test/e2e/fixtures/abd44d2f654acd241299f31db17bdb1a.headers
vendored
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
"statusCode": 200,
|
||||||
|
"headers": {
|
||||||
|
"date": "Wed, 09 Sep 2020 19:04:14 GMT",
|
||||||
|
"content-length": "4781",
|
||||||
|
"connection": "close",
|
||||||
|
"content-type": "application/json; charset=utf-8",
|
||||||
|
"strict-transport-security": "max-age=63072000; includeSubDomains"
|
||||||
|
},
|
||||||
|
"url": "https://www.rmv.de/auskunft/bin/jp/mgate.exe",
|
||||||
|
"time": 662,
|
||||||
|
"request": {
|
||||||
|
"method": "POST",
|
||||||
|
"headers": {
|
||||||
|
"Content-Type": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"Accept-Encoding": [
|
||||||
|
"gzip, br, deflate"
|
||||||
|
],
|
||||||
|
"Accept": [
|
||||||
|
"application/json"
|
||||||
|
],
|
||||||
|
"user-agent": [
|
||||||
|
"public-transport/hafas-c41808f2ccc46lient:test"
|
||||||
|
],
|
||||||
|
"Content-Length": [
|
||||||
|
"395"
|
||||||
|
],
|
||||||
|
"Connection": [
|
||||||
|
"close"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue