Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Testrail python api payload error


#1

Hi,
I am just getting started with python testrail api. i declared an object and then when i am calling a function then evry time i am getting error like
testrail.helper.TestRailError: {‘url’: u’https://testrail.lab.nbttech.com/index.php?/api/v2/get_users’, ‘status_code’: 404, ‘payload’: None, ‘error’: None}

since its in beta and no documentation is available , i am not able to figure it out.
any help ll be appreciated!! thanks


#2

Hi @sabyasachi,

Thanks for your posting. Please check your TestRail address and it looks like TestRail might use a different address? For example, do you need to append testrail/ to the end of the address?

https://testrail.lab.nbttech.com/testrail/

Could you try this please?

Cheers,
Tobias