Forum Discussion
Hi!
I am a bit confused about the way you are making this request. It looks like you show us a screenshot of a web browser in which you have used the URL to upload results. Do I understand it correctly?
- serra943 years agoNew Contributor
Hi David !!!
Thanks for the answer !!!
I will try to explain the steps I took below.
1- I inserted the test key inside the test case name that is in the robotframework:2 - Later I run the test using the parameter "-x" to generate the xml file:
3 - I generated an access token
4 - Creating the requisition
* Response in terminal*
* Response using Insomnia *
I've tried following the steps in this example, but as you can see it doesn't work.
I'm newbie forgive me if there is any stupid mistake !!!
Anyone who can help with guidelines I'm very grateful!!!
- DavidL3 years agoStaff
In Insomnia, can you try to add a Query parameter which would be named autoCreateTestCases. The value needs to be set to true. That should solve your issue and you can see the results in Scale.
You mentioned you added test case keys to your robot tests. Do you have a test case key for each of your tests or some of your tests do not have a corresponding test case key?
If you want to use the curl command, you probably need to escape some characters in the URL.
https://api.zephyrscale.smartbear.com/v2/automations/executions/junit\?projectKey\="CORE"\&autoCreateTestCases\=true
or you could try to use the URL like this (between double quotes)"https://api.zephyrscale.smartbear.com/v2/automations/executions/junit?projectKey=CORE&autoCreateTestCases=true"
Related Content
- 2 years ago
- 2 years ago
- 11 months ago
- 3 years ago