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

=== Config value:

    [{watchdog,<0.84515.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@d091d39a81d0.2024-03-08_08.59.35/big_tests.tests.rest_client_SUITE.logs/run.2024-03-08_09.17.58/rest_client_suite.chat_markers_are_archived_in_room.171523.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@d091d39a81d0.2024-03-08_08.59.35/big_tests.tests.rest_client_SUITE.logs/run.2024-03-08_09.17.58/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_sic => #{iqdisc => one_queue},
        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_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d091d39a81d0.2024-03-08_08.59.35"

=== Started at 2024-03-08 09:17:59


*** CT 2024-03-08 09:17:59.825 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4731.html

*** User 2024-03-08 09:17:59.991 ***🔗
alicE_chat_markers_are_archived_in_room_3177@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-03-08 09:17:59.992 ***🔗
alicE_chat_markers_are_archived_in_room_3177@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='00c32f5b57a8a0dd' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-08 09:17:59.992 ***🔗
alicE_chat_markers_are_archived_in_room_3177@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-03-08 09:17:59.992 ***🔗
alicE_chat_markers_are_archived_in_room_3177@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMTc3AG1hdHlncnlzYQ==</auth>



*** User 2024-03-08 09:18:00.008 ***🔗
alicE_chat_markers_are_archived_in_room_3177@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-08 09:18:00.008 ***🔗
alicE_chat_markers_are_archived_in_room_3177@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-03-08 09:18:00.009 ***🔗
alicE_chat_markers_are_archived_in_room_3177@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a4bff6aff9a151c0' from='localhost' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_3177@localhost'>

*** User 2024-03-08 09:18:00.010 ***🔗
alicE_chat_markers_are_archived_in_room_3177@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-03-08 09:18:00.010 ***🔗
alicE_chat_markers_are_archived_in_room_3177@localhost/res1 out
<iq type='set' id='b27d373a64d72ed4705491139ab7be9f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-08 09:18:00.010 ***🔗
alicE_chat_markers_are_archived_in_room_3177@localhost/res1 in
<iq id='b27d373a64d72ed4705491139ab7be9f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_chat_markers_are_archived_in_room_3177@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-08 09:18:00.011 ***🔗
alice_chat_markers_are_archived_in_room_3177@localhost/res1 out
<iq type='set' id='9ac08a203cf82ad1dbde4ec7ca30e6f5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 09:18:00.012 ***🔗
alice_chat_markers_are_archived_in_room_3177@localhost/res1 in
<iq from='localhost' to='alice_chat_markers_are_archived_in_room_3177@localhost/res1' id='9ac08a203cf82ad1dbde4ec7ca30e6f5' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 09:18:00.012 ***🔗
alice_chat_markers_are_archived_in_room_3177@localhost/res1 out
<presence/>



*** User 2024-03-08 09:18:00.019 ***🔗
alice_chat_markers_are_archived_in_room_3177@localhost/res1 in
<presence from='alice_chat_markers_are_archived_in_room_3177@localhost/res1' to='alice_chat_markers_are_archived_in_room_3177@localhost/res1'/>



*** User 2024-03-08 09:18:00.020 ***🔗
bOb_chat_markers_are_archived_in_room_3177@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-03-08 09:18:00.020 ***🔗
bOb_chat_markers_are_archived_in_room_3177@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d7f339d42b5d52d' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-08 09:18:00.021 ***🔗
bOb_chat_markers_are_archived_in_room_3177@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-03-08 09:18:00.021 ***🔗
bOb_chat_markers_are_archived_in_room_3177@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMzE3NwBtYWtyb2xpa2E=</auth>



*** User 2024-03-08 09:18:00.090 ***🔗
bOb_chat_markers_are_archived_in_room_3177@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-08 09:18:00.090 ***🔗
bOb_chat_markers_are_archived_in_room_3177@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-03-08 09:18:00.091 ***🔗
bOb_chat_markers_are_archived_in_room_3177@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f3b856b63b292b4a' from='localhost' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_3177@localhost'>

*** User 2024-03-08 09:18:00.091 ***🔗
bOb_chat_markers_are_archived_in_room_3177@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-03-08 09:18:00.091 ***🔗
bOb_chat_markers_are_archived_in_room_3177@localhost/res1 out
<iq type='set' id='2a938c14f07dcc9128895681b36b47e0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-08 09:18:00.092 ***🔗
bOb_chat_markers_are_archived_in_room_3177@localhost/res1 in
<iq id='2a938c14f07dcc9128895681b36b47e0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_chat_markers_are_archived_in_room_3177@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-08 09:18:00.092 ***🔗
bob_chat_markers_are_archived_in_room_3177@localhost/res1 out
<iq type='set' id='4c9501b687e7a2c5759377ffcb3a15d0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 09:18:00.093 ***🔗
bob_chat_markers_are_archived_in_room_3177@localhost/res1 in
<iq from='localhost' to='bob_chat_markers_are_archived_in_room_3177@localhost/res1' id='4c9501b687e7a2c5759377ffcb3a15d0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 09:18:00.094 ***🔗
bob_chat_markers_are_archived_in_room_3177@localhost/res1 out
<presence/>



*** User 2024-03-08 09:18:00.102 ***🔗
bob_chat_markers_are_archived_in_room_3177@localhost/res1 in
<presence from='bob_chat_markers_are_archived_in_room_3177@localhost/res1' to='bob_chat_markers_are_archived_in_room_3177@localhost/res1'/>



*** User 2024-03-08 09:18:00.196 ***🔗
REST request:
Code: 201
Req: {<0.85011.0>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"792f68b4106824cc">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMxNzdAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 08 Mar 2024 09:18:00 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1709-889480-190469\"}">>,156,86126}
Params: #{path => <<"/api/rooms">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_3177@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          role => client,return_headers => true}


*** User 2024-03-08 09:18:00.309 ***🔗
REST request:
Code: 204
Req: {<0.85105.0>,<<"/api/rooms/1709-889480-190469/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"90ba87dd97da866b">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMxNzdAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_chat_markers_are_archived_in_room_3177@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 08 Mar 2024 09:18:00 GMT">>}],
         <<>>,80,103497}
Params: #{path => <<"/api/rooms/1709-889480-190469/users">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_3177@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          body =>
              <<"{\"user\":\"bob_chat_markers_are_archived_in_room_3177@localhost\"}">>,
          role => client,return_headers => true}


*** User 2024-03-08 09:18:00.309 ***🔗
bob_chat_markers_are_archived_in_room_3177@localhost/res1 in
<message from='1709-889480-190469@muclight.localhost' to='bob_chat_markers_are_archived_in_room_3177@localhost' id='c0bce562-8985-49d4-8a38-165379694f20' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1709-889480-227753</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_3177@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-03-08 09:18:00.309 ***🔗
alice_chat_markers_are_archived_in_room_3177@localhost/res1 in
<message from='1709-889480-190469@muclight.localhost' to='alice_chat_markers_are_archived_in_room_3177@localhost' id='c0bce562-8985-49d4-8a38-165379694f20' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1709-889480-190455</prev-version>
		<version>1709-889480-227753</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_3177@localhost</user>
	</x>
	<body/>
	<stanza-id by='1709-889480-190469@muclight.localhost' id='C4P2LC9BHL81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-03-08 09:18:00.575 ***🔗
REST request:
Code: 200
Req: {<0.85209.0>,<<"/api/rooms/1709-889480-190469/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"dc1045d56dc7443e">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMTc3QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 08 Mar 2024 09:18:00 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"7d41f648-5d0b-49cd-84f8-922de60fa26d\"}">>,169,256820}
Params: #{path => <<"/api/rooms/1709-889480-190469/messages">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_3177@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          body =>
              <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
          role => client,return_headers => true}


*** User 2024-03-08 09:18:00.575 ***🔗
alice_chat_markers_are_archived_in_room_3177@localhost/res1 in
<message from='1709-889480-190469@muclight.localhost/bob_chat_markers_are_archived_in_room_3177@localhost' to='alice_chat_markers_are_archived_in_room_3177@localhost' id='7d41f648-5d0b-49cd-84f8-922de60fa26d' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1709-889480-190469@muclight.localhost' id='C4P2LCAA9EG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-03-08 09:18:00.575 ***🔗
bob_chat_markers_are_archived_in_room_3177@localhost/res1 in
<message from='1709-889480-190469@muclight.localhost/bob_chat_markers_are_archived_in_room_3177@localhost' to='bob_chat_markers_are_archived_in_room_3177@localhost' id='7d41f648-5d0b-49cd-84f8-922de60fa26d' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1709-889480-190469@muclight.localhost' id='C4P2LCAA9EG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-03-08 09:18:00.796 ***🔗
REST request:
Code: 200
Req: {<0.85383.0>,<<"/api/rooms/1709-889480-190469/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"62c152cd3213fff0">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMTc3QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 08 Mar 2024 09:18:00 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"8f7a667e-ba76-4f64-8be9-59b0e2cdedd9\"}">>,169,215016}
Params: #{path => <<"/api/rooms/1709-889480-190469/messages">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_3177@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          body =>
              <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
          role => client,return_headers => true}


*** User 2024-03-08 09:18:00.796 ***🔗
alice_chat_markers_are_archived_in_room_3177@localhost/res1 in
<message from='1709-889480-190469@muclight.localhost/bob_chat_markers_are_archived_in_room_3177@localhost' to='alice_chat_markers_are_archived_in_room_3177@localhost' id='8f7a667e-ba76-4f64-8be9-59b0e2cdedd9' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1709-889480-190469@muclight.localhost' id='C4P2LCDCNEO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-03-08 09:18:00.796 ***🔗
bob_chat_markers_are_archived_in_room_3177@localhost/res1 in
<message from='1709-889480-190469@muclight.localhost/bob_chat_markers_are_archived_in_room_3177@localhost' to='bob_chat_markers_are_archived_in_room_3177@localhost' id='8f7a667e-ba76-4f64-8be9-59b0e2cdedd9' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1709-889480-190469@muclight.localhost' id='C4P2LCDCNEO1' 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-03-08 09:18:00.819 ***🔗
REST request:
Code: 200
Req: {<0.85398.0>,<<"/api/rooms/1709-889480-190469/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d70576dd7ace8f11">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMTc3QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 08 Mar 2024 09:18:00 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"29bf0ee3-86b3-469e-b4a3-b07f2bff5e7d\"}">>,169,15874}
Params: #{path => <<"/api/rooms/1709-889480-190469/messages">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_3177@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          body =>
              <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
          role => client,return_headers => true}


*** User 2024-03-08 09:18:00.819 ***🔗
alice_chat_markers_are_archived_in_room_3177@localhost/res1 in
<message from='1709-889480-190469@muclight.localhost/bob_chat_markers_are_archived_in_room_3177@localhost' to='alice_chat_markers_are_archived_in_room_3177@localhost' id='29bf0ee3-86b3-469e-b4a3-b07f2bff5e7d' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1709-889480-190469@muclight.localhost' id='C4P2LCDSQG81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-03-08 09:18:00.819 ***🔗
bob_chat_markers_are_archived_in_room_3177@localhost/res1 in
<message from='1709-889480-190469@muclight.localhost/bob_chat_markers_are_archived_in_room_3177@localhost' to='bob_chat_markers_are_archived_in_room_3177@localhost' id='29bf0ee3-86b3-469e-b4a3-b07f2bff5e7d' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1709-889480-190469@muclight.localhost' id='C4P2LCDSQG81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-03-08 09:18:00.830 ***🔗
REST request:
Code: 200
Req: {<0.85404.0>,<<"/api/rooms/1709-889480-190469/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d2e1e56885568f2e">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMxNzdAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 08 Mar 2024 09:18:00 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"858">>}],
         <<"[{\"affiliation\":\"member\",\"from\":\"1709-889480-190469@muclight.localhost\",\"user\":\"bob_chat_markers_are_archived_in_room_3177@localhost\",\"type\":\"affiliation\",\"timestamp\":1709889480210,\"id\":\"c0bce562-8985-49d4-8a38-165379694f20\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3177@localhost\",\"type\":\"message\",\"timestamp\":1709889480336,\"id\":\"7d41f648-5d0b-49cd-84f8-922de60fa26d\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3177@localhost\",\"type\":\"message\",\"timestamp\":1709889480739,\"id\":\"8f7a667e-ba76-4f64-8be9-59b0e2cdedd9\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3177@localhost\",\"type\":\"message\",\"timestamp\":1709889480805,\"id\":\"29bf0ee3-86b3-469e-b4a3-b07f2bff5e7d\"}]">>,
         983,4363}
Params: #{path => <<"/api/rooms/1709-889480-190469/messages">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_3177@localhost">>,
               <<"matygrysa">>},
          method => <<"GET">>,body => <<>>,role => client,
          return_headers => true}


*** User 2024-03-08 09:18:00.830 ***🔗
bob_chat_markers_are_archived_in_room_3177@localhost/res1 out
</stream:stream>

*** User 2024-03-08 09:18:00.830 ***🔗
bob_chat_markers_are_archived_in_room_3177@localhost/res1 in
</stream:stream>

*** User 2024-03-08 09:18:00.830 ***🔗
alice_chat_markers_are_archived_in_room_3177@localhost/res1 out
</stream:stream>

*** User 2024-03-08 09:18:00.831 ***🔗
alice_chat_markers_are_archived_in_room_3177@localhost/res1 in
</stream:stream>
*** CT 2024-03-08 09:18:00.833 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4731.html



=== Ended at 2024-03-08 09:18:00
=== successfully completed test case
=== === Returned value: ok