In order to allow connecting to any server that we want to test we need to provide server details and such details are configured in src/test/resources/server.properties
file. Through that file it’s possible to configure:
list of configured domains/VHosts (at least one entry is needed):
server.domains=localhost
define which domain should be used for Two-way-TLS test (such domain must be configured to use certificate from certs/root_ca.pem
file)
server.client_auth.domain=a.localhost
a list of cluster nodes to which test should connect (for single node setup leave only one node; at least one entry is needed)
server.cluster.nodes=localhost
details of the admin account (JID will be created from below username and domain name or, if details are not provided, admin
name will be used with first item from server.domains
; default password will be the same as used user-name)
test.admin.username=admin test.admin.domain=localhost test.admin.password=admin
HTTP-API component
API key used to access service:
test.http.api-key=test-api-key
port under which service is listening:
test.http.port=8088
test.ws.port=5290
and test.bosh.port=5280
respectively.Tigase XMPP Server e-mail monitoring configuration can be set-up using following entries:
imap.server=localhost imap.username=xygoteheyd imap.password=medkbreqeppbemzinmtu