Currently in stress test the fail handle cases are hard code in the code snippet, we should make it more flexible and easier to extend