Reputation: 31
Am exploring kiwiTCMS, Trying to Integrate robot-framework with KiwiTCMS
Goal: Update Robot framework test-case execution status in KIWITCMS
[tcms]
url = https://public.tenant.kiwitcms.org/
username = ********
password = ********
5)Created a sample .robot script with the below code
*** Settings *** Documentation An example test suite Library OperatingSystem
*** Variables *** ${plan_id} 5603
*** Test Cases *** Scenario Maps To Existing TestCase [Tags] TC-13407 arbitrary_tag_here Should Be Equal "Hello" "Hello"
How to fix the error?
Upvotes: 0
Views: 285
Reputation: 2245
You have not posted the entire Python traceback so I can't be sure if that's the same issue but basically upgrade to the latest version of this plugin.
For more info: https://github.com/kiwitcms/robotframework-plugin#v112-15-may-2022 and https://github.com/kiwitcms/tcms-api/#v112-15-may-2022
403 means you don't have permissions and the API method which returns this is User.filter
. For security reasons viewing other user accounts requires extra permissions (https://kiwitcms.readthedocs.io/en/latest/admin.html#managing-permissions) which for the same reason are not applied to accounts on public.tenant.kiwitcms.org.
The updated versions work around this by not calling this particular API method unless ${build_user_email}
is specified. And will also silently ignore 403s as well.
Disclaimer: this answer has been provided by a Kiwi TCMS core team member!
Upvotes: 1