refactoring data driven cases so that the details of web response is not shown