Yaak Logo
Yaak
Feedback/Scripting is a must

Scripting is a must

Patrick Diligent·7 months ago
BacklogImprovement

It is not quite true that after importing Insomnia one can start immediately. We have some elaborated requests flow which can’t be a match for the request chaining, so no, the suite is not working straight away in Yaak after import, and migration is not possible.

Windows

Comments (5)

Sign in to leave a comment.

Greg Schier

Yes, there are definitely differences between clients, so importing from any source will never be 100% compatible. I’d love to hear what sort of flows you’re using scripting for.

Greg Schier

Our core field of expertise is CIAM, we need full control of the Authentication/Authorization flows as it is one of the things that we test - not only acquiring tokens to call an api. Pre-request scripts are useful, it is needed to prefill the request with such things as the request parameter in a PAR request (OAuth2 flow), or for implementing the JWT profile scheme, to name the least. And as for post request scripting, it offers capabilities for checking response content that can’t be achieved with request chaining.

Greg Schier

Thanks for the info! Just to follow up, does creating custom auth plugins also not help with some of the Auth flows?

Greg Schier

A custom auth plugin is more for authenticating with the api you want to interact with. It is not that useful when it is the authentication flow you’re testing. And it would not be as flexible as dropping a script. Chaining requests would still cover a part of it, such as propagating a jwt along the flow. However there are some required transformations that chaining requests would not cover.

Greg Schier

Got it! I appreciate the clarification

Type to search feedback...