Skip to content

Testnizer v1.4.16

Choose a tag to compare

@apinizerdev apinizerdev released this 10 Jun 09:56
· 14 commits to main since this release

v1.4.16

Folder- and project-level authorization + scripts that requests inherit, plus
two Insomnia/Postman import fixes so imported collections run in the right order
with their shared auth intact.

  • Inherit auth from folder / project: a request's Auth tab gains an Inherit
    from parent
    option (now the default for new requests). The effective auth is
    resolved nearest-wins — request → nearest folder → project — so you can set a
    Bearer {{accessToken}} once on a folder (or in Project Settings →
    Authorization) and every request below it picks it up. An explicit No Auth
    on a request or folder stops the inheritance.
  • Folder Settings (auth + scripts): right-click any folder → Settings to
    set its authorization and its pre-request / test scripts.
  • Cascade scripts: project and folder pre-request / test scripts now run
    around every request in the cascade order project → folder → request, on
    both Send and Run. (Project-level auth + scripts were configurable
    before but weren't applied at runtime — now they are.)
  • Insomnia import order fixed: Insomnia v5 collections are now imported in
    meta.sortKey order (what Insomnia actually runs), not raw file order — so a
    Run fires requests in the intended sequence instead of a scrambled one.
  • Insomnia/Postman auth inheritance on import: a collection's root (and any
    folder's) authentication is now carried onto child requests that don't set
    their own. Previously an imported collection that defined Bearer {{accessToken}} once at the root sent no Authorization on its child requests
    and failed with 401 "Empty Key".

Tests: new pure-resolver, runner-integration and renderer-mirror suites for
auth/script inheritance, plus end-to-end Playwright coverage (folder bearer
inherited + overridden against the live echo server, the cascade pre-request
script, and the Folder Settings modal). Unit suite now at 1738.