Contributions
Re: Selenium automation results are not showing in JIRA/Zephyr with methods Upload/Zbot
We had gone thorugh all lthose docs but no use. Its not working as expected.ZEPHYR UI says we should give only result path "Enter the result path folder containing the test-run result file". If we have multple result xml files we should go with folder/*.xml ? I have given xml path still Ui shows status as"scheduled" but Logs shows upload success. and UI status is not getting changedfrom scheduled and tests are not sowing in test cycle. PFA.1.9KViews0likes0CommentsSelenium automation results are not showing in JIRA/Zephyr with methods Upload/Zbot
Hi Team, I am getting file access error when I import selenium test results with Upload/Zbot methods. The agent "MyZbot" is running now. Enter "stop" to stop it, or enter "kill" to terminate the agent process. Upload file to server response status: I/O error on POST request for "https://jiradev.mercer.com:443/rest/zapi/latest/automation/upload/11": C:\Users\yugandhar-gorrep\surefire-reports\junitreports; nested exception is java.nio.file.AccessDeniedException: C:\Users\yugandhar-gorrep\surefire-reports\junitreports. PFA1.9KViews0likes2CommentsZephyr for JIRA plugin 1.5 in Jenkins is giving error as "JSONObject["jobProgressToken"] not found"
Hi I have integrated "Zephyr for JIRA plugin 1.5 " with Jenkins to push selenium automation results to JIRA. But after building Jenkins job I am getting below error. 20:18:50 [ZapiTestResultReporter] [INFO] Examining test results... 20:18:50 Build result is SUCCESS 20:18:51 Total Test Cases : 2ERROR: Build step failed with exception 20:19:08 org.json.JSONException: JSONObject["jobProgressToken"] not found. 20:19:08 at org.json.JSONObject.get(JSONObject.java:473) 20:19:08 at org.json.JSONObject.getString(JSONObject.java:654) 20:19:08 at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.assignTests(TestCaseUtil.java:315) 20:19:08 at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.processTestCaseDetails(TestCaseUtil.java:641) 20:19:08 at com.thed.zephyr.jenkins.reporter.ZfjReporter.perform(ZfjReporter.java:101) 20:19:08 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 20:19:08 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741) 20:19:08 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) 20:19:08 at hudson.model.Build$BuildExecution.post2(Build.java:186) 20:19:08 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) 20:19:08 at hudson.model.Run.execute(Run.java:1905) 20:19:08 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 20:19:08 at hudson.model.ResourceController.execute(ResourceController.java:97) 20:19:08 at hudson.model.Executor.run(Executor.java:428) 20:19:08 Build step 'Publish test result to Zephyr for JIRA' marked build as failure 20:19:08 [WS-CLEANUP] Deleting project workspace... Below are the tools versions:- JIRA -Jira v8.12.3 Jenkins-Jenkins 2.235.5 Zephyr for JIRA plugin in Jenkins -1.5 Plugin instructions followed from below link:- https://plugins.jenkins.io/zephyr-for-jira-test-management/1KViews0likes1Comment