A general framework for Web Api Testing