ProxymanApp / ProxymanApp/Proxyman

[Feature] Is there a way to map local in proxyman based off of parameters attached to the body of a url?

Open
#1,301 1 comment 0 reactions 1 assignee View on GitHub

@NghiaTranUIT is already working on this.

Since Jul 21, 2022.

Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

Hi, I posted a SO question here on this but figured I'd open an issue as this channel seems more active.

I have a url:

https://cn.company.com/appv2/search

and want to have a different map local depending on the request coming with a different parameter in the body (i.e. it is NOT attached to the url like https://cn.company.com/appv2/search?cursor=abc. Instead it is in the body of the request { cursor: abc }.

Any idea on if this can be done in proxyman?

I basically want to be able to stub pagination through the proxy without waiting on a server implementation. So I'd have no cursor on the first request, server would return a cursor and then use that on the next request and get a different response from server on the request so that I can test out the full pagination flow.

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.