I’m trying to integrate Robot results with my test cases that are in Zephyr Scale within Jira. I followed the tutorial available on the SmartBear page but I was not successful.
Has anyone had success with this type of integration?
Yes wherever you run the robot command, just make the curl command the next one, you could even bundle them in a batch/shell script if that makes your life easier.
I expect you don’t have to use curl, you could use any http client, just the example given was curl so you just have to replicate that http request with your preferred tool.
As I mentioned, I never did this myself, I just showed what I found in their documentation.
Access Denied is usually an authentication or permissions issue
it could be your windows user is getting a permissions issue when trying to run curl? I would expect this is not the issue since you ran curl -v without issue, but try running this command from that command window and make sure it works?
About the command window you ran curl -v in, you didn’t open that by “Run as Administrator” by any chance? If you did, this would make this point more likely to be the issue.
It could be user / pass combo is wrong though I would expect something like authorisation required for that
I see you are on windows, does the server use your windows username and password? If so maybe you need to send the username as DOMAINNAME\\USERNAME rather than just USERNAME?
Does this user have permission to the project with project id 10700? is there even a project on your server with that project id? if either is no that would explain the error
It’s unusual to see double quotes (") in a url especially for a value that looks like an integer, so perhaps projectId="10700"& should be projectId=10700&? though I would expect a 404 not found if this was the problem I can see how this could give an Access Denied
The good news is you got past the previous issue, it’s finding and running curl,
I have digged into this to research for apply Zephyr with Robot on my company. Found you’re having the same issue with me.
I think you’re reading the wrong document, because base on your Zephyr Urls, you’re using Zephyr Scale Server not Zephyr Scale Cloud.
So that the API endpoint is not correct. You can try follow this documents. Zephyr Scale Server API (v1) (smartbear.com)
@tntnam I downloaded postman to upload the result. Not sure how to generate Bearer token for authorization. I see only personal token under my profile.