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

=== Config value:

    [{watchdog,<0.782.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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.rest_client_SUITE.logs/run.2022-05-11_09.04.42/rest_client_suite.all_messages_are_archived.150658.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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.rest_client_SUITE.logs/run.2022-05-11_09.04.42/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@df370d24fb6d.2022-05-11_08.56.40"

=== Started at 2022-05-11 09:04:42


*** CT 2022-05-11 09:04:42.932 *** View log from node mongooseim@localhost when started mongooseim@localhost_2597.html
*** CT 2022-05-11 09:04:42.933 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_524.html

*** User 2022-05-11 09:04:42.963 ***
alicE_all_messages_are_archived_1995@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-11 09:04:42.963 ***
alicE_all_messages_are_archived_1995@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a63434b2a5031dac' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:42.963 ***
alicE_all_messages_are_archived_1995@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-11 09:04:42.963 ***
alicE_all_messages_are_archived_1995@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbF9tZXNzYWdlc19hcmVfYXJjaGl2ZWRfMTk5NQBtYXR5Z3J5c2E=</auth>



*** User 2022-05-11 09:04:42.964 ***
alicE_all_messages_are_archived_1995@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:04:42.964 ***
alicE_all_messages_are_archived_1995@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-11 09:04:42.965 ***
alicE_all_messages_are_archived_1995@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ca944ccd54a1e79d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:42.965 ***
alicE_all_messages_are_archived_1995@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-11 09:04:42.965 ***
alicE_all_messages_are_archived_1995@domain.example.com/res1 out
<iq type='set' id='c80a5cd43940e0b8835b618091b029c5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:04:42.965 ***
alicE_all_messages_are_archived_1995@domain.example.com/res1 in
<iq id='c80a5cd43940e0b8835b618091b029c5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_all_messages_are_archived_1995@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:04:42.965 ***
alicE_all_messages_are_archived_1995@domain.example.com/res1 out
<iq type='set' id='c3d1e4409f46eefaa0a778c1e53e1ed4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:42.968 ***
alicE_all_messages_are_archived_1995@domain.example.com/res1 in
<iq type='result' id='c3d1e4409f46eefaa0a778c1e53e1ed4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:42.969 ***
alicE_all_messages_are_archived_1995@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:04:42.970 ***
alicE_all_messages_are_archived_1995@domain.example.com/res1 in
<presence from='alicE_all_messages_are_archived_1995@domain.example.com/res1' to='alice_all_messages_are_archived_1995@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:04:42.971 ***
bOb_all_messages_are_archived_1995@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-11 09:04:42.971 ***
bOb_all_messages_are_archived_1995@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5da1263712ceb85d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:42.971 ***
bOb_all_messages_are_archived_1995@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-11 09:04:42.971 ***
bOb_all_messages_are_archived_1995@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxfbWVzc2FnZXNfYXJlX2FyY2hpdmVkXzE5OTUAbWFrcm9saWth</auth>



*** User 2022-05-11 09:04:42.972 ***
bOb_all_messages_are_archived_1995@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:04:42.972 ***
bOb_all_messages_are_archived_1995@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-11 09:04:42.972 ***
bOb_all_messages_are_archived_1995@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='db33b0df244435b4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:42.973 ***
bOb_all_messages_are_archived_1995@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-11 09:04:42.973 ***
bOb_all_messages_are_archived_1995@domain.example.com/res1 out
<iq type='set' id='1da9a29c41d8c5e4657a6b902d04f63e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:04:42.973 ***
bOb_all_messages_are_archived_1995@domain.example.com/res1 in
<iq id='1da9a29c41d8c5e4657a6b902d04f63e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_all_messages_are_archived_1995@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:04:42.973 ***
bOb_all_messages_are_archived_1995@domain.example.com/res1 out
<iq type='set' id='ed0407ee254f1981f4f07deac5791825'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:42.973 ***
bOb_all_messages_are_archived_1995@domain.example.com/res1 in
<iq type='result' id='ed0407ee254f1981f4f07deac5791825'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:42.973 ***
bOb_all_messages_are_archived_1995@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:04:42.975 ***
bOb_all_messages_are_archived_1995@domain.example.com/res1 in
<presence from='bOb_all_messages_are_archived_1995@domain.example.com/res1' to='bob_all_messages_are_archived_1995@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:04:42.975 ***
kate_all_messages_are_archived_1995@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-11 09:04:42.976 ***
kate_all_messages_are_archived_1995@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='579aedaed6b35dde' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:42.976 ***
kate_all_messages_are_archived_1995@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-11 09:04:42.976 ***
kate_all_messages_are_archived_1995@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWxsX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF8xOTk1AG1ha3Jvd2U7cA==</auth>



*** User 2022-05-11 09:04:42.977 ***
kate_all_messages_are_archived_1995@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:04:42.977 ***
kate_all_messages_are_archived_1995@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-11 09:04:42.977 ***
kate_all_messages_are_archived_1995@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c4c6fc8a2f1599b0' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:42.977 ***
kate_all_messages_are_archived_1995@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-11 09:04:42.977 ***
kate_all_messages_are_archived_1995@domain.example.com/res1 out
<iq type='set' id='f248f4ec4a18cb592aab723ecb66516e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:04:42.977 ***
kate_all_messages_are_archived_1995@domain.example.com/res1 in
<iq id='f248f4ec4a18cb592aab723ecb66516e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_all_messages_are_archived_1995@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:04:42.977 ***
kate_all_messages_are_archived_1995@domain.example.com/res1 out
<iq type='set' id='0a26830c79eae0efc4cecef527987868'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:42.978 ***
kate_all_messages_are_archived_1995@domain.example.com/res1 in
<iq type='result' id='0a26830c79eae0efc4cecef527987868'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:42.978 ***
kate_all_messages_are_archived_1995@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:04:42.979 ***
kate_all_messages_are_archived_1995@domain.example.com/res1 in
<presence from='kate_all_messages_are_archived_1995@domain.example.com/res1' to='kate_all_messages_are_archived_1995@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:04:42.991 ***
REST request:
Code: 200
Req: {<0.939.2>,<<"/api/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"15e10e426625e9b4">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FsbF9tZXNzYWdlc19hcmVfYXJjaGl2ZWRfMTk5NUBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"to\":\"alice_all_messages_are_archived_1995@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1995@domain.example.com it's me\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:04:42 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"21e92b27-246d-4e7e-85bd-64f3784765fb\"}">>,169,4164}
Params: #{body =>
              <<"{\"to\":\"alice_all_messages_are_archived_1995@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1995@domain.example.com it's me\"}">>,
          creds =>
              {<<"bob_all_messages_are_archived_1995@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-11 09:04:43.006 ***
REST request:
Code: 200
Req: {<0.953.2>,<<"/api/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a773c5de91eed37c">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfYWxsX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF8xOTk1QGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}],
      <<"{\"to\":\"bob_all_messages_are_archived_1995@domain.example.com\",\"body\":\"hello, bob_all_messages_are_archived_1995@domain.example.com it's me\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:04:42 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"ba2cfba8-a61a-41e6-9d4e-079852e059ea\"}">>,169,5614}
Params: #{body =>
              <<"{\"to\":\"bob_all_messages_are_archived_1995@domain.example.com\",\"body\":\"hello, bob_all_messages_are_archived_1995@domain.example.com it's me\"}">>,
          creds =>
              {<<"alice_all_messages_are_archived_1995@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.


*** User 2022-05-11 09:04:43.036 ***
REST request:
Code: 200
Req: {<0.970.2>,<<"/api/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"09cbf9d8280151e7">>},
       {<<"authorization">>,
        <<"Basic a2F0ZV9hbGxfbWVzc2FnZXNfYXJlX2FyY2hpdmVkXzE5OTVAZG9tYWluLmV4YW1wbGUuY29tOm1ha3Jvd2U7cA==">>}],
      <<"{\"to\":\"alice_all_messages_are_archived_1995@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1995@domain.example.com it's me\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:04:42 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"7f09f1f1-61a9-4bf1-8950-51654ccb7601\"}">>,169,22020}
Params: #{body =>
              <<"{\"to\":\"alice_all_messages_are_archived_1995@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1995@domain.example.com it's me\"}">>,
          creds =>
              {<<"kate_all_messages_are_archived_1995@domain.example.com">>,
               <<"makrowe;p">>},
          method => <<"POST">>,path => <<"/api/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}

Could not find element archive_wait in Config.


*** User 2022-05-11 09:04:43.046 ***
REST request:
Code: 200
Req: {<0.992.2>,<<"/api/messages/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c1a13c741d16d5b2">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfYWxsX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF8xOTk1QGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:04:42 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"834">>}],
         <<"[{\"to\":\"alice_all_messages_are_archived_1995@domain.example.com\",\"timestamp\":1652259882987,\"id\":\"21e92b27-246d-4e7e-85bd-64f3784765fb\",\"from\":\"bob_all_messages_are_archived_1995@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1995@domain.example.com it's me\"},{\"to\":\"bob_all_messages_are_archived_1995@domain.example.com\",\"timestamp\":1652259883002,\"id\":\"ba2cfba8-a61a-41e6-9d4e-079852e059ea\",\"from\":\"alice_all_messages_are_archived_1995@domain.example.com\",\"body\":\"hello, bob_all_messages_are_archived_1995@domain.example.com it's me\"},{\"to\":\"alice_all_messages_are_archived_1995@domain.example.com\",\"timestamp\":1652259883021,\"id\":\"7f09f1f1-61a9-4bf1-8950-51654ccb7601\",\"from\":\"kate_all_messages_are_archived_1995@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1995@domain.example.com it's me\"}]">>,
         959,2064}
Params: #{body => <<>>,
          creds =>
              {<<"alice_all_messages_are_archived_1995@domain.example.com">>,
               <<"matygrysa">>},
          method => <<"GET">>,path => <<"/api/messages/">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-11 09:04:43.046 ***
kate_all_messages_are_archived_1995@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:04:43.046 ***
kate_all_messages_are_archived_1995@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-11 09:04:43.046 ***
bOb_all_messages_are_archived_1995@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:04:43.046 ***
bOb_all_messages_are_archived_1995@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-11 09:04:43.047 ***
alicE_all_messages_are_archived_1995@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:04:43.047 ***
alicE_all_messages_are_archived_1995@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-11 09:04:43.049 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_524.html
*** CT 2022-05-11 09:04:43.050 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2597.html



=== Ended at 2022-05-11 09:04:43
=== successfully completed test case
=== === Returned value: ok