Questions tagged [jira-xray]

xray is a testcase management application which supports integration with JIRA.

xray is a testcase management application which supports integration with JIRA, one of the leading defect tracking tools. The integration helps you link your defects with the test cases and improves the trace-ability.

184 questions
0
votes
2 answers

Run multiple curl commands sequentially using java

i am able to run both the commands in terminal sequentialy and its working fine.same thing i want to achieve through java token=$(curl -H "Content-Type: application/json" -X POST --data…
Suryaneel Varshney
  • 85
  • 1
  • 2
  • 13
0
votes
1 answer

Set test issue parameters for Xray Connector Plugin in Jenkins

I have added the XrayImportBuilder to my pipeline script to import JUnit test results to Xray in Jira. It actually works fine and it creates Test issues and Test Executions issues as expected. However, the json defined in importInfo just sets the…
Jake2Finn
  • 516
  • 5
  • 19
0
votes
3 answers

Wrong tests results in Jira Xray from wdio cucumber json reporter

We have a Story that is linked to the Cucumber Test and we execute this Test in Test Execution. The feature file from Test Execution looks like this: @ABC-164 @ABC-163 Feature: Homepage test @ABC-162 Scenario: Homepage test Feature:…
beauvoir
  • 67
  • 1
  • 9
0
votes
1 answer

xray rest api authentication without password

We actuly update xray test cases by doing a curl with JIRA username and password. curl -H "Content-Type: application/json" -X POST -u JIRAUSERNAME:JIRAPASSWORD --data @"reports/cucumber.json"…
soung
  • 1,411
  • 16
  • 33
0
votes
1 answer

Getting error in Xray while uploading JSON with Test Results from wdio cucumber json reporter

I can't upload JSON results from wdio-cucumberjs-json-reporter to xray (test execution), there's an error and I'm not sure if it's a problem with reporter package or xray? I tried some other reporters as well but nothing was handy. Which…
beauvoir
  • 67
  • 1
  • 9
0
votes
1 answer

Test automation with BDD Cucumber and Sauce Labs

Hope to find answer here I have to build a test automation tool with BDD approach written in JavaScript. We have to use Cucumber, Gherkin, Sauce Labs and it is going to be connected with Xray(Jira). At first, it was built with help of Nightwatch (to…
beauvoir
  • 67
  • 1
  • 9
0
votes
1 answer

Error in Xray Rest API call for importing Test Execution Result

I know this query has been answered in so many post but those have not helped me. I did research, and tried, but still facing issue in making an API call to import test execution result. Approach I took: Created Test(Test Details: Cucumber), Test…
Ashish
  • 185
  • 1
  • 2
  • 17
0
votes
1 answer

How to import Jira X-Ray data without creating new tests

My team is just getting started with X-Ray, and we are setting up our pipelines. However, while doing this I noticed that if I submit a Junit xml file to X-Ray via the REST api, it will create new tests for any test data that isn't already in the…
caffein
  • 575
  • 8
  • 26
0
votes
1 answer

Not able to parse description from feature file when trying to import Cucumber tests into XRAY

I am trying to import this feature file into XRAY in order to create a new Cucumber test in XRAY. As of now Description field is mandatory for creating any test in our Xray project. How do we parse the description from the feature file? What id the…
0
votes
1 answer

can i map 2 testcases in jira-xray to 1 testcases in automation script and upload junit xml test results

We are using NightwatchJS automation tool for testing. We have 2 testcases in Jira-xray and 1 testcase in automation. When we run auomation, JUnit xml test results contains only 1 testcase. If JUnit xml test results are uploaded, will it mark 2…
0
votes
1 answer

Can a Gherkins test be written which will result in a failure

Let me start by stating I am very wet behind the ear with gherkins and cucumber. I've put together a PoC for my company of an integration a Jenkins projects that will build and execute tests when there is a check in a Git repository. When the tests…
Bob Ford
  • 3
  • 2
0
votes
1 answer

REST API for associating Xray configuration/coverage with jira project programmatically

I want to automate the manual process of associating a jira project with xray so that projects can leverage the features of xray. I have explored various jira and xray api's available at https://confluence.xpand-it.com/display/public/XRAY/REST+API…
Vishal Kharde
  • 1,553
  • 3
  • 16
  • 34
0
votes
2 answers

Format Squish tool report to robot framework report

We are using XRay's cloud APIs to upload execution reports to change the execution status of test cases. But the execution report is generated from Squish tool but not from robot framework or cucumber etc. As per the documentation from XRay…
Manjula
  • 21
  • 4
0
votes
1 answer

Find Test Executions containing Tests in a certain Test Set

I'm trying to put together a JQL query within my Test Case Management project in X-Ray, but so far to no avail: This is my scenario: I have a Test Set, ABC-100, with some Tests, ABC-101 to ABC-110. I also have some test executions, ABC-120, and…
ggonmar
  • 760
  • 1
  • 7
  • 28
0
votes
2 answers

Importing test results creates duplicate test

Here is what we are tying to do: Create a new test via REST API with test type as Automated[Generic] and making sure the test definition field is populated as required(classpath+'.'+class name). Let's assume the test key for this test is…
srinathbharadwaj
  • 125
  • 2
  • 13