Optional Configuration
Key | Description | Default Value | Possible Values |
---|---|---|---|
manager.url | The URL of the reporter server | empty | "localhost:9011", "myreporter.com" |
manager.accesskey | Access key to be used for authentication | empty | "myaccesskey" |
manager.user | Username to be used for authentication | empty | "myusername" |
manager.password | Password to be used for authentication | empty | "mypassword" |
manager.project | Project name to be used for authentication | empty | "myprojectname" |
manager.report.skip | When set to true, the test listeners (for TestNG and JUnit) will upload result for ignored \ skipped tests | false | "true", "false" |
manager.exclude.keys | Comma separated keys that will not be sent to the server | empty | "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