White search icon

API Tester loses all state (headers, URL, body) when popup closes

Y
yan_dev Lv.3 Member
6mo ago
Every time I close and reopen the extension popup, the API Tester resets completely — URL gone, method back to GET, all headers removed, request body empty. This makes it basically unusable for authenticated endpoints. I use Bearer tokens for every request and having to re-paste the token every single time I reopen the extension is frustrating enough that I end up switching back to Postman. Would expect state to be persisted in chrome.storage.local at minimum, or at least survive for the duration of the browser session.
2 replies
P
priya_dev Lv.4 Regular
6mo ago
This is my biggest day-to-day pain point with the tool. I use Bearer tokens on every request and re-pasting the token every time I close the popup is annoying enough that I end up switching back to Postman. Session persistence would fix this completely.
C
chris_b Lv.4 Regular
6mo ago
This is by design in Chrome MV3 — extension popups are destroyed completely when you close them. Persisting state requires explicitly writing to chrome.storage.local on every change, which is a small but real implementation effort. Worth it though given how often this comes up.
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.