Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OTST_TI_EXPIRED_BOOKING #38

Open
LucFen opened this issue Oct 1, 2024 · 1 comment
Open

OTST_TI_EXPIRED_BOOKING #38

LucFen opened this issue Oct 1, 2024 · 1 comment
Labels

Comments

@LucFen
Copy link
Collaborator

LucFen commented Oct 1, 2024

Description
This scenario includes interaction with the following APIs:
• Post /offers, the request is related to one passenger and is based on a tripSearchCriteria, containing
o Origin
o Destination
o departure time
• Post /bookings, the request is based on one of the offerId contained in the response of the Post /offers response.
• Wait more than 10 minutes
• Post /bookings/{bookingId}/fulfillments, the request contains the bookingId produced by the previous interaction.

Scenario

  1. Generate and send a Post /offers request related to one passenger with a tripSearchCriteria, containing
    o Origin
    o destination
    o departure time
  2. Generate and send a Post /bookings request using one offer in the Post /offers response, defined by the offerId contained in the response of the previous interaction
  3. Wait more than 10 minutes
  4. Generate and send a Post /bookings/{bookingId}/fulfillments request using the booking.id contained in the response of the Post /bookings obtaining an error (Booking expired)
  5. Generate and send a GET /bookings/{bookingId} in order to verify the status of admissions and reservation
@jspetrak
Copy link
Collaborator

jspetrak commented Nov 5, 2024

Ad steps 3 - must be custom waiting time based on Booking.confirmationTimeLimit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Open
Development

No branches or pull requests

2 participants