thunder-client-support
thunder-client-support copied to clipboard
Testing with JS
Response, cookie, header values should be tested with javascript code.
Hi @alpgul thanks for feedback, you can test now response and headers. Cookie testing will add to roadmap.
Related: https://github.com/rangav/thunder-client-support/issues/194
Hello, @rangav
I've faced the case when I cannot test endpoints without JS or another language where I need to generate data before sending and set up them to the request Headers and Body or change the existing Headers and Body.
I need to generate a sign from several JS functions (or another language) and set the result to the request. These data are generated each seconds and that's impossible to test with static data.
My colleagues use Pre-request Scripts for it: https://learning.postman.com/docs/writing-scripts/pre-request-scripts/
Can you share a progress or planes about this feature?
Thank you for your extension!
@dmitrach We are planning to release pre-request scripting
feature very soon - #16, you can express your interest there.
I am closing this issue, as it's a duplicate of #194.
Hi, Now Tests via scripting is possible with v2.10.0
https://github.com/rangav/thunder-client-support/releases/tag/v2.10.0