openTdataCH / ojp-demo-app-src

OJP Demo GUI
https://opentdatach.github.io/ojp-demo-app/
MIT License
13 stars 0 forks source link

Add new stage: TEST LA #8

Closed vasile closed 3 years ago

vasile commented 3 years ago

URL: https://odpch-test.cloud.tyk.io/la_test_active_server/

Authorization: Bearer 57c5dadd5e6307000100005e0e0520340d05419b8c1f13c17a20a8ab

vasile commented 3 years ago

Rolled it out on Github image

Currently the responses are broken (502 Gateway error) we're assuming it will be fixed soon (same request works on the other stages).

vasile commented 3 years ago

The 502 error is now handled and shown in #16 image

vasile commented 3 years ago

@AndreasAtSBB please provide me a working url (via permalink) so I can test this

AndreasAtSBB commented 3 years ago

I use this Url: https://odpch-test.cloud.tyk.io/la_test_active_server/

I didn't manage to get requests with GeoPosition to work, but in general it works. e.g.: <?xml version="1.0" encoding="UTF-8"?>

${=def now = new Date();now.format("yyyy-MM-dd'T'HH:mm:ss.SSSZ")} IRMA ${=def now = new Date();now.format("yyyy-MM-dd'T'HH:mm:ss.SSSZ")} 4711 Zuerich HB TripRequest do only work with proper StoppalceRef, which is limited matched with the pooled test server.
AndreasAtSBB commented 3 years ago

A, sorry for the scripted time stamps. They work in SoapUI, otherwise you need to replace them with a proper time.

AndreasAtSBB commented 3 years ago

To make a full triprequest: Fetch first the origin and destination ID: Origin: <?xml version="1.0" encoding="UTF-8"?>

2021-07-14T14:38:22.976Z IRMA 2021-07-14T14:38:22.976Z 4711 Zuerich HB Destination: 2021-07-14T14:38:22.976Z IRMA 2021-07-14T14:38:22.976Z 4711 Feldkirch Make the Trip Request: 2021-07-14T14:38:22.976Z OJP_SDK_v1.0 2021-07-14T14:38:22.976Z OJP:STOP:SBB:8503000|Zürich HB@MRCV:950692:5995977 x 2021-07-14T14:38:22.976Z OJP:STOP:OBB:8101236|Feldkirch@MRCV:1069124:6018503 x 2 true true true true