postman-app-support
postman-app-support copied to clipboard
Issue with Example Naming after Request
Is there an existing issue for this?
- [X] I have searched the tracker for existing similar issues and I know that duplicates will be closed
Describe the Issue
This is probably related to https://github.com/postmanlabs/postman-app-support/issues/13045, I even think this might be the cause for the mention bug. When renaming a request, and then saving an example, the examples name is the name BEFORE the name-change. (Duplicating basically just adds a " copy" string to the original name, which is basically a rename)
Side note: This seems to be the case for "custom" urls like: https://catfact.ninja/fact But while bug testing I found out, that when using this postman-echo.com, actually the examples name is correct, by following the exact same steps! https://postman-echo.com/get?foo1=bar1&foo2=bar2
Steps To Reproduce
- Go to an existing collection and use the "..." to "add a request" (which will be named "New Request"
- rename it to "bug test"
- insert a URL
- press SAVE
- execute the request
- press the button save as example Result: in the tree view, as a child node of the request the example is shown with the name "New Request" instead of "bug test"
Continuation: 7. duplicate "bug test" which then is named "bug test Copy" 8. repeat above steps and rename it to "foo" instead Result: the new example will be named "bug test Copy" instead of "foo"
side notes: I donno if there MAYBE is a mechanism, that somehow resets this bug, so that examples will actually be named correctly (because with the above logic this would never be the case) - but i see for request that are really old (as in, POSTMAN closed many times in between), sometimes it actually created the correct name. But never for freshly created/renamed/duped requests.
This has been the case for me since YEARS now and is very annoying and time consuming (manual renaming) especially since with logged in users, postman is "slower" than with the former offline version. I'm surprised this has not been fixed or reported more often.
Screenshots or Videos
https://github.com/user-attachments/assets/749d22ff-537d-4e7d-84dd-7b2c0848975d
https://github.com/user-attachments/assets/fffec7cc-2244-4e8a-86d5-36d30d3a3f11
Operating System
Windows
Postman Version
(previous Versions) (11.10.0) 11.12
Postman Platform
Postman App
User Account Type
Signed In User
Additional Context?
No response