ProxymanApp / ProxymanApp/Proxyman

Imported scripts do not run until they have been opened in the editor and saved.

Open
#1,985 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

When importing scripts, and then checking them as enabled in the Scripting list view, they do not actually get executed until you open them in the editor and then save them. They appear to be have been executed, the edited ✅ flag appears in the main Proxyman window (if the Edited field is added to the column configuration), but the responses are not updated based on the scripts behavior.

Steps to Reproduce

  1. Add the Edited column to the column headers in the main Proxyman window.
  2. Import a new script
  3. Without opening the script, enable it in the script list.
  4. Perform action in client which will trigger the script

Current Behavior

  • The Edited flag indicates that the script was run.
  • Examining the payload shows that the script did not execute and modify the contents of the payload.
  • Opening the script in the editor, saving + activating, and then re-running the client action will successfully cause the script to execute and modify the payload.

Expected Behavior

  • Importing, and then enabling the script, without editing, should cause the script to execute.

Environment

  • App version: 5.0.0 (50000)
  • macOS version: macOS Sonoma 14.4

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.

Research direction

Reproduce the issue by importing a script, enabling it without opening or saving it, and triggering the client action while checking the payload and Edited flag. Trace the import and activation flow for scripts; done means an imported, enabled script executes and modifies the payload without being opened or saved.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.