reqable / reqable/reqable-app

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

Open
#681 3 comments 1 reaction 1 assignee View on GitHub

@MegatronKing is already working on this.

Since May 27, 2024.

enhancement p1
Dominant language
No language data
Stars
6.8k
Forks
268
PR merge metrics
No merged PRs in 30d

Description

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中直接返回响应,跳过向服务器发送请求

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.