Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Body panel timer still runs after pm.execution.skipRequest() and/or pm.execution.setNextRequest(null). No way to stop or clear. #13366

Open
1 task done
jmlivingston opened this issue Dec 20, 2024 · 0 comments

Comments

@jmlivingston
Copy link

Is there an existing issue for this?

  • I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

There are two issues here:

  1. The Body panel timer continues to run even after calling skipRequest or setRequest(null). It should clear or there should be a way to stop it from the Pre-request or Post-request script.
  2. Even if you click Clear Response or close the tab and resend, the timer will resume where it left off.

Steps To Reproduce

  1. Open a new request tab.
  2. Add anything for the URL like "foo".
  3. Click on Scripts -> Pre-request
  4. Enter the following code:
pm.execution.skipRequest();
pm.execution.setNextRequest(null);

Expected
Time in Body panel should stop running.

Actual
Timer continues. Even if you click "Clear Response" and restart, the timer will continue where it left off.

Screenshots or Videos

CleanShot 2024-12-20 at 11 37 06

Operating System

macOS

Postman Version

11.23.2

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant