reqable / reqable-app

Reqable issue track repo
https://reqable.com
2.52k stars 85 forks source link

[feature] 支持在脚本中mock响应 #681

Open cesaryuan opened 1 month ago

cesaryuan commented 1 month ago

Is your feature request related to a problem? Please describe. mitmproxy的脚本支持在onRequest中flow.response = http.Response.make(),这样就可以跳过向服务器发送请求这一阶段,直接伪造一个响应返回,reqable的脚本目前好像不支持这样的功能

Describe the solution you'd like 支持在onRequest中直接返回响应,跳过向服务器发送请求