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

=== Config value:

    [{watchdog,<0.1118.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,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.rest_client_SUITE.logs/run.2022-05-25_09.13.27/rest_client_suite.all_messages_are_archived.140034.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@f0b09cc3aef4.2022-05-25_09.03.38/big_tests.tests.rest_client_SUITE.logs/run.2022-05-25_09.13.27/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@f0b09cc3aef4.2022-05-25_09.03.38"

=== Started at 2022-05-25 09:13:27


*** CT 2022-05-25 09:13:27.983 *** View log from node mongooseim@localhost when started mongooseim@localhost_2514.html
*** CT 2022-05-25 09:13:27.984 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_520.html

*** User 2022-05-25 09:13:28.002 ***
alicE_all_messages_are_archived_2030@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-25 09:13:28.002 ***
alicE_all_messages_are_archived_2030@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ebd804ae87d3915b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:28.002 ***
alicE_all_messages_are_archived_2030@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-25 09:13:28.002 ***
alicE_all_messages_are_archived_2030@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbF9tZXNzYWdlc19hcmVfYXJjaGl2ZWRfMjAzMABtYXR5Z3J5c2E=</auth>



*** User 2022-05-25 09:13:28.003 ***
alicE_all_messages_are_archived_2030@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:13:28.003 ***
alicE_all_messages_are_archived_2030@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-25 09:13:28.004 ***
alicE_all_messages_are_archived_2030@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a0b60307fffc40f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:28.004 ***
alicE_all_messages_are_archived_2030@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-25 09:13:28.004 ***
alicE_all_messages_are_archived_2030@domain.example.com/res1 out
<iq type='set' id='bbef535fb78b7bdbfb06f765c6bb24ad'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:13:28.004 ***
alicE_all_messages_are_archived_2030@domain.example.com/res1 in
<iq id='bbef535fb78b7bdbfb06f765c6bb24ad' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_all_messages_are_archived_2030@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:13:28.004 ***
alice_all_messages_are_archived_2030@domain.example.com/res1 out
<iq type='set' id='bd4476b5e597c13b5f1a35b334d53429'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:28.005 ***
alice_all_messages_are_archived_2030@domain.example.com/res1 in
<iq type='result' id='bd4476b5e597c13b5f1a35b334d53429'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:28.005 ***
alice_all_messages_are_archived_2030@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:13:28.011 ***
alice_all_messages_are_archived_2030@domain.example.com/res1 in
<presence from='alice_all_messages_are_archived_2030@domain.example.com/res1' to='alice_all_messages_are_archived_2030@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:13:28.014 ***
bOb_all_messages_are_archived_2030@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-25 09:13:28.014 ***
bOb_all_messages_are_archived_2030@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1faeb04e3c894588' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:28.015 ***
bOb_all_messages_are_archived_2030@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-25 09:13:28.015 ***
bOb_all_messages_are_archived_2030@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxfbWVzc2FnZXNfYXJlX2FyY2hpdmVkXzIwMzAAbWFrcm9saWth</auth>



*** User 2022-05-25 09:13:28.016 ***
bOb_all_messages_are_archived_2030@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:13:28.016 ***
bOb_all_messages_are_archived_2030@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-25 09:13:28.016 ***
bOb_all_messages_are_archived_2030@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d1f0107157ba1ee' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:28.016 ***
bOb_all_messages_are_archived_2030@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-25 09:13:28.016 ***
bOb_all_messages_are_archived_2030@domain.example.com/res1 out
<iq type='set' id='88b77022e303cb7150d7fcec8000135b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:13:28.017 ***
bOb_all_messages_are_archived_2030@domain.example.com/res1 in
<iq id='88b77022e303cb7150d7fcec8000135b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_all_messages_are_archived_2030@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:13:28.017 ***
bob_all_messages_are_archived_2030@domain.example.com/res1 out
<iq type='set' id='4b244cd7c89e9b53a64cfde5ab62467f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:28.017 ***
bob_all_messages_are_archived_2030@domain.example.com/res1 in
<iq type='result' id='4b244cd7c89e9b53a64cfde5ab62467f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:28.017 ***
bob_all_messages_are_archived_2030@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:13:28.026 ***
bob_all_messages_are_archived_2030@domain.example.com/res1 in
<presence from='bob_all_messages_are_archived_2030@domain.example.com/res1' to='bob_all_messages_are_archived_2030@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:13:28.027 ***
kate_all_messages_are_archived_2030@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-25 09:13:28.027 ***
kate_all_messages_are_archived_2030@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='020e85ab1b985422' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:28.027 ***
kate_all_messages_are_archived_2030@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-25 09:13:28.027 ***
kate_all_messages_are_archived_2030@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWxsX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF8yMDMwAG1ha3Jvd2U7cA==</auth>



*** User 2022-05-25 09:13:28.028 ***
kate_all_messages_are_archived_2030@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 09:13:28.028 ***
kate_all_messages_are_archived_2030@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-25 09:13:28.028 ***
kate_all_messages_are_archived_2030@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='642a15f0673c4612' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-25 09:13:28.028 ***
kate_all_messages_are_archived_2030@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-25 09:13:28.029 ***
kate_all_messages_are_archived_2030@domain.example.com/res1 out
<iq type='set' id='2040a608ce73b0482dcb233ccf49ff17'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 09:13:28.029 ***
kate_all_messages_are_archived_2030@domain.example.com/res1 in
<iq id='2040a608ce73b0482dcb233ccf49ff17' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_all_messages_are_archived_2030@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 09:13:28.029 ***
kate_all_messages_are_archived_2030@domain.example.com/res1 out
<iq type='set' id='d98b282db6bd62b95d648192b3c5ed63'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:28.029 ***
kate_all_messages_are_archived_2030@domain.example.com/res1 in
<iq type='result' id='d98b282db6bd62b95d648192b3c5ed63'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 09:13:28.029 ***
kate_all_messages_are_archived_2030@domain.example.com/res1 out
<presence/>



*** User 2022-05-25 09:13:28.031 ***
kate_all_messages_are_archived_2030@domain.example.com/res1 in
<presence from='kate_all_messages_are_archived_2030@domain.example.com/res1' to='kate_all_messages_are_archived_2030@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-25 09:13:28.083 ***
REST request:
Code: 200
Req: {<0.1268.2>,<<"/api/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0da84583ce62712d">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FsbF9tZXNzYWdlc19hcmVfYXJjaGl2ZWRfMjAzMEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"to\":\"alice_all_messages_are_archived_2030@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_2030@domain.example.com it's me\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 09:13:27 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"6fefa637-854c-4397-98e3-7ccfde995d88\"}">>,169,46209}
Params: #{body =>
              <<"{\"to\":\"alice_all_messages_are_archived_2030@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_2030@domain.example.com it's me\"}">>,
          creds =>
              {<<"bob_all_messages_are_archived_2030@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-25 09:13:28.095 ***
REST request:
Code: 200
Req: {<0.1294.2>,<<"/api/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ce23f436cc3b5fd4">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfYWxsX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF8yMDMwQGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}],
      <<"{\"to\":\"bob_all_messages_are_archived_2030@domain.example.com\",\"body\":\"hello, bob_all_messages_are_archived_2030@domain.example.com it's me\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 09:13:27 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"ad1f2469-8b1f-4e66-8989-711aa7de1e19\"}">>,169,4535}
Params: #{body =>
              <<"{\"to\":\"bob_all_messages_are_archived_2030@domain.example.com\",\"body\":\"hello, bob_all_messages_are_archived_2030@domain.example.com it's me\"}">>,
          creds =>
              {<<"alice_all_messages_are_archived_2030@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-25 09:13:28.112 ***
REST request:
Code: 200
Req: {<0.1304.2>,<<"/api/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a49d1778cf2c02dd">>},
       {<<"authorization">>,
        <<"Basic a2F0ZV9hbGxfbWVzc2FnZXNfYXJlX2FyY2hpdmVkXzIwMzBAZG9tYWluLmV4YW1wbGUuY29tOm1ha3Jvd2U7cA==">>}],
      <<"{\"to\":\"alice_all_messages_are_archived_2030@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_2030@domain.example.com it's me\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 09:13:27 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"2630d3b5-590e-49cc-9c47-a636744d8244\"}">>,169,10832}
Params: #{body =>
              <<"{\"to\":\"alice_all_messages_are_archived_2030@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_2030@domain.example.com it's me\"}">>,
          creds =>
              {<<"kate_all_messages_are_archived_2030@domain.example.com">>,
               <<"makrowe;p">>},
          method => <<"POST">>,path => <<"/api/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-25 09:13:28.121 ***
REST request:
Code: 200
Req: {<0.1314.2>,<<"/api/messages/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0452ecb21a08ad02">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfYWxsX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF8yMDMwQGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 09:13:27 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"834">>}],
         <<"[{\"to\":\"alice_all_messages_are_archived_2030@domain.example.com\",\"timestamp\":1653470008038,\"id\":\"6fefa637-854c-4397-98e3-7ccfde995d88\",\"from\":\"bob_all_messages_are_archived_2030@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_2030@domain.example.com it's me\"},{\"to\":\"bob_all_messages_are_archived_2030@domain.example.com\",\"timestamp\":1653470008091,\"id\":\"ad1f2469-8b1f-4e66-8989-711aa7de1e19\",\"from\":\"alice_all_messages_are_archived_2030@domain.example.com\",\"body\":\"hello, bob_all_messages_are_archived_2030@domain.example.com it's me\"},{\"to\":\"alice_all_messages_are_archived_2030@domain.example.com\",\"timestamp\":1653470008102,\"id\":\"2630d3b5-590e-49cc-9c47-a636744d8244\",\"from\":\"kate_all_messages_are_archived_2030@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_2030@domain.example.com it's me\"}]">>,
         959,3158}
Params: #{body => <<>>,
          creds =>
              {<<"alice_all_messages_are_archived_2030@domain.example.com">>,
               <<"matygrysa">>},
          method => <<"GET">>,path => <<"/api/messages/">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-25 09:13:28.122 ***
kate_all_messages_are_archived_2030@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:13:28.123 ***
kate_all_messages_are_archived_2030@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:13:28.123 ***
bob_all_messages_are_archived_2030@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:13:28.123 ***
bob_all_messages_are_archived_2030@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-25 09:13:28.123 ***
alice_all_messages_are_archived_2030@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-25 09:13:28.123 ***
alice_all_messages_are_archived_2030@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-25 09:13:28.126 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_520.html
*** CT 2022-05-25 09:13:28.126 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2515.html



=== Ended at 2022-05-25 09:13:28
=== successfully completed test case
=== === Returned value: ok