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

Trigger java application from TestRail


#1

I’ve gone through the TestRail api documentation and could add a Start Test button. But I could not understand how I start my application after clicking this button on my local machine. Other things like sending and receiving data to TestRail using Java API is just working fine. Will the trigger.php be usable for triggering the local project anyway? If so, how can I modify those files and where to put those files? Step-by-step guidelines would be of much help.


#2

Hi Tejaswini,

Thanks for your posting. The trigger example would only apply to triggering/starting a script on the TestRail server so it’s not meant to start or trigger a local project. That said, we recommend triggering/starting scripts/projects/programs independently and outside of TestRail and just use TestRail’s API to submit test results:

http://docs.gurock.com/testrail-api2/reference-results

Cheers,
Tobias