NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 40 min
How to test that one room cannot be confirmed twice for the same time, using a case the client team runs once with exactly two requests, and how far one run can be read.
On Wednesday 2027-08-11 at 10:00:00 UTC, in the Quillstone test environment, two requests asked for room_n01 on 20 August from 14:00 to 15:00. Both answered 201. The database then held two confirmed bookings, bkg_t901 and bkg_t902, for the same room and the same hour.
You did not send either request. The case was written on Monday as plan row QP-15 and agreed with Jun Halvorsen on Tuesday, and your part on Wednesday was to read what his team sent back. A room booking service exists to give a time slot to one party, so this rule sits near the centre of the product. Testing it takes two requests that arrive close together, and rule D3 decides whose hands send them.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in