batch stress test solution