Maven Website
How it works
Upload your tests results to Testuff, all at once, saving you time and money. We made this integration simple, leaving all the annoying tasks to Testuff.
After running your tests, send it Testuff url:
https://serviceX.testuff.com/client_api/v0/testcase/[TOKEN]?tool=maven&branch=[BRANCH_ID]
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.
The branch ID can be found in the Project settings->Branches tab.
Sample: Java junit with Maven
Download this pom file and place it in your Maven folder
- The output file will be placed in “${project.build.directory}/outpot”
- The XML name is standard with the package name and class name
Creating the XML output file and uploading it to Testuff:
- call mvn compile test
- curl -k -X POST -F “file=@target/output/TEST-org.example.AppTest.xml” https://serviceX.testuff.com/client_api/v0/testcase/[TOKEN]?branch=[BRANCH_ID]