Skip to main content

Optional Configuration

KeyDescriptionDefault ValuePossible Values
manager.urlThe URL of the reporter serverempty"localhost:9011", "myreporter.com"
manager.accesskeyAccess key to be used for authenticationempty"myaccesskey"
manager.userUsername to be used for authenticationempty"myusername"
manager.passwordPassword to be used for authenticationempty"mypassword"
manager.projectProject name to be used for authenticationempty"myprojectname"
manager.report.skipWhen set to true, the test listeners (for TestNG and JUnit) will upload result for ignored \ skipped testsfalse"true", "false"
manager.exclude.keysComma separated keys that will not be sent to the serverempty"secret.prop1, secret.prop2, secret.prop3"

Usage

You can set them directly.

System.setProperty("manager.url", "localhost:9011");
System.setProperty("manager.user", "myusername");
System.setProperty("manager.password", "mypassword");
System.setProperty("manager.exclude.keys", "secret, password");
System.setProperty("manager.report.skip", "true");

You can use a file named "manager.properties" in the current working directory.

manager.properties

manager.url=localhost:9011
manager.user=myusername
manager.password=mypassword
manager.exclude.keys=secret, password
manager.report.skip=true