Contributions
Using Curl to add test results including info for the TestCycle
Hi, I want to add Test Results from Robot Framework to Zephyr Scale using the Rest API. I implemented a smaller Framework in Java, but fail so far to use the endpoint "/executions"junit". Java Example to upload test results via ZAPI - SmartBear Community As a workaround I'm using Curl. What is working as expected. But I need to update the fresh created TestCycle because I have no solution on passing information for the TestCycle by this call. I guess it is possible to add a JSON String containing this information as described in the docs, but how to include this in the curl call? curl -H "Authorization: Bearer ${TOKEN}" -F "file=@TestSuites.xml;type=application/xml" https://api.zephyrscale.smartbear.com/v2/automations/executions/junit?projectKey="JQA"&autoCreateTestCases=true Does somebody has a proposal? Thanks in advance. Karsten Robot Framework Integration | Zephyr Scale Cloud Documentation (smartbear.com)796Views0likes0CommentsJava Example to upload test results via ZAPI
Hi there, is there a java example available to upload test results in junit format with the endpoint "automations/executions/junit"? Accessing the regular endpoints seems to be straight forward, but I have my problems with this endpoint ... Thanks in advance.638Views0likes0Comments