Hi!
I'm currently developing a python application in which I need to export a test defined in Cucumber. To do so I want to make a request to the XRAY API and save the .feature file in the respective project repository.
In https://docs.getxray.app/display/XRAY/Exporting+Cucumber+Tests+-+REST, a GET command GET /rest/raven/1.0/export/test is presented, and by its description it matches precisely what I intend to do.
In my case, I just do in python get('/rest/raven/1.0/export/test?keys=key'), but it gives me the error "406 Client Error". What am I doing wrong?
I'm using JIRA/XRAY server.
Thanks in advance!
Hi @DanielPalaio ,
if you're using Xray Cloud, the proper documentation is this one.
Please note that you must do an authentication request beforehand.
Regards
Sergio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
I'm using Xray Server. And yes, I do a prior authentication. This is the only command reported in the Xray documentation that does not work. Until now I managed to access and process all sorts of that in JIRA/Xray via REST API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.