Forum Discussion
5 Replies
- MisterB
Champion Level 3
I'm going to suggest SmartBear support as I think this might be the quickest way for you to receive help (we don't get many responses to API/Integration type posts), but if you can post more information about your source report/code, we can also try to help.
- MaryMoraNew Contributor
Hi MisterB
I use this configuration in jenkins. PFA jenkins.PNG and jenkins2.PNG
The test cycle is created but only one test case is present in the test cycle. I don't see any error I try manual to execute
curl -H "Authorization: Bearer ${TOKEN}" -F "file=@TestSuites.xml;type=application/xml" https://api.zephyrscale.smartbear.com/v2/automations/executions/junit?projectKey="JQA"&autoCreateTestCases=false is present in the documentation but is the same the test cycle is created but only one test case is present in the test cycle.
I map the test cases with key example ODAQA_T6848_verifyOrderDetailsTab
- MisterB
Champion Level 3
Hi MaryMora,
Thank you for the additional information. It was helpful.
I took a look at your scenario and investigated as best I could, but can't find anything that stands out. Contacting SmartBear support should get you the answer you need (link below), but I will post a few ideas to try and track down the issue yourself - although you may have done this already ๐
- autoCreateTestCases is FALSE. Is it possible that the test cases that are failing are not referenced correctly in your XML?
- I assume if you change autoCreateTestCases = TRUE, that all test cases are posted?
- What happens if you post 1 of the test executions that is failing on it's own. If it fails there is probably a source data issue
- Check the XML format parses correctly - XML Validator
- Check if there are any errors in the JUnit XML file by opening it in a text editor and looking for any error messages?
These historic posts might give you some clues (or solace that you're not on your own! ๐๐
how to upload junit test result file to existing t... - SmartBear Community
Zephyr Scale - How to specify test cycle in Junit ... - SmartBear Community
Solved: server version: uploading test results to Zephyr ... - SmartBear Community
Solved: Question for AQA. How to push TestNG automation te... - SmartBear Community
Upload Katalon Test Result to ZephyrScale - SmartBear Community
And finally, here's a link to SmartBear support: SmartBear Support
- MisterB
Champion Level 3