forked from esl/escalus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.config
51 lines (42 loc) · 1.85 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
%% -*- 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 addres
{ejabberd_addr, <<"127.0.0.1">>}.
{ejabberd_secondary_domain, <<"localhost.bis">>}.
{ejabberd_metrics_rest_port, 5280}.
{ejabberd_string_format, bin}.
{escalus_user_db, {module, escalus_ejabberd, []}}.
{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