Test cases
Download all cases (zip)Real flows captured on our test environment. Each case sends only the requests its flow needs. The trip cases (domestic and international, one way and return) run the whole journey: search, reprice, ancillaries, seat map, a booking on hold, its details and the release of the hold. Option and pricing cases stop after reprice. Booking cases book either on hold (then confirmed or released) or directly, paid at once without a hold. Each cell is the number that step returned; the arrow opens a short list of what was in the reply, and the case name opens every request and reply.
- not in this case: this case does not send that request (for example, a pricing case never books).
- not needed: booked directly: the booking was paid at once without a hold, so there is no hold to confirm or release.
- Every case uses a token; the Generate token column shows only the key and token failure cases.
| Case | Generate token | Search | Reprice | Ancillaries | Seat map | Book | Confirm the hold | Release the hold | Booking details |
|---|---|---|---|---|---|---|---|---|---|
| Domestic, one way, 1 adult DEL-BOM · one way · booked on hold | not in this case | ||||||||
| Domestic, one way, 1 adult, 1 child, 1 infant DEL-BOM · one way · booked on hold | not in this case | ||||||||
| Domestic, return, 1 adult DEL-BOM · return · booked on hold | not in this case | ||||||||
| Domestic, return, 1 adult, 1 child, 1 infant DEL-BOM · return · booked on hold | not in this case | ||||||||
| International, one way, 1 adult DEL-DXB · one way | not in this case | not in this case | not in this case | not in this case | |||||
| International, one way, 1 adult, 1 child, 1 infant DEL-DXB · one way | not in this case | not in this case | not in this case | not in this case | |||||
| International, return, 1 adult DEL-DXB · return | not in this case | not in this case | not in this case | not in this case | |||||
| International, return, 1 adult, 1 child, 1 infant DEL-DXB · return | not in this case | not in this case | not in this case | not in this case | |||||
| Price changed at reprice DEL-BOM · one way | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | |||
| Fare attributes per flight (detail: segment) DEL-BOM · one way | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | |||
| Search without fare rules (include_fare_rules: false) DEL-BOM · one way | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | |||
| One airline only (preferred_airlines) DEL-BOM · one way | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | |||
| Business cabin (cabin_class: 3) DEL-BOM · one way | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | |||
| Three flights in one journey DEL-YYZ · one way | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | |||
| Bags and meals on a low-cost airline DEL-BOM · one way | not in this case | not in this case | not in this case | not in this case | not in this case | ||||
| Seat map with paid and free seats DEL-BOM · one way | not in this case | not in this case | not in this case | not in this case | not in this case | ||||
| Book on hold, plain DEL-BOM · one way · booked on hold | not in this case | not in this case | not in this case | not in this case | |||||
| Book on hold with GST details DEL-BOM · one way · booked on hold | not in this case | not in this case | not in this case | not in this case | |||||
| Book on hold with a seat, a meal and a bag, one flight DEL-BOM · one way · booked on hold | not in this case | not in this case | |||||||
| Book on hold with ancillaries on a two-flight journey DEL-BOM · one way · booked on hold | not in this case | not in this case | |||||||
| Direct booking (paid, no hold), plain DEL-BOM · one way · booked directly, no hold | not in this case | not in this case | not needed: booked directly | not needed: booked directly | |||||
| Direct booking (paid, no hold) with GST details DEL-BOM · one way · booked directly, no hold | not in this case | not in this case | not needed: booked directly | not needed: booked directly | |||||
| Direct booking (paid, no hold) with a seat, a meal and a bag, one flight DEL-BOM · one way · booked directly, no hold | not needed: booked directly | not needed: booked directly | |||||||
| Direct booking (paid, no hold) with ancillaries on a two-flight journey DEL-BOM · one way · booked directly, no hold | not needed: booked directly | not needed: booked directly | |||||||
| Hold, then confirm (pay) the hold DEL-BOM · one way · booked on hold | not in this case | not in this case | not in this case | ||||||
| Hold, then release the hold DEL-BOM · one way · booked on hold | not in this case | not in this case | not in this case | ||||||
| Wrong API key | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | |
| Revoked API key | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | |
| A login token instead of an API token DEL-BOM · one way | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | ||
| Reprice after the search expired DEL-BOM · one way | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | |||
| Book after the itinerary expired | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | not in this case | ||
| Total: 31 of 31 cases | 0 · 0 ok | 6,733 · 27 ok | 28 · 26 ok | 361 · 13 ok | 2,648 · 13 ok | 20 · 14 ok | 1 · 1 ok | 2 · 2 ok | 20 · 14 ok |