ProxymanApp / ProxymanApp/Proxyman
Imported scripts do not run until they have been opened in the editor and saved.
Nobody has claimed this yet.
- 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
- Add the Edited column to the column headers in the main Proxyman window.
- Import a new script
- Without opening the script, enable it in the script list.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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