Point the load tool directly to your origin? There’s little useful information you are going to get by trying to load test Cloudflare… it handles 4m+ https requests per second.
A 524 error happens when your origin is unhappy. How are you measuring load on the origin and how are you scaling to meet it?