-
Notifications
You must be signed in to change notification settings - Fork 76
/
test.config
53 lines (43 loc) · 1.87 KB
/
test.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%%
%% This test configuration is used for testing escalus
%% against a running MongooseIM server
%% the Erlang node name of tested ejabberd/MongooseIM
{ejabberd_node, 'mongooseim@localhost'}.
{ejabberd_cookie, ejabberd}.
%% the main XMPP domain served by the tested ejabberd/MongooseIM
{ejabberd_domain, <<"localhost">>}.
%% the server host name or ip address
{ejabberd_addr, <<"127.0.0.1">>}.
{ejabberd_secondary_domain, <<"localhost.bis">>}.
{ejabberd_metrics_rest_port, 5280}.
{ejabberd_string_format, bin}.
{ejabberd_service_port,8888}.
{ejabberd_service_password, <<"secret">>}.
{escalus_users, [
{alice, [
{username, <<"alice">>},
{server, <<"localhost">>},
{password, <<"makota">>},
{compression, <<"zlib">>}]},
{bob, [
{username, <<"bob">>},
{server, <<"localhost">>},
{password, <<"makrolika">>},
{starttls, optional}]},
{alice_sm, [
{username, <<"alice_sm">>},
{server, <<"localhost">>},
{password, <<"super-secret">>},
{stream_management, true}
%% {manual_ack, true} %% uncomment to prevent automatic
%% ack sending by escalus_tcp
]},
{bob_sm, [
{username, <<"bob_sm">>},
{server, <<"localhost">>},
{password, <<"hyper-secret">>},
{stream_management, true}
]}
]}.
%% vim: ft=erlang