=== Test case: rest_client_SUITE:all_messages_are_archived/1 (click for source code)

=== Config value:

    [{watchdog,<0.1036.2>},
     {muc_light_host,<<"muclight.domain.example.com">>},
     {mam_backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.rest_client_SUITE.logs/run.2022-05-18_10.08.22/rest_client_suite.all_messages_are_archived.151682.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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.rest_client_SUITE.logs/run.2022-05-18_10.08.22/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        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"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a4fd8d8e9aae.2022-05-18_09.59.33"

=== Started at 2022-05-18 10:08:22


*** CT 2022-05-18 10:08:22.912 *** View log from node mongooseim@localhost when started mongooseim@localhost_2504.html
*** CT 2022-05-18 10:08:22.914 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_526.html

*** User 2022-05-18 10:08:22.931 ***
alicE_all_messages_are_archived_1880@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-18 10:08:22.932 ***
alicE_all_messages_are_archived_1880@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f8ce22b96d3eb42c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:08:22.932 ***
alicE_all_messages_are_archived_1880@domain.example.com/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-05-18 10:08:22.932 ***
alicE_all_messages_are_archived_1880@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbF9tZXNzYWdlc19hcmVfYXJjaGl2ZWRfMTg4MABtYXR5Z3J5c2E=</auth>



*** User 2022-05-18 10:08:22.933 ***
alicE_all_messages_are_archived_1880@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:08:22.933 ***
alicE_all_messages_are_archived_1880@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-18 10:08:22.934 ***
alicE_all_messages_are_archived_1880@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b8b8f1da465a9562' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:08:22.934 ***
alicE_all_messages_are_archived_1880@domain.example.com/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-05-18 10:08:22.934 ***
alicE_all_messages_are_archived_1880@domain.example.com/res1 out
<iq type='set' id='cf56fd96bd67f98ca1631f6c2f657a22'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:08:22.934 ***
alicE_all_messages_are_archived_1880@domain.example.com/res1 in
<iq id='cf56fd96bd67f98ca1631f6c2f657a22' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_all_messages_are_archived_1880@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:08:22.934 ***
alice_all_messages_are_archived_1880@domain.example.com/res1 out
<iq type='set' id='360019ba9ec868780af5060952327da3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:08:22.935 ***
alice_all_messages_are_archived_1880@domain.example.com/res1 in
<iq type='result' id='360019ba9ec868780af5060952327da3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:08:22.935 ***
alice_all_messages_are_archived_1880@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:08:22.936 ***
alice_all_messages_are_archived_1880@domain.example.com/res1 in
<presence from='alice_all_messages_are_archived_1880@domain.example.com/res1' to='alice_all_messages_are_archived_1880@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:08:22.937 ***
bOb_all_messages_are_archived_1880@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-18 10:08:22.937 ***
bOb_all_messages_are_archived_1880@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d669cd3967157ac4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:08:22.937 ***
bOb_all_messages_are_archived_1880@domain.example.com/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-05-18 10:08:22.938 ***
bOb_all_messages_are_archived_1880@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxfbWVzc2FnZXNfYXJlX2FyY2hpdmVkXzE4ODAAbWFrcm9saWth</auth>



*** User 2022-05-18 10:08:22.938 ***
bOb_all_messages_are_archived_1880@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:08:22.939 ***
bOb_all_messages_are_archived_1880@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-18 10:08:22.950 ***
bOb_all_messages_are_archived_1880@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='385bb94ed0df853e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:08:22.958 ***
bOb_all_messages_are_archived_1880@domain.example.com/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-05-18 10:08:22.958 ***
bOb_all_messages_are_archived_1880@domain.example.com/res1 out
<iq type='set' id='ca06d963c5714a165f24ce1d114a1117'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:08:22.960 ***
bOb_all_messages_are_archived_1880@domain.example.com/res1 in
<iq id='ca06d963c5714a165f24ce1d114a1117' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_all_messages_are_archived_1880@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:08:22.960 ***
bob_all_messages_are_archived_1880@domain.example.com/res1 out
<iq type='set' id='444a0b7b935603ff39fbb55f9c425c69'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:08:22.961 ***
bob_all_messages_are_archived_1880@domain.example.com/res1 in
<iq type='result' id='444a0b7b935603ff39fbb55f9c425c69'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:08:22.961 ***
bob_all_messages_are_archived_1880@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:08:22.967 ***
bob_all_messages_are_archived_1880@domain.example.com/res1 in
<presence from='bob_all_messages_are_archived_1880@domain.example.com/res1' to='bob_all_messages_are_archived_1880@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:08:22.968 ***
kate_all_messages_are_archived_1880@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-18 10:08:22.968 ***
kate_all_messages_are_archived_1880@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0e0ee01f4ebfbc95' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:08:22.968 ***
kate_all_messages_are_archived_1880@domain.example.com/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-05-18 10:08:22.969 ***
kate_all_messages_are_archived_1880@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWxsX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF8xODgwAG1ha3Jvd2U7cA==</auth>



*** User 2022-05-18 10:08:22.970 ***
kate_all_messages_are_archived_1880@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:08:22.970 ***
kate_all_messages_are_archived_1880@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-18 10:08:22.971 ***
kate_all_messages_are_archived_1880@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6e6adab406ad40f7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:08:22.971 ***
kate_all_messages_are_archived_1880@domain.example.com/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-05-18 10:08:22.974 ***
kate_all_messages_are_archived_1880@domain.example.com/res1 out
<iq type='set' id='b4098b5eda75c09164ee72ed0084d509'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:08:22.975 ***
kate_all_messages_are_archived_1880@domain.example.com/res1 in
<iq id='b4098b5eda75c09164ee72ed0084d509' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_all_messages_are_archived_1880@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:08:22.975 ***
kate_all_messages_are_archived_1880@domain.example.com/res1 out
<iq type='set' id='883c65106f029ddd0806b12f4240304e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:08:22.975 ***
kate_all_messages_are_archived_1880@domain.example.com/res1 in
<iq type='result' id='883c65106f029ddd0806b12f4240304e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:08:22.976 ***
kate_all_messages_are_archived_1880@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:08:22.977 ***
kate_all_messages_are_archived_1880@domain.example.com/res1 in
<presence from='kate_all_messages_are_archived_1880@domain.example.com/res1' to='kate_all_messages_are_archived_1880@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:08:22.990 ***
REST request:
Code: 200
Req: {<0.1199.2>,<<"/api/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1a208a6e0a2be079">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FsbF9tZXNzYWdlc19hcmVfYXJjaGl2ZWRfMTg4MEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"to\":\"alice_all_messages_are_archived_1880@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1880@domain.example.com it's me\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 18 May 2022 10:08:22 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"22979091-bc98-4fbc-88dd-11bb4103b327\"}">>,169,4917}
Params: #{body =>
              <<"{\"to\":\"alice_all_messages_are_archived_1880@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1880@domain.example.com it's me\"}">>,
          creds =>
              {<<"bob_all_messages_are_archived_1880@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-18 10:08:23.003 ***
REST request:
Code: 200
Req: {<0.1217.2>,<<"/api/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f06cf588923d6aa9">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfYWxsX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF8xODgwQGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}],
      <<"{\"to\":\"bob_all_messages_are_archived_1880@domain.example.com\",\"body\":\"hello, bob_all_messages_are_archived_1880@domain.example.com it's me\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 18 May 2022 10:08:22 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"5a34c221-4bbc-4758-ae04-a2bc94bf9ad7\"}">>,169,4401}
Params: #{body =>
              <<"{\"to\":\"bob_all_messages_are_archived_1880@domain.example.com\",\"body\":\"hello, bob_all_messages_are_archived_1880@domain.example.com it's me\"}">>,
          creds =>
              {<<"alice_all_messages_are_archived_1880@domain.example.com">>,
               <<"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-05-18 10:08:23.019 ***
REST request:
Code: 200
Req: {<0.1233.2>,<<"/api/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9a46a0ad24ef2ca7">>},
       {<<"authorization">>,
        <<"Basic a2F0ZV9hbGxfbWVzc2FnZXNfYXJlX2FyY2hpdmVkXzE4ODBAZG9tYWluLmV4YW1wbGUuY29tOm1ha3Jvd2U7cA==">>}],
      <<"{\"to\":\"alice_all_messages_are_archived_1880@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1880@domain.example.com it's me\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 18 May 2022 10:08:22 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"991aaaab-c876-4b2f-a6f3-7cdc76754eda\"}">>,169,4012}
Params: #{body =>
              <<"{\"to\":\"alice_all_messages_are_archived_1880@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1880@domain.example.com it's me\"}">>,
          creds =>
              {<<"kate_all_messages_are_archived_1880@domain.example.com">>,
               <<"makrowe;p">>},
          method => <<"POST">>,path => <<"/api/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-18 10:08:23.067 ***
REST request:
Code: 200
Req: {<0.1251.2>,<<"/api/messages/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"70a618d64326445a">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfYWxsX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF8xODgwQGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 18 May 2022 10:08:22 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"834">>}],
         <<"[{\"to\":\"alice_all_messages_are_archived_1880@domain.example.com\",\"timestamp\":1652868502986,\"id\":\"22979091-bc98-4fbc-88dd-11bb4103b327\",\"from\":\"bob_all_messages_are_archived_1880@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1880@domain.example.com it's me\"},{\"to\":\"bob_all_messages_are_archived_1880@domain.example.com\",\"timestamp\":1652868503000,\"id\":\"5a34c221-4bbc-4758-ae04-a2bc94bf9ad7\",\"from\":\"alice_all_messages_are_archived_1880@domain.example.com\",\"body\":\"hello, bob_all_messages_are_archived_1880@domain.example.com it's me\"},{\"to\":\"alice_all_messages_are_archived_1880@domain.example.com\",\"timestamp\":1652868503016,\"id\":\"991aaaab-c876-4b2f-a6f3-7cdc76754eda\",\"from\":\"kate_all_messages_are_archived_1880@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1880@domain.example.com it's me\"}]">>,
         959,40448}
Params: #{body => <<>>,
          creds =>
              {<<"alice_all_messages_are_archived_1880@domain.example.com">>,
               <<"matygrysa">>},
          method => <<"GET">>,path => <<"/api/messages/">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-18 10:08:23.068 ***
kate_all_messages_are_archived_1880@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-18 10:08:23.069 ***
kate_all_messages_are_archived_1880@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-18 10:08:23.069 ***
bob_all_messages_are_archived_1880@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-18 10:08:23.079 ***
bob_all_messages_are_archived_1880@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-18 10:08:23.080 ***
alice_all_messages_are_archived_1880@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-18 10:08:23.082 ***
alice_all_messages_are_archived_1880@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-18 10:08:23.099 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_526.html
*** CT 2022-05-18 10:08:23.101 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2504.html



=== Ended at 2022-05-18 10:08:23
=== successfully completed test case
=== === Returned value: ok