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

=== Config value:

    [{watchdog,<0.89237.0>},
     {muc_light_host,<<"muclight.localhost">>},
     {mam_backend,rdbms},
     {preset,"pgsql_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@7856d109ddbc.2024-04-23_06.47.05/big_tests.tests.rest_client_SUITE.logs/run.2024-04-23_07.02.48/rest_client_suite.chat_markers_are_archived_in_room.183427.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@7856d109ddbc.2024-04-23_06.47.05/big_tests.tests.rest_client_SUITE.logs/run.2024-04-23_07.02.48/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,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,
              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_carboncopy => #{iqdisc => no_queue},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7856d109ddbc.2024-04-23_06.47.05"

=== Started at 2024-04-23 07:02:49


*** CT 2024-04-23 07:02:49.397 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5520.html

*** User 2024-04-23 07:02:49.480 ***🔗
alicE_chat_markers_are_archived_in_room_3384@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-04-23 07:02:49.480 ***🔗
alicE_chat_markers_are_archived_in_room_3384@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='225c080a5c3e0958' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 07:02:49.481 ***🔗
alicE_chat_markers_are_archived_in_room_3384@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-04-23 07:02:49.481 ***🔗
alicE_chat_markers_are_archived_in_room_3384@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzg0AG1hdHlncnlzYQ==</auth>



*** User 2024-04-23 07:02:49.483 ***🔗
alicE_chat_markers_are_archived_in_room_3384@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 07:02:49.483 ***🔗
alicE_chat_markers_are_archived_in_room_3384@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-04-23 07:02:49.483 ***🔗
alicE_chat_markers_are_archived_in_room_3384@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ea3013a0121bc1e' from='localhost' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_3384@localhost'>

*** User 2024-04-23 07:02:49.483 ***🔗
alicE_chat_markers_are_archived_in_room_3384@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-04-23 07:02:49.483 ***🔗
alicE_chat_markers_are_archived_in_room_3384@localhost/res1 out
<iq type='set' id='9c7cbaf9d3ce0d3994c6646b5aa26801'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 07:02:49.484 ***🔗
alicE_chat_markers_are_archived_in_room_3384@localhost/res1 in
<iq id='9c7cbaf9d3ce0d3994c6646b5aa26801' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_chat_markers_are_archived_in_room_3384@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 07:02:49.484 ***🔗
alice_chat_markers_are_archived_in_room_3384@localhost/res1 out
<iq type='set' id='9d933b07bc35c63113d3dceda73d9552'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 07:02:49.485 ***🔗
alice_chat_markers_are_archived_in_room_3384@localhost/res1 in
<iq from='localhost' to='alice_chat_markers_are_archived_in_room_3384@localhost/res1' id='9d933b07bc35c63113d3dceda73d9552' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 07:02:49.485 ***🔗
alice_chat_markers_are_archived_in_room_3384@localhost/res1 out
<presence/>



*** User 2024-04-23 07:02:49.493 ***🔗
alice_chat_markers_are_archived_in_room_3384@localhost/res1 in
<presence from='alice_chat_markers_are_archived_in_room_3384@localhost/res1' to='alice_chat_markers_are_archived_in_room_3384@localhost/res1'/>



*** User 2024-04-23 07:02:49.493 ***🔗
bOb_chat_markers_are_archived_in_room_3384@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-04-23 07:02:49.494 ***🔗
bOb_chat_markers_are_archived_in_room_3384@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c44c52efaf0448c8' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 07:02:49.495 ***🔗
bOb_chat_markers_are_archived_in_room_3384@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-04-23 07:02:49.495 ***🔗
bOb_chat_markers_are_archived_in_room_3384@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMzM4NABtYWtyb2xpa2E=</auth>



*** User 2024-04-23 07:02:49.502 ***🔗
bOb_chat_markers_are_archived_in_room_3384@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 07:02:49.502 ***🔗
bOb_chat_markers_are_archived_in_room_3384@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-04-23 07:02:49.502 ***🔗
bOb_chat_markers_are_archived_in_room_3384@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5149c7a711feef61' from='localhost' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_3384@localhost'>

*** User 2024-04-23 07:02:49.502 ***🔗
bOb_chat_markers_are_archived_in_room_3384@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-04-23 07:02:49.502 ***🔗
bOb_chat_markers_are_archived_in_room_3384@localhost/res1 out
<iq type='set' id='177b9632a3db640d9ed55a2d63940396'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 07:02:49.503 ***🔗
bOb_chat_markers_are_archived_in_room_3384@localhost/res1 in
<iq id='177b9632a3db640d9ed55a2d63940396' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_chat_markers_are_archived_in_room_3384@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 07:02:49.503 ***🔗
bob_chat_markers_are_archived_in_room_3384@localhost/res1 out
<iq type='set' id='bb2f96332bee598a11f2e95c14a06ac0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 07:02:49.504 ***🔗
bob_chat_markers_are_archived_in_room_3384@localhost/res1 in
<iq from='localhost' to='bob_chat_markers_are_archived_in_room_3384@localhost/res1' id='bb2f96332bee598a11f2e95c14a06ac0' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 07:02:49.504 ***🔗
bob_chat_markers_are_archived_in_room_3384@localhost/res1 out
<presence/>



*** User 2024-04-23 07:02:49.570 ***🔗
bob_chat_markers_are_archived_in_room_3384@localhost/res1 in
<presence from='bob_chat_markers_are_archived_in_room_3384@localhost/res1' to='bob_chat_markers_are_archived_in_room_3384@localhost/res1'/>



*** User 2024-04-23 07:02:49.587 ***🔗
REST request:
Code: 201
Req: {<0.89734.0>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2cc924f40a6d09fb">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMzODRAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 07:02:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1713-855769-580434\"}">>,156,9673}
Params: #{path => <<"/api/rooms">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_3384@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,role => client,return_headers => true}


*** User 2024-04-23 07:02:49.673 ***🔗
REST request:
Code: 204
Req: {<0.89825.0>,<<"/api/rooms/1713-855769-580434/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"90365eac7d862d34">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMzODRAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_chat_markers_are_archived_in_room_3384@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 07:02:48 GMT">>}],
         <<>>,80,79143}
Params: #{path => <<"/api/rooms/1713-855769-580434/users">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"user\":\"bob_chat_markers_are_archived_in_room_3384@localhost\"}">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_3384@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,role => client,return_headers => true}


*** User 2024-04-23 07:02:49.673 ***🔗
bob_chat_markers_are_archived_in_room_3384@localhost/res1 in
<message from='1713-855769-580434@muclight.localhost' to='bob_chat_markers_are_archived_in_room_3384@localhost' id='2693d5ee-1968-41de-9f42-0dfea21c51c0' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1713-855769-609131</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_3384@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-04-23 07:02:49.673 ***🔗
alice_chat_markers_are_archived_in_room_3384@localhost/res1 in
<message from='1713-855769-580434@muclight.localhost' to='alice_chat_markers_are_archived_in_room_3384@localhost' id='2693d5ee-1968-41de-9f42-0dfea21c51c0' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1713-855769-580426</prev-version>
		<version>1713-855769-609131</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_3384@localhost</user>
	</x>
	<body/>
	<stanza-id by='1713-855769-580434@muclight.localhost' id='C5LU4HBVBA01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-23 07:02:49.698 ***🔗
REST request:
Code: 200
Req: {<0.89965.0>,<<"/api/rooms/1713-855769-580434/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a4bb1c18fe5738ba">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzg0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 07:02:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"c8c7d56d-9192-4e95-b1db-1d854c0689d1\"}">>,169,16789}
Params: #{path => <<"/api/rooms/1713-855769-580434/messages">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_3384@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,role => client,return_headers => true}


*** User 2024-04-23 07:02:49.698 ***🔗
alice_chat_markers_are_archived_in_room_3384@localhost/res1 in
<message from='1713-855769-580434@muclight.localhost/bob_chat_markers_are_archived_in_room_3384@localhost' to='alice_chat_markers_are_archived_in_room_3384@localhost' id='c8c7d56d-9192-4e95-b1db-1d854c0689d1' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-855769-580434@muclight.localhost' id='C5LU4HCIKU01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-23 07:02:49.698 ***🔗
bob_chat_markers_are_archived_in_room_3384@localhost/res1 in
<message from='1713-855769-580434@muclight.localhost/bob_chat_markers_are_archived_in_room_3384@localhost' to='bob_chat_markers_are_archived_in_room_3384@localhost' id='c8c7d56d-9192-4e95-b1db-1d854c0689d1' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-855769-580434@muclight.localhost' id='C5LU4HCIKU01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-23 07:02:49.767 ***🔗
REST request:
Code: 200
Req: {<0.90066.0>,<<"/api/rooms/1713-855769-580434/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"716c46c915ef3bf2">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzg0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 07:02:48 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"d31e68de-0891-41c5-892c-c219f81f3d17\"}">>,169,62464}
Params: #{path => <<"/api/rooms/1713-855769-580434/messages">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_3384@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,role => client,return_headers => true}


*** User 2024-04-23 07:02:49.767 ***🔗
alice_chat_markers_are_archived_in_room_3384@localhost/res1 in
<message from='1713-855769-580434@muclight.localhost/bob_chat_markers_are_archived_in_room_3384@localhost' to='alice_chat_markers_are_archived_in_room_3384@localhost' id='d31e68de-0891-41c5-892c-c219f81f3d17' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-855769-580434@muclight.localhost' id='C5LU4HCNRJO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-23 07:02:49.767 ***🔗
bob_chat_markers_are_archived_in_room_3384@localhost/res1 in
<message from='1713-855769-580434@muclight.localhost/bob_chat_markers_are_archived_in_room_3384@localhost' to='bob_chat_markers_are_archived_in_room_3384@localhost' id='d31e68de-0891-41c5-892c-c219f81f3d17' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-855769-580434@muclight.localhost' id='C5LU4HCNRJO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-23 07:02:49.775 ***🔗
REST request:
Code: 200
Req: {<0.90100.0>,<<"/api/rooms/1713-855769-580434/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"67e4f02c45bcae89">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzg0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 07:02:49 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"197c4ff5-903e-4971-b620-d75b791f2592\"}">>,169,3037}
Params: #{path => <<"/api/rooms/1713-855769-580434/messages">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_3384@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,role => client,return_headers => true}


*** User 2024-04-23 07:02:49.776 ***🔗
alice_chat_markers_are_archived_in_room_3384@localhost/res1 in
<message from='1713-855769-580434@muclight.localhost/bob_chat_markers_are_archived_in_room_3384@localhost' to='alice_chat_markers_are_archived_in_room_3384@localhost' id='197c4ff5-903e-4971-b620-d75b791f2592' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-855769-580434@muclight.localhost' id='C5LU4HD8EFO1' 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-04-23 07:02:49.776 ***🔗
bob_chat_markers_are_archived_in_room_3384@localhost/res1 in
<message from='1713-855769-580434@muclight.localhost/bob_chat_markers_are_archived_in_room_3384@localhost' to='bob_chat_markers_are_archived_in_room_3384@localhost' id='197c4ff5-903e-4971-b620-d75b791f2592' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-855769-580434@muclight.localhost' id='C5LU4HD8EFO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-23 07:02:49.784 ***🔗
REST request:
Code: 200
Req: {<0.90123.0>,<<"/api/rooms/1713-855769-580434/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d743094f1c269078">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMzODRAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 23 Apr 2024 07:02:49 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"858">>}],
         <<"[{\"affiliation\":\"member\",\"from\":\"1713-855769-580434@muclight.localhost\",\"user\":\"bob_chat_markers_are_archived_in_room_3384@localhost\",\"type\":\"affiliation\",\"timestamp\":1713855769605,\"id\":\"2693d5ee-1968-41de-9f42-0dfea21c51c0\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3384@localhost\",\"type\":\"message\",\"timestamp\":1713855769684,\"id\":\"c8c7d56d-9192-4e95-b1db-1d854c0689d1\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3384@localhost\",\"type\":\"message\",\"timestamp\":1713855769705,\"id\":\"d31e68de-0891-41c5-892c-c219f81f3d17\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3384@localhost\",\"type\":\"message\",\"timestamp\":1713855769773,\"id\":\"197c4ff5-903e-4971-b620-d75b791f2592\"}]">>,
         983,3170}
Params: #{path => <<"/api/rooms/1713-855769-580434/messages">>,
          server => #{node => mongooseim@localhost},
          body => <<>>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_3384@localhost">>,
               <<"matygrysa">>},
          method => <<"GET">>,role => client,return_headers => true}


*** User 2024-04-23 07:02:49.784 ***🔗
bob_chat_markers_are_archived_in_room_3384@localhost/res1 out
</stream:stream>

*** User 2024-04-23 07:02:49.784 ***🔗
bob_chat_markers_are_archived_in_room_3384@localhost/res1 in
</stream:stream>

*** User 2024-04-23 07:02:49.784 ***🔗
alice_chat_markers_are_archived_in_room_3384@localhost/res1 out
</stream:stream>

*** User 2024-04-23 07:02:49.785 ***🔗
alice_chat_markers_are_archived_in_room_3384@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 07:02:49.793 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5520.html



=== Ended at 2024-04-23 07:02:49
=== successfully completed test case
=== === Returned value: ok