bug: Request intercepted but not showing up when initiated from Requestly

Open
#39 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
express, javascript, typescript

Research direction

Start by reproducing the difference in the Requestly Desktop App using the listed proxy, curl/browser requests, and the Requestly-initiated request. Compare why the intercepted 500 response appears but the request is absent from the list; done means the Requestly request is recorded while the existing interception rule still works.

Written by the indexing model from the issue text.

Description

migration:misfiled-interceptor
Describe your issue?

I have a simple Express app on localhost:3000/httpbin that hits httpbin.org

// Third-party API call to httpbin
app.get('/httpbin', async (req, res) => {
  try {
    const response = await axios.get('https://httpbin.org/get');
    res.json(response.data);
  } catch (error) {
    res.status(500).json({ error: 'Failed to fetch from httpbin', details: error.message });
  }
});

I'm trying to intercept this call and replace it with a 500 response. I have set up the proxy in my terminal where the app is running. I have the rule set up.

Image

If I do curl localhost:3000/httpbin, I can see it works.

Image Image

However, if I hit the same endpoint through Requestly, the rule still works (because I can see 500 error), but it doesn't show up in the list.

Image Image

I'm extremely confused. Both are making requests to localhost:3000/httpbin, so why is one showing up and not the other? I can also open localhost:3000/httpbin on my browser and it also records the URL.

Repro steps
  1. Set up proxy.
  2. Run npm start
  3. Make request via curl or browser - works
  4. Make request via Requestly - does not work.
What Requestly tool were you using?
  • Extension
  • Desktop-App
  • Android SDK
  • Selenium
Your Environment

Windows 11

Requestly Version

25.8.29

Error screenshot

No response

Dominant language
TypeScript
Stars
87
Forks
23
Avg merge
14h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

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.

More from requestly/interceptor

All issues in requestly/interceptor

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.