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

=== Config value:

    [{watchdog,<0.29986.1>},
     {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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.rest_client_SUITE.logs/run.2022-03-18_10.58.25/rest_client_suite.all_messages_are_archived.145922.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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.rest_client_SUITE.logs/run.2022-03-18_10.58.25/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 => [],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 =>
            #{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@a072b68d2bee.2022-03-18_10.50.04"

=== Started at 2022-03-18 10:58:25


*** CT 2022-03-18 10:58:25.698 *** View log from node mongooseim@localhost when started mongooseim@localhost_1598.html
*** CT 2022-03-18 10:58:25.698 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_533.html

*** User 2022-03-18 10:58:25.709 ***
alicE_all_messages_are_archived_1992@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-03-18 10:58:25.710 ***
alicE_all_messages_are_archived_1992@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='84d99368163122c8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:25.710 ***
alicE_all_messages_are_archived_1992@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-03-18 10:58:25.710 ***
alicE_all_messages_are_archived_1992@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FsbF9tZXNzYWdlc19hcmVfYXJjaGl2ZWRfMTk5MgBtYXR5Z3J5c2E=</auth>



*** User 2022-03-18 10:58:25.711 ***
alicE_all_messages_are_archived_1992@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:58:25.711 ***
alicE_all_messages_are_archived_1992@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-03-18 10:58:25.711 ***
alicE_all_messages_are_archived_1992@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a65eed857016ac4d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:25.711 ***
alicE_all_messages_are_archived_1992@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-03-18 10:58:25.711 ***
alicE_all_messages_are_archived_1992@domain.example.com/res1 out
<iq type='set' id='295bb251525e11dc8a37eb1a50ab1a8d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:25.712 ***
alicE_all_messages_are_archived_1992@domain.example.com/res1 in
<iq id='295bb251525e11dc8a37eb1a50ab1a8d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_all_messages_are_archived_1992@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:25.712 ***
alicE_all_messages_are_archived_1992@domain.example.com/res1 out
<iq type='set' id='54da2abd7a9f4c69bd3ab325ecca4003'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:25.712 ***
alicE_all_messages_are_archived_1992@domain.example.com/res1 in
<iq type='result' id='54da2abd7a9f4c69bd3ab325ecca4003'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:25.712 ***
alicE_all_messages_are_archived_1992@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:58:25.714 ***
alicE_all_messages_are_archived_1992@domain.example.com/res1 in
<presence from='alicE_all_messages_are_archived_1992@domain.example.com/res1' to='alice_all_messages_are_archived_1992@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:25.714 ***
bOb_all_messages_are_archived_1992@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-03-18 10:58:25.715 ***
bOb_all_messages_are_archived_1992@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa9d59e71f77b843' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:25.715 ***
bOb_all_messages_are_archived_1992@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-03-18 10:58:25.715 ***
bOb_all_messages_are_archived_1992@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hbGxfbWVzc2FnZXNfYXJlX2FyY2hpdmVkXzE5OTIAbWFrcm9saWth</auth>



*** User 2022-03-18 10:58:25.718 ***
bOb_all_messages_are_archived_1992@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:58:25.722 ***
bOb_all_messages_are_archived_1992@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-03-18 10:58:25.722 ***
bOb_all_messages_are_archived_1992@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1c0ac3c97e195133' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:25.722 ***
bOb_all_messages_are_archived_1992@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-03-18 10:58:25.722 ***
bOb_all_messages_are_archived_1992@domain.example.com/res1 out
<iq type='set' id='83f05a8a118baae5f6c3451900d75ad9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:25.722 ***
bOb_all_messages_are_archived_1992@domain.example.com/res1 in
<iq id='83f05a8a118baae5f6c3451900d75ad9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_all_messages_are_archived_1992@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:25.723 ***
bOb_all_messages_are_archived_1992@domain.example.com/res1 out
<iq type='set' id='2824a04d6f3a3109a8044fa961d0298f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:25.723 ***
bOb_all_messages_are_archived_1992@domain.example.com/res1 in
<iq type='result' id='2824a04d6f3a3109a8044fa961d0298f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:25.723 ***
bOb_all_messages_are_archived_1992@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:58:25.725 ***
bOb_all_messages_are_archived_1992@domain.example.com/res1 in
<presence from='bOb_all_messages_are_archived_1992@domain.example.com/res1' to='bob_all_messages_are_archived_1992@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:25.725 ***
kate_all_messages_are_archived_1992@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-03-18 10:58:25.726 ***
kate_all_messages_are_archived_1992@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c8d467ea12b77843' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:25.726 ***
kate_all_messages_are_archived_1992@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-03-18 10:58:25.726 ***
kate_all_messages_are_archived_1992@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWxsX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF8xOTkyAG1ha3Jvd2U7cA==</auth>



*** User 2022-03-18 10:58:25.727 ***
kate_all_messages_are_archived_1992@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:58:25.727 ***
kate_all_messages_are_archived_1992@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-03-18 10:58:25.727 ***
kate_all_messages_are_archived_1992@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d2735575f321ca73' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:25.727 ***
kate_all_messages_are_archived_1992@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-03-18 10:58:25.727 ***
kate_all_messages_are_archived_1992@domain.example.com/res1 out
<iq type='set' id='226b361fb6772c9db8865c69e0c3fea7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:25.727 ***
kate_all_messages_are_archived_1992@domain.example.com/res1 in
<iq id='226b361fb6772c9db8865c69e0c3fea7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_all_messages_are_archived_1992@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:25.727 ***
kate_all_messages_are_archived_1992@domain.example.com/res1 out
<iq type='set' id='889454b2cfc7db8b3861654a93671139'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:25.728 ***
kate_all_messages_are_archived_1992@domain.example.com/res1 in
<iq type='result' id='889454b2cfc7db8b3861654a93671139'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:25.728 ***
kate_all_messages_are_archived_1992@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:58:25.733 ***
kate_all_messages_are_archived_1992@domain.example.com/res1 in
<presence from='kate_all_messages_are_archived_1992@domain.example.com/res1' to='kate_all_messages_are_archived_1992@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:25.746 ***
REST request:
Code: 200
Req: {<0.30068.1>,<<"/api/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"751dc96ae5e982eb">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2FsbF9tZXNzYWdlc19hcmVfYXJjaGl2ZWRfMTk5MkBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"to\":\"alice_all_messages_are_archived_1992@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1992@domain.example.com it's me\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"28a57902-5063-4a3a-a82f-8673efa13311\"}">>,169,5408}
Params: #{body =>
              <<"{\"to\":\"alice_all_messages_are_archived_1992@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1992@domain.example.com it's me\"}">>,
          creds =>
              {<<"bob_all_messages_are_archived_1992@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,path => <<"/api/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:58:25.780 ***
REST request:
Code: 200
Req: {<0.30090.1>,<<"/api/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"212e2ca52db6b0ee">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfYWxsX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF8xOTkyQGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}],
      <<"{\"to\":\"bob_all_messages_are_archived_1992@domain.example.com\",\"body\":\"hello, bob_all_messages_are_archived_1992@domain.example.com it's me\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"1808ffdc-31d5-4601-b68c-8d350580c165\"}">>,169,4092}
Params: #{body =>
              <<"{\"to\":\"bob_all_messages_are_archived_1992@domain.example.com\",\"body\":\"hello, bob_all_messages_are_archived_1992@domain.example.com it's me\"}">>,
          creds =>
              {<<"alice_all_messages_are_archived_1992@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-03-18 10:58:25.796 ***
REST request:
Code: 200
Req: {<0.30111.1>,<<"/api/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"19c0fab001111c4f">>},
       {<<"authorization">>,
        <<"Basic a2F0ZV9hbGxfbWVzc2FnZXNfYXJlX2FyY2hpdmVkXzE5OTJAZG9tYWluLmV4YW1wbGUuY29tOm1ha3Jvd2U7cA==">>}],
      <<"{\"to\":\"alice_all_messages_are_archived_1992@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1992@domain.example.com it's me\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"d2500530-533a-4332-8ecd-96e70777e5f7\"}">>,169,4141}
Params: #{body =>
              <<"{\"to\":\"alice_all_messages_are_archived_1992@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1992@domain.example.com it's me\"}">>,
          creds =>
              {<<"kate_all_messages_are_archived_1992@domain.example.com">>,
               <<"makrowe;p">>},
          method => <<"POST">>,path => <<"/api/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:58:25.807 ***
REST request:
Code: 200
Req: {<0.30126.1>,<<"/api/messages/">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c501d84b98c94fa6">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfYWxsX21lc3NhZ2VzX2FyZV9hcmNoaXZlZF8xOTkyQGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"834">>}],
         <<"[{\"to\":\"alice_all_messages_are_archived_1992@domain.example.com\",\"timestamp\":1647601105742,\"id\":\"28a57902-5063-4a3a-a82f-8673efa13311\",\"from\":\"bob_all_messages_are_archived_1992@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1992@domain.example.com it's me\"},{\"to\":\"bob_all_messages_are_archived_1992@domain.example.com\",\"timestamp\":1647601105778,\"id\":\"1808ffdc-31d5-4601-b68c-8d350580c165\",\"from\":\"alice_all_messages_are_archived_1992@domain.example.com\",\"body\":\"hello, bob_all_messages_are_archived_1992@domain.example.com it's me\"},{\"to\":\"alice_all_messages_are_archived_1992@domain.example.com\",\"timestamp\":1647601105793,\"id\":\"d2500530-533a-4332-8ecd-96e70777e5f7\",\"from\":\"kate_all_messages_are_archived_1992@domain.example.com\",\"body\":\"hello, alice_all_messages_are_archived_1992@domain.example.com it's me\"}]">>,
         959,2758}
Params: #{body => <<>>,
          creds =>
              {<<"alice_all_messages_are_archived_1992@domain.example.com">>,
               <<"matygrysa">>},
          method => <<"GET">>,path => <<"/api/messages/">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:58:25.807 ***
kate_all_messages_are_archived_1992@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:58:25.808 ***
kate_all_messages_are_archived_1992@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-18 10:58:25.808 ***
bOb_all_messages_are_archived_1992@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:58:25.808 ***
bOb_all_messages_are_archived_1992@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-18 10:58:25.808 ***
alicE_all_messages_are_archived_1992@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:58:25.809 ***
alicE_all_messages_are_archived_1992@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-18 10:58:25.815 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_533.html
*** CT 2022-03-18 10:58:25.816 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1599.html



=== Ended at 2022-03-18 10:58:25
=== successfully completed test case
=== === Returned value: ok