Amine Admane
Back to experience

Disneyland Paris

From 20 tests a day to 1,000 in an hour.

Quality Assurance Data Consultant · 12/2021 – 02/2023

20 → 1,000API tests: per day before, per hour after
1 yearat the heart of the data migration to AWS

The challenge

Migrate booking data to AWS, and make sure a website visited from all over the world responds correctly, even under very heavy traffic.

Three areas

Data quality on AWS

Securing the integrity of the migrated data estate: compliance of tables and datasets on AWS.

Front-end testing

The public booking site for hotels and merchandise: a flawless journey despite massive traffic.

Back-end API testing

Validating booking flows at API level, first manually in Postman, then automated.

The prediction matrix

On the back end, data scientists used machine learning to generate a CSV predicting the API response for every booking combination.

The inputsDates, park, hotel, room, number of guests, customer country and language
Request sent
The APIThe actual response
Compared with the matrix
The outputsRoom availability, products to display

The breakthrough

In Postman, a test meant sending the inputs in a request, then checking the outputs were right for a given scenario. Impossible to scale.

  1. Each row of the CSV holds the inputs and expected outputs of one scenario.
  2. My Python script sends the inputs to the API.
  3. It compares the API response with the outputs in the matrix.
  4. It loops through the whole file, scenario after scenario.

I proposed and built this custom framework: it validated the robustness of the APIs under load.

Before, after

20 tests a day
Postman, by hand
1,000 scenarios in one hour
Python automation framework

Test examples

Four concrete situations: what I do and what I check.

Table compliance

What I do
SQL checks on Snowflake with Soda SQL.
What I check
Duplicates, primary keys, NULL values, date consistency, email formats.

Booking journey

What I do
Front-end tests on the hotel and merchandise site.
What I check
A flawless user journey despite heavy traffic.

An API scenario

What I do
I send a combination of booking parameters.
What I check
That room availability and the products displayed match the row in the matrix.

Regression alert

What I do
I monitor the AWS migration with Soda SQL.
What I check
Pipeline health and consistency between source and target.

The toolkit

Tools used on this project.

  • Python
  • Postman
  • Soda SQL
  • AWS
  • Snowflake
  • SQL
  • API

Mailbox

A question, a comment?

Drop me a note. I read everything, and I reply within 48 hours if you leave your email.