Forum Discussion

kailashlatad's avatar
kailashlatad
Occasional Contributor
5 years ago

How to build common mock for error responses for different test suite/test cases?

Hi,   In my current project there are common  respones for 400,500 error with respective to the servcices. I want to build a mock/stub where I should get 400 or 500 respone with repsect to the re...