Full error: Failed to send test result to Zephyr. Response: {"error": "Failed to parse Connect Session Auth Token"}
I'm a newbie and trying to learn how to execute a rspect script and change the results to a zephyr test case. I found the example below but when I execute it, I get the following result
Failed to send test result to Zephyr. Response: {"error": "Failed to parse Connect Session Auth Token"} . Finished in 4.86 seconds (files took 0.05997 seconds to load) 1 example, 0 failures
Here's the code (I'm not including the actual test file being executed) and I faked the token information
require 'net/http'
Hi @Scott Feger
The error states that the token being used to authenticate with the Jira/Zephyr API is either invalid or improperly formatted. Jira Cloud API tokens must be generated for the user account under Account Settings > API Tokens. Have you completed this process?
Thanks Tuncay. I did create an API token. Should I be using the full key (large) or just the short
I might need to double check my uri. I may have done that incorrectly. Hopefully I'll have some time to look at it later today. Since this is a side project, I don't have much allocated time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.