The stress test will involve thousands of people to help the UK prepare for potential future threats.