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?
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!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.