Sahi Website
How it works
You can report your automation test results directly to the tests in your Testuff repository. Submit new test statuses, update existing statuses, create and report to labs, and more.
Report Automation Results URL: https://serviceX.testuff.com/api/v0/testone/?token=[TOKEN]
Notes:
- Reporting to Testuff is protected Via HTTP POST over SSL, and your Testuff user TOKEN is used for identification.
- You’ll find your Testuff server number under the Settings->Company Details, and your user Token under the User settings.
Read about all the parameters you can control here.
Sahi integration how-to
- Have a look at the example in sahi/userdata/scripts/testuff.sah.
SAHI has added a callback onScriptEnd to Sahi, which will always be called at the end of a script (even on errors). From onScriptEnd, they call postTestuff() with the correct parameters, and the data gets posted. - Add postTestuff to your code, and call it from inside onScriptEnd().
Sample: Sahi
Copy to Clipboard