TestComplete Service REST API - Prepare your project suite step
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TestComplete Service REST API - Prepare your project suite step
Hi,
I am trying to use REST API to trigger tests on Remote PC using TC service REST API feature. Enabled it executing the batch file.
Getting "The specified data is not a valid ZIP file" message when I try to generate ID using POST/Suites through swagger in the 1st step of Prepare your project suite.
Zip file structure image is attached.
swagger image is also attached.
Let me know where am I going wrong or am I missing any step.
Even tried changing the folder structure mentioned in below link still the respone is failure.
Following the below url
https://support.smartbear.com/testcomplete/docs/reference/tc-service/api.html#project-requirements
Thanks,
Manu G
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You send a path to a zip file. But the body parameter is "a sequence of bytes". I think there is no way to send such request from the current swagger page.
Try to use some other tool for this. For example 'curl.exe' console tool. Read curl documentation and find how to send a file.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the post. Looking into Curl as well as Postman to solve my problem
