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

=== Config value:

    [{watchdog,<0.86558.0>},
     {muc_light_host,<<"muclight.localhost">>},
     {mam_backend,rdbms},
     {preset,"odbc_mssql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@88a6ddd152da.2024-02-27_11.16.04/big_tests.tests.rest_client_SUITE.logs/run.2024-02-27_11.32.39/rest_client_suite.chat_markers_are_archived_in_room.181123.html"},
     {tc_group_properties,[{name,muc},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@88a6ddd152da.2024-02-27_11.16.04/big_tests.tests.rest_client_SUITE.logs/run.2024-02-27_11.32.39/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              ack_freq => 1,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@88a6ddd152da.2024-02-27_11.16.04"

=== Started at 2024-02-27 11:32:40


*** CT 2024-02-27 11:32:40.033 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4839.html

*** User 2024-02-27 11:32:40.100 ***🔗
alicE_chat_markers_are_archived_in_room_3294@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-27 11:32:40.101 ***🔗
alicE_chat_markers_are_archived_in_room_3294@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e9aaef231179cdf7' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-27 11:32:40.101 ***🔗
alicE_chat_markers_are_archived_in_room_3294@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-02-27 11:32:40.102 ***🔗
alicE_chat_markers_are_archived_in_room_3294@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMjk0AG1hdHlncnlzYQ==</auth>



*** User 2024-02-27 11:32:40.104 ***🔗
alicE_chat_markers_are_archived_in_room_3294@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-27 11:32:40.104 ***🔗
alicE_chat_markers_are_archived_in_room_3294@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-27 11:32:40.105 ***🔗
alicE_chat_markers_are_archived_in_room_3294@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='507260f8275d0831' from='localhost' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_3294@localhost'>

*** User 2024-02-27 11:32:40.105 ***🔗
alicE_chat_markers_are_archived_in_room_3294@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-02-27 11:32:40.105 ***🔗
alicE_chat_markers_are_archived_in_room_3294@localhost/res1 out
<iq type='set' id='afbeb74197b02b779d7fb043e631c9b0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-27 11:32:40.106 ***🔗
alicE_chat_markers_are_archived_in_room_3294@localhost/res1 in
<iq id='afbeb74197b02b779d7fb043e631c9b0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_chat_markers_are_archived_in_room_3294@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-27 11:32:40.106 ***🔗
alice_chat_markers_are_archived_in_room_3294@localhost/res1 out
<iq type='set' id='ac61d4dfc1435ce4be483d6ba71710c3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-27 11:32:40.107 ***🔗
alice_chat_markers_are_archived_in_room_3294@localhost/res1 in
<iq from='localhost' to='alice_chat_markers_are_archived_in_room_3294@localhost/res1' id='ac61d4dfc1435ce4be483d6ba71710c3' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-27 11:32:40.107 ***🔗
alice_chat_markers_are_archived_in_room_3294@localhost/res1 out
<presence/>



*** User 2024-02-27 11:32:40.111 ***🔗
alice_chat_markers_are_archived_in_room_3294@localhost/res1 in
<presence from='alice_chat_markers_are_archived_in_room_3294@localhost/res1' to='alice_chat_markers_are_archived_in_room_3294@localhost/res1'/>



*** User 2024-02-27 11:32:40.112 ***🔗
bOb_chat_markers_are_archived_in_room_3294@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-27 11:32:40.112 ***🔗
bOb_chat_markers_are_archived_in_room_3294@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e512eb0e47bb8071' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-27 11:32:40.113 ***🔗
bOb_chat_markers_are_archived_in_room_3294@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-02-27 11:32:40.113 ***🔗
bOb_chat_markers_are_archived_in_room_3294@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMzI5NABtYWtyb2xpa2E=</auth>



*** User 2024-02-27 11:32:40.114 ***🔗
bOb_chat_markers_are_archived_in_room_3294@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-27 11:32:40.114 ***🔗
bOb_chat_markers_are_archived_in_room_3294@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-27 11:32:40.115 ***🔗
bOb_chat_markers_are_archived_in_room_3294@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='34dc9c67cc6f40fd' from='localhost' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_3294@localhost'>

*** User 2024-02-27 11:32:40.115 ***🔗
bOb_chat_markers_are_archived_in_room_3294@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-02-27 11:32:40.115 ***🔗
bOb_chat_markers_are_archived_in_room_3294@localhost/res1 out
<iq type='set' id='5bea9be4f5419c0cdd13f8cf69fd9586'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-27 11:32:40.115 ***🔗
bOb_chat_markers_are_archived_in_room_3294@localhost/res1 in
<iq id='5bea9be4f5419c0cdd13f8cf69fd9586' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_chat_markers_are_archived_in_room_3294@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-27 11:32:40.115 ***🔗
bob_chat_markers_are_archived_in_room_3294@localhost/res1 out
<iq type='set' id='e5da24a4246dbe0adc09bbe4b5224798'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-27 11:32:40.116 ***🔗
bob_chat_markers_are_archived_in_room_3294@localhost/res1 in
<iq from='localhost' to='bob_chat_markers_are_archived_in_room_3294@localhost/res1' id='e5da24a4246dbe0adc09bbe4b5224798' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-27 11:32:40.116 ***🔗
bob_chat_markers_are_archived_in_room_3294@localhost/res1 out
<presence/>



*** User 2024-02-27 11:32:40.118 ***🔗
bob_chat_markers_are_archived_in_room_3294@localhost/res1 in
<presence from='bob_chat_markers_are_archived_in_room_3294@localhost/res1' to='bob_chat_markers_are_archived_in_room_3294@localhost/res1'/>



*** User 2024-02-27 11:32:40.203 ***🔗
REST request:
Code: 201
Req: {<0.86992.0>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"56b5031a666a3945">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMyOTRAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 27 Feb 2024 11:32:39 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"26">>}],
         <<"{\"id\":\"1709-33560-193658\"}">>,155,13134}
Params: #{path => <<"/api/rooms">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          role => client,method => <<"POST">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_3294@localhost">>,
               <<"matygrysa">>},
          return_headers => true}


*** User 2024-02-27 11:32:40.311 ***🔗
REST request:
Code: 204
Req: {<0.87114.0>,<<"/api/rooms/1709-33560-193658/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"79794e90b620f3f4">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMyOTRAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_chat_markers_are_archived_in_room_3294@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 27 Feb 2024 11:32:39 GMT">>}],
         <<>>,80,100729}
Params: #{path => <<"/api/rooms/1709-33560-193658/users">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"user\":\"bob_chat_markers_are_archived_in_room_3294@localhost\"}">>,
          role => client,method => <<"POST">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_3294@localhost">>,
               <<"matygrysa">>},
          return_headers => true}


*** User 2024-02-27 11:32:40.311 ***🔗
bob_chat_markers_are_archived_in_room_3294@localhost/res1 in
<message from='1709-33560-193658@muclight.localhost' to='bob_chat_markers_are_archived_in_room_3294@localhost' id='cec7d2e8-b298-4a56-ad7c-692c97e612cb' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1709-33560-287513</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_3294@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-02-27 11:32:40.311 ***🔗
alice_chat_markers_are_archived_in_room_3294@localhost/res1 in
<message from='1709-33560-193658@muclight.localhost' to='alice_chat_markers_are_archived_in_room_3294@localhost' id='cec7d2e8-b298-4a56-ad7c-692c97e612cb' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1709-33560-193649</prev-version>
		<version>1709-33560-287513</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_3294@localhost</user>
	</x>
	<body/>
	<stanza-id by='1709-33560-193658@muclight.localhost' id='C4IRC920K9O1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-27 11:32:40.388 ***🔗
REST request:
Code: 200
Req: {<0.87278.0>,<<"/api/rooms/1709-33560-193658/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2126d552b7ab5506">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMjk0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 27 Feb 2024 11:32:39 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"4b8d2335-0b30-45f9-9c40-072ae41d066b\"}">>,169,71340}
Params: #{path => <<"/api/rooms/1709-33560-193658/messages">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
          role => client,method => <<"POST">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_3294@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-02-27 11:32:40.388 ***🔗
alice_chat_markers_are_archived_in_room_3294@localhost/res1 in
<message from='1709-33560-193658@muclight.localhost/bob_chat_markers_are_archived_in_room_3294@localhost' to='alice_chat_markers_are_archived_in_room_3294@localhost' id='4b8d2335-0b30-45f9-9c40-072ae41d066b' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1709-33560-193658@muclight.localhost' id='C4IRC92Q7I81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-27 11:32:40.388 ***🔗
bob_chat_markers_are_archived_in_room_3294@localhost/res1 in
<message from='1709-33560-193658@muclight.localhost/bob_chat_markers_are_archived_in_room_3294@localhost' to='bob_chat_markers_are_archived_in_room_3294@localhost' id='4b8d2335-0b30-45f9-9c40-072ae41d066b' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1709-33560-193658@muclight.localhost' id='C4IRC92Q7I81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-27 11:32:40.399 ***🔗
REST request:
Code: 200
Req: {<0.87364.0>,<<"/api/rooms/1709-33560-193658/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0a44fd2c792afc48">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMjk0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 27 Feb 2024 11:32:39 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"9e304435-b287-4177-9c11-6c2a63ccab37\"}">>,169,5832}
Params: #{path => <<"/api/rooms/1709-33560-193658/messages">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
          role => client,method => <<"POST">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_3294@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-02-27 11:32:40.399 ***🔗
alice_chat_markers_are_archived_in_room_3294@localhost/res1 in
<message from='1709-33560-193658@muclight.localhost/bob_chat_markers_are_archived_in_room_3294@localhost' to='alice_chat_markers_are_archived_in_room_3294@localhost' id='9e304435-b287-4177-9c11-6c2a63ccab37' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1709-33560-193658@muclight.localhost' id='C4IRC93CQVG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-27 11:32:40.399 ***🔗
bob_chat_markers_are_archived_in_room_3294@localhost/res1 in
<message from='1709-33560-193658@muclight.localhost/bob_chat_markers_are_archived_in_room_3294@localhost' to='bob_chat_markers_are_archived_in_room_3294@localhost' id='9e304435-b287-4177-9c11-6c2a63ccab37' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1709-33560-193658@muclight.localhost' id='C4IRC93CQVG1' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element wait_for_parallel_writer in Config.

Could not find element archive_wait in Config.


*** User 2024-02-27 11:32:40.407 ***🔗
REST request:
Code: 200
Req: {<0.87411.0>,<<"/api/rooms/1709-33560-193658/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5f2d96213225fc4f">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMjk0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 27 Feb 2024 11:32:39 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"e076219e-f2ef-4ed9-b13a-e68882e313e8\"}">>,169,3781}
Params: #{path => <<"/api/rooms/1709-33560-193658/messages">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
          role => client,method => <<"POST">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_3294@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-02-27 11:32:40.407 ***🔗
alice_chat_markers_are_archived_in_room_3294@localhost/res1 in
<message from='1709-33560-193658@muclight.localhost/bob_chat_markers_are_archived_in_room_3294@localhost' to='alice_chat_markers_are_archived_in_room_3294@localhost' id='e076219e-f2ef-4ed9-b13a-e68882e313e8' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1709-33560-193658@muclight.localhost' id='C4IRC93F4FG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-27 11:32:40.407 ***🔗
bob_chat_markers_are_archived_in_room_3294@localhost/res1 in
<message from='1709-33560-193658@muclight.localhost/bob_chat_markers_are_archived_in_room_3294@localhost' to='bob_chat_markers_are_archived_in_room_3294@localhost' id='e076219e-f2ef-4ed9-b13a-e68882e313e8' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1709-33560-193658@muclight.localhost' id='C4IRC93F4FG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-27 11:32:40.415 ***🔗
REST request:
Code: 200
Req: {<0.87440.0>,<<"/api/rooms/1709-33560-193658/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"069340152d76b8db">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMyOTRAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 27 Feb 2024 11:32:39 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"857">>}],
         <<"[{\"affiliation\":\"member\",\"from\":\"1709-33560-193658@muclight.localhost\",\"user\":\"bob_chat_markers_are_archived_in_room_3294@localhost\",\"type\":\"affiliation\",\"timestamp\":1709033560214,\"id\":\"cec7d2e8-b298-4a56-ad7c-692c97e612cb\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3294@localhost\",\"type\":\"message\",\"timestamp\":1709033560318,\"id\":\"4b8d2335-0b30-45f9-9c40-072ae41d066b\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3294@localhost\",\"type\":\"message\",\"timestamp\":1709033560395,\"id\":\"9e304435-b287-4177-9c11-6c2a63ccab37\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3294@localhost\",\"type\":\"message\",\"timestamp\":1709033560404,\"id\":\"e076219e-f2ef-4ed9-b13a-e68882e313e8\"}]">>,
         982,3479}
Params: #{path => <<"/api/rooms/1709-33560-193658/messages">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,role => client,method => <<"GET">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_3294@localhost">>,
               <<"matygrysa">>},
          return_headers => true}


*** User 2024-02-27 11:32:40.415 ***🔗
bob_chat_markers_are_archived_in_room_3294@localhost/res1 out
</stream:stream>

*** User 2024-02-27 11:32:40.415 ***🔗
bob_chat_markers_are_archived_in_room_3294@localhost/res1 in
</stream:stream>

*** User 2024-02-27 11:32:40.415 ***🔗
alice_chat_markers_are_archived_in_room_3294@localhost/res1 out
</stream:stream>

*** User 2024-02-27 11:32:40.416 ***🔗
alice_chat_markers_are_archived_in_room_3294@localhost/res1 in
</stream:stream>
*** CT 2024-02-27 11:32:40.418 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4839.html



=== Ended at 2024-02-27 11:32:40
=== successfully completed test case
=== === Returned value: ok