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. Your Testuff login details are used for identification. Each test has a unique ID. Test results are POSTed to the relevant API URL and include – as parameters – the 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 API URL
$URL = "https://serviceX.testuff.com/api/v0/"
; change testuff login details
$user = "testuff_login"
$password = "password"
; 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, $user, $password )
$objHTTP.Send($data)

Help Index