=== Test case: rest_client_SUITE:all_messages_are_archived/1 (click for source code)
=== Config value:
[{watchdog,<0.11349.2>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,rdbms},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
{preset,"mysql_redis"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.rest_client_SUITE.logs/run.2022-03-07_16.09.36/rest_client_suite.all_messages_are_archived.165122.html"},
{tc_group_properties,[{name,messages},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/rest_client_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.rest_client_SUITE.logs/run.2022-03-07_16.09.36/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
mod_amp => [],
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
mod_carboncopy => [],mod_commands => [],
mod_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_muc_commands => [],mod_muc_light_commands => [],
mod_register =>
[{access,register},
{ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
{welcome_message,{[],[]}}],
mod_roster =>
#{backend => rdbms,iqdisc => one_queue,store_current_id => false,
versioning => false},
mod_sic => #{iqdisc => one_queue},
mod_stream_management => [],
mod_vcard =>
#{backend => rdbms,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,ldap_binary_search_fields => [],
ldap_pool_tag => default,
ldap_search_fields =>
[{<<"User">>,<<"%u">>},
{<<"Full Name">>,<<"displayName">>},
{<<"Given Name">>,<<"givenName">>},
{<<"Middle Name">>,<<"initials">>},
{<<"Family Name">>,<<"sn">>},
{<<"Nickname">>,<<"%u">>},
{<<"Birthday">>,<<"birthDay">>},
{<<"Country">>,<<"c">>},
{<<"City">>,<<"l">>},
{<<"Email">>,<<"mail">>},
{<<"Organization Name">>,<<"o">>},
{<<"Organization Unit">>,<<"ou">>}],
ldap_search_operator => 'and',
ldap_search_reported =>
[{<<"Full Name">>,<<"FN">>},
{<<"Given Name">>,<<"FIRST">>},
{<<"Middle Name">>,<<"MIDDLE">>},
{<<"Family Name">>,<<"LAST">>},
{<<"Nickname">>,<<"NICK">>},
{<<"Birthday">>,<<"BDAY">>},
{<<"Country">>,<<"CTRY">>},
{<<"City">>,<<"LOCALITY">>},
{<<"Email">>,<<"EMAIL">>},
{<<"Organization Name">>,<<"ORGNAME">>},
{<<"Organization Unit">>,<<"ORGUNIT">>}],
ldap_uids => [{<<"uid">>,<<"%u">>}],
ldap_vcard_map =>
[{<<"NICKNAME">>,<<"%u">>,[]},
{<<"FN">>,<<"%s">>,[<<"displayName">>]},
{<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
{<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
{<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
{<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
{<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
{<<"CTRY">>,<<"%s">>,[<<"c">>]},
{<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
{<<"STREET">>,<<"%s">>,[<<"street">>]},
{<<"REGION">>,<<"%s">>,[<<"st">>]},
{<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
{<<"TITLE">>,<<"%s">>,[<<"title">>]},
{<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
{<<"DESC">>,<<"%s">>,[<<"description">>]},
{<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
{<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
{<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
{<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
{<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}],
matches => 30,search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55"
=== Started at 2022-03-07 16:09:36
*** User 2022-03-07 16:09:36.568 ***
alicE_all_messages_are_archived_2221@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 16:09:36.569 ***
alicE_all_messages_are_archived_2221@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4c2d42d9af182cbb' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:09:36.569 ***
alicE_all_messages_are_archived_2221@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-07 16:09:36.569 ***
alicE_all_messages_are_archived_2221@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbF9tZXNzYWdlc19hcmVfYXJjaGl2ZWRfMjIyMQBtYXR5Z3J5c2E=</auth>
*** User 2022-03-07 16:09:36.570 ***
alicE_all_messages_are_archived_2221@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 16:09:36.570 ***
alicE_all_messages_are_archived_2221@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 16:09:36.570 ***
alicE_all_messages_are_archived_2221@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='913fbc2a60ffe79d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:09:36.570 ***
alicE_all_messages_are_archived_2221@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-07 16:09:36.570 ***
alicE_all_messages_are_archived_2221@localhost/res1 out
<iq type='set' id='409c42a7d931d4e37b7eb57edbe647b8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 16:09:36.571 ***
alicE_all_messages_are_archived_2221@localhost/res1 in
<iq id='409c42a7d931d4e37b7eb57edbe647b8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_all_messages_are_archived_2221@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 16:09:36.571 ***
alicE_all_messages_are_archived_2221@localhost/res1 out
<iq type='set' id='c1749f93bd89ac96ce6b87825aa1819a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:09:36.571 ***
alicE_all_messages_are_archived_2221@localhost/res1 in
<iq type='result' id='c1749f93bd89ac96ce6b87825aa1819a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:09:36.571 ***
alicE_all_messages_are_archived_2221@localhost/res1 out
<presence/>
*** User 2022-03-07 16:09:36.577 ***
alicE_all_messages_are_archived_2221@localhost/res1 in
<presence from='alicE_all_messages_are_archived_2221@localhost/res1' to='alice_all_messages_are_archived_2221@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 16:09:36.581 ***
bOb_all_messages_are_archived_2221@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 16:09:36.581 ***
bOb_all_messages_are_archived_2221@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='54495e95efb761f3' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:09:36.581 ***
bOb_all_messages_are_archived_2221@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-07 16:09:36.581 ***
bOb_all_messages_are_archived_2221@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxfbWVzc2FnZXNfYXJlX2FyY2hpdmVkXzIyMjEAbWFrcm9saWth</auth>
*** User 2022-03-07 16:09:36.582 ***
bOb_all_messages_are_archived_2221@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 16:09:36.582 ***
bOb_all_messages_are_archived_2221@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 16:09:36.583 ***
bOb_all_messages_are_archived_2221@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e967ce8de3469620' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:09:36.583 ***
bOb_all_messages_are_archived_2221@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-07 16:09:36.583 ***
bOb_all_messages_are_archived_2221@localhost/res1 out
<iq type='set' id='bf63f5106b750ae2c3938c72e0f4d083'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 16:09:36.583 ***
bOb_all_messages_are_archived_2221@localhost/res1 in
<iq id='bf63f5106b750ae2c3938c72e0f4d083' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_all_messages_are_archived_2221@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 16:09:36.583 ***
bOb_all_messages_are_archived_2221@localhost/res1 out
<iq type='set' id='e8d36e0a6b06e82965405073fb346f5c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:09:36.583 ***
bOb_all_messages_are_archived_2221@localhost/res1 in
<iq type='result' id='e8d36e0a6b06e82965405073fb346f5c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:09:36.583 ***
bOb_all_messages_are_archived_2221@localhost/res1 out
<presence/>
*** User 2022-03-07 16:09:36.587 ***
bOb_all_messages_are_archived_2221@localhost/res1 in
<presence from='bOb_all_messages_are_archived_2221@localhost/res1' to='bob_all_messages_are_archived_2221@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 16:09:36.587 ***
kate_all_messages_are_archived_2221@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 16:09:36.588 ***
kate_all_messages_are_archived_2221@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ae7f79e4bfad629e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:09:36.588 ***
kate_all_messages_are_archived_2221@localhost/res1 in
<stream:features>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
<mechanism>SCRAM-SHA-256</mechanism>
<mechanism>PLAIN</mechanism>
</mechanisms>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-07 16:09:36.588 ***
kate_all_messages_are_archived_2221@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWxsX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF8yMjIxAG1ha3Jvd2U7cA==</auth>
*** User 2022-03-07 16:09:36.589 ***
kate_all_messages_are_archived_2221@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-07 16:09:36.589 ***
kate_all_messages_are_archived_2221@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-07 16:09:36.590 ***
kate_all_messages_are_archived_2221@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7946800464f8f011' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-07 16:09:36.590 ***
kate_all_messages_are_archived_2221@localhost/res1 in
<stream:features>
<compression xmlns='http://jabber.org/features/compress'>
<method>zlib</method>
</compression>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
<register xmlns='http://jabber.org/features/iq-register'/>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2022-03-07 16:09:36.590 ***
kate_all_messages_are_archived_2221@localhost/res1 out
<iq type='set' id='ae55d03ff12a5d73841e6de3a38ed215'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-07 16:09:36.590 ***
kate_all_messages_are_archived_2221@localhost/res1 in
<iq id='ae55d03ff12a5d73841e6de3a38ed215' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_all_messages_are_archived_2221@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-07 16:09:36.590 ***
kate_all_messages_are_archived_2221@localhost/res1 out
<iq type='set' id='0fa403c093608e9713f0bbe67cce9da8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:09:36.591 ***
kate_all_messages_are_archived_2221@localhost/res1 in
<iq type='result' id='0fa403c093608e9713f0bbe67cce9da8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-07 16:09:36.591 ***
kate_all_messages_are_archived_2221@localhost/res1 out
<presence/>
*** User 2022-03-07 16:09:36.595 ***
kate_all_messages_are_archived_2221@localhost/res1 in
<presence from='kate_all_messages_are_archived_2221@localhost/res1' to='kate_all_messages_are_archived_2221@localhost/res1' xml:lang='en'/>
*** User 2022-03-07 16:09:36.610 ***
REST request:
Code: 200
Req: {<0.11436.2>,<<"/api/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"50d4743e10ec43ac">>},
{<<"authorization">>,
<<"Basic Ym9iX2FsbF9tZXNzYWdlc19hcmVfYXJjaGl2ZWRfMjIyMUBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"to\":\"alice_all_messages_are_archived_2221@localhost\",\"body\":\"hello, alice_all_messages_are_archived_2221@localhost it's me\"}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 07 Mar 2022 16:09:36 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"1530b033-0db7-491e-b2d1-5e575fa3e401\"}">>,169,7893}
Params: #{body =>
<<"{\"to\":\"alice_all_messages_are_archived_2221@localhost\",\"body\":\"hello, alice_all_messages_are_archived_2221@localhost it's me\"}">>,
creds =>
{<<"bob_all_messages_are_archived_2221@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/messages">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-03-07 16:09:36.663 ***
REST request:
Code: 200
Req: {<0.11454.2>,<<"/api/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"fa2b94dcc905008d">>},
{<<"authorization">>,
<<"Basic YWxpY2VfYWxsX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF8yMjIxQGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
<<"{\"to\":\"bob_all_messages_are_archived_2221@localhost\",\"body\":\"hello, bob_all_messages_are_archived_2221@localhost it's me\"}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 07 Mar 2022 16:09:36 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"d566f478-0b4a-4516-a692-89fb83766b7a\"}">>,169,3683}
Params: #{body =>
<<"{\"to\":\"bob_all_messages_are_archived_2221@localhost\",\"body\":\"hello, bob_all_messages_are_archived_2221@localhost it's me\"}">>,
creds =>
{<<"alice_all_messages_are_archived_2221@localhost">>,
<<"matygrysa">>},
method => <<"POST">>,path => <<"/api/messages">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
Could not find element wait_for_parallel_writer in Config.
Could not find element archive_wait in Config.
*** User 2022-03-07 16:09:36.679 ***
REST request:
Code: 200
Req: {<0.11471.2>,<<"/api/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"806c1a6639833b02">>},
{<<"authorization">>,
<<"Basic a2F0ZV9hbGxfbWVzc2FnZXNfYXJlX2FyY2hpdmVkXzIyMjFAbG9jYWxob3N0Om1ha3Jvd2U7cA==">>}],
<<"{\"to\":\"alice_all_messages_are_archived_2221@localhost\",\"body\":\"hello, alice_all_messages_are_archived_2221@localhost it's me\"}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 07 Mar 2022 16:09:36 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"c1d01d6b-9543-408e-8a8c-2d995c6b5813\"}">>,169,5706}
Params: #{body =>
<<"{\"to\":\"alice_all_messages_are_archived_2221@localhost\",\"body\":\"hello, alice_all_messages_are_archived_2221@localhost it's me\"}">>,
creds =>
{<<"kate_all_messages_are_archived_2221@localhost">>,
<<"makrowe;p">>},
method => <<"POST">>,path => <<"/api/messages">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-03-07 16:09:36.693 ***
REST request:
Code: 200
Req: {<0.11486.2>,<<"/api/messages/">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"7c53193c8f474e6e">>},
{<<"authorization">>,
<<"Basic YWxpY2VfYWxsX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF8yMjIxQGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 07 Mar 2022 16:09:36 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"753">>}],
<<"[{\"to\":\"alice_all_messages_are_archived_2221@localhost\",\"timestamp\":1646669376604,\"id\":\"1530b033-0db7-491e-b2d1-5e575fa3e401\",\"from\":\"bob_all_messages_are_archived_2221@localhost\",\"body\":\"hello, alice_all_messages_are_archived_2221@localhost it's me\"},{\"to\":\"bob_all_messages_are_archived_2221@localhost\",\"timestamp\":1646669376661,\"id\":\"d566f478-0b4a-4516-a692-89fb83766b7a\",\"from\":\"alice_all_messages_are_archived_2221@localhost\",\"body\":\"hello, bob_all_messages_are_archived_2221@localhost it's me\"},{\"to\":\"alice_all_messages_are_archived_2221@localhost\",\"timestamp\":1646669376674,\"id\":\"c1d01d6b-9543-408e-8a8c-2d995c6b5813\",\"from\":\"kate_all_messages_are_archived_2221@localhost\",\"body\":\"hello, alice_all_messages_are_archived_2221@localhost it's me\"}]">>,
878,2876}
Params: #{body => <<>>,
creds =>
{<<"alice_all_messages_are_archived_2221@localhost">>,
<<"matygrysa">>},
method => <<"GET">>,path => <<"/api/messages/">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2022-03-07 16:09:36.693 ***
kate_all_messages_are_archived_2221@localhost/res1 out
</stream:stream>
*** User 2022-03-07 16:09:36.694 ***
kate_all_messages_are_archived_2221@localhost/res1 in
</stream:stream>
*** User 2022-03-07 16:09:36.694 ***
bOb_all_messages_are_archived_2221@localhost/res1 out
</stream:stream>
*** User 2022-03-07 16:09:36.694 ***
bOb_all_messages_are_archived_2221@localhost/res1 in
</stream:stream>
*** User 2022-03-07 16:09:36.694 ***
alicE_all_messages_are_archived_2221@localhost/res1 out
</stream:stream>
*** User 2022-03-07 16:09:36.694 ***
alicE_all_messages_are_archived_2221@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-07 16:09:36
=== successfully completed test case
=== === Returned value: ok