Postman scripts
Postman scripts run in Kitten as they are. The few commands below aren't supported yet. If a script uses one, the request still imports, Kitten points out the line, and leaves it in the Script tab as // TODO (script): <original> so you can rewrite it.
Not supported
| Postman | Why |
|---|---|
pm.datasets(...) | Postman cloud datasets |
pm.message | WebSocket and gRPC message scripts |
pm.require("@team/pkg") | Postman cloud package libraries |
cheerio, Backbone | Need a browser |
pm.request.auth | No Kitten equivalent yet |
pm.request.url.query / .path / .host / .protocol / .port / .hash / .auth | No Kitten equivalent yet |