Closed erwinmoretz closed 7 months ago
Thanks @erwinmoretz for reporting bug, will verify and fix it asap.
May be schema file path is not valid?
Can you right click on the schema file and select copy relative path and compare with existing path?
they use the exact same path. Here an example with the used path and the copied relative path:
Thanks for the confirmation. Will investigate and get back to you.
Can you also confirm below, will be helpful to investigate issue.
CLI v1.9.0 - Works locally (Yes) and CI/CD (YES)? ->schemavalidation working but no skipRequest feat. CLI 1.11.0 - Works locally (Yes) and CI/CD (NO)? -> schemavalidation not working but skipRequest is usable.
Thanks for the confirmation. will verify and get back to you ASAP.
We had similar issue before - https://github.com/rangav/thunder-client-support/issues/1310#issuecomment-1704905473
Is it multi-root workspace?
can you share the debug info by running command - tc --debug
Will share the informations from each run with the versions:
Thanks for sharing. Is it multi-root workspace?
No, its not:
Thanks for the confirmation.
I have fixed this issue, Please update CLI to v1.11.6
See all features in this update https://github.com/rangav/thunder-client-support/releases/tag/v2.17.5
Please test and let me know feedback.
Describe the bug Hello Ranga,
I have upgraded the version of Thunder Client CLI in our pipeline to a current version to be able to use the tc.skipRequest() function.
Unfortunately, this has triggered a side effect and my tests for the schema validations are failing. My analysis shows that the documents for the defined schemas cannot be read.
As soon as I switch back to the old version, the schema validation tests work again, but I can't use the function I need.
when i run it in the local CI it works well!
Is this bug known?
CLI Version where schema validation is working: 1.9.0 CLI Version which i tried to use: 1.11.0, 1.11.2
Screenshot from log:![image](https://github.com/rangav/thunder-client-support/assets/112586589/bbd82094-7aa8-437d-afc2-cd4ac2af8d78)
Platform:
Are you using the free version/paid version/trial: paid