request icon indicating copy to clipboard operation
request copied to clipboard

如果能够设置每个URL的返回值就好了

Open TerryLee opened this issue 9 years ago • 1 comments

现在每个URL在发起请求时,如果请求成功都会返回OK,有些测试服务需要返回固定的值,所以如果能够为每个URL设置返回值,就完美了。

TerryLee avatar Sep 11 '15 02:09 TerryLee

我隐约感觉到了需求爆炸的味道。是不是还能够支持根据请求的不同设置不同返回值,例如如果请求里面data.type === 'opended',就返回200;如果data.type === 'reopened'就返回201,同时Response Body里面要包含Request里面的data.content

shaunxu avatar Sep 11 '15 03:09 shaunxu