I want sample code for importing xml file with POST options. In Postman I need to select binary opotion in body section, I want to write program with request-prmoise npm packages and I am not getting proper syntax hence I am unable import xml file in XRAY from code
you may want to give a look at this open-source project that contains Postman collections for interacting with Xray on Jira Cloud and also on Jira server.
If you're looking for an npm package, there isn't an official one, unfortunately.
However, if you want some concrete NodeJS code, you may inspire yourself on this package:
https://www.npmjs.com/package/jira-client-xray
This package seems to be made to support only Jira Server but with some minor hacks you should be able to update it in order to work for Xray Cloud; you'll need to add the authentication request in order to obtain the token that you will use then for invoking the REST API endpoint related to importing of results.
Hope this helps :)
Regards,
Sérgio
=======================================
Personal blog on testing, Agile and software development: https://sergiofreire.com
Follow me on Twitter: https://twitter.com/darktelecom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.