Migrated from Redmine #1111 | Author: Grant Spilsbury Status: New | Priority: Immediate, there is BUG! | Created: 2023-09-26
During a load test of our system we found Simplybook calls started returning errors when we increased the speed / frequency of booking (/book) requests.
Our script simulated multiple users trying to make bookings with random delays between requests. This likely resulted in 2 users trying to book the same slot at the same time (but we set up each slot to have 99 availabilities). We have made the assumption that these simultaneous booking requests are the reason for the errors from Simplybook.
Hi,
about the test, there were 2 slots available 9:00 - 09:25 and 09:25 - 09:50 on November 1st.
the script that ran a loading test was randomizing the start time between those 2. Appointment booking service and free online booking service here is the class that was booked.
In total, it created 95 bookings when looking at the booking details report. 47 bookings for 9:00 AM and 48 for 09:25 AM.
Here is the response log from the last test bookings
hi, as I wrote you already you are trying to make bookings for exactly same time, service and provider at same moment. To make a load test correct you have 2 ways:
Make provider with just one slot and book his available time with 100-200 parallel requests.
If there are more than 1 slot per provider and you want to book all this slots than make sure you have at least 50-100ms gap between calls. Parallel calls will cause error above
hi, as I wrote you already you are trying to make bookings for exactly same time, service and provider at same moment. To make a load test correct you have 2 ways:
Make provider with just one slot and book his available time with 100-200 parallel requests.
If there are more than 1 slot per provider and you want to book all this slots than make sure you have at least 50-100ms gap between calls. Parallel calls will cause error above
Alex is telling us different. Please see images attached. Alex please can you discuss and confirm this limitation.