Help Index
AutoIT Website
Does Testuff have an automation API?
Yep! It allows your automation to update test results in Testuff. Automation can also be used to automatically export your data.
How does it work?
Via HTTP POST over SSL. Each company has a custom URL and a unique token for identification. Each test has a unique ID. Test results are POSTed to the relevant URL and include as parameters the token, test ID, lab name, and test result. Following the request, Testuff updates the test result accordingly. Read more about the automation URL on the Automation page.
Sample: AutoIT
$objHTTP = ObjCreate("MSXML2.XMLHTTP")
; change the URL based on your Automation API URL
$URL = "https://serviceX.testuff.com/company_id/automation?token=abcdefghijklmnop"
; change the test ID based on the test automation ID
$data = "lab_name=labX&test_id=ae7432442284c21a&status=passed&tester_name=john&comment=blabla"
$objHTTP.Open("POST", $URL, False )
$objHTTP.Send($data)
