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

=== Config value:

    [{watchdog,<0.82679.0>},
     {muc_light_host,<<"muclight.localhost">>},
     {mam_backend,rdbms},
     {preset,"pgsql_cets"},
     {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@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.rest_client_SUITE.logs/run.2024-04-18_11.10.07/rest_client_suite.chat_markers_are_archived_in_room.93060.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@2ed2b07c4324.2024-04-18_10.56.18/big_tests.tests.rest_client_SUITE.logs/run.2024-04-18_11.10.07/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_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_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              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 => cets,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@2ed2b07c4324.2024-04-18_10.56.18"

=== Started at 2024-04-18 11:10:08


*** CT 2024-04-18 11:10:08.174 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5569.html

*** User 2024-04-18 11:10:08.280 ***🔗
alicE_chat_markers_are_archived_in_room_2987@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-18 11:10:08.280 ***🔗
alicE_chat_markers_are_archived_in_room_2987@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d4b73867ac5bbfb0' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-18 11:10:08.280 ***🔗
alicE_chat_markers_are_archived_in_room_2987@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-18 11:10:08.280 ***🔗
alicE_chat_markers_are_archived_in_room_2987@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yOTg3AG1hdHlncnlzYQ==</auth>



*** User 2024-04-18 11:10:08.284 ***🔗
alicE_chat_markers_are_archived_in_room_2987@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-18 11:10:08.284 ***🔗
alicE_chat_markers_are_archived_in_room_2987@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-18 11:10:08.349 ***🔗
alicE_chat_markers_are_archived_in_room_2987@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='52dd9545dbbd04ff' from='localhost' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_2987@localhost'>

*** User 2024-04-18 11:10:08.349 ***🔗
alicE_chat_markers_are_archived_in_room_2987@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-18 11:10:08.350 ***🔗
alicE_chat_markers_are_archived_in_room_2987@localhost/res1 out
<iq type='set' id='1d0e8a4b87ed490157367da722e33a84'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-18 11:10:08.350 ***🔗
alicE_chat_markers_are_archived_in_room_2987@localhost/res1 in
<iq id='1d0e8a4b87ed490157367da722e33a84' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_chat_markers_are_archived_in_room_2987@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-18 11:10:08.351 ***🔗
alice_chat_markers_are_archived_in_room_2987@localhost/res1 out
<iq type='set' id='a52ff6977296bcf2a6ba260c9024c04e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:10:08.352 ***🔗
alice_chat_markers_are_archived_in_room_2987@localhost/res1 in
<iq from='localhost' to='alice_chat_markers_are_archived_in_room_2987@localhost/res1' id='a52ff6977296bcf2a6ba260c9024c04e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:10:08.352 ***🔗
alice_chat_markers_are_archived_in_room_2987@localhost/res1 out
<presence/>



*** User 2024-04-18 11:10:08.355 ***🔗
alice_chat_markers_are_archived_in_room_2987@localhost/res1 in
<presence from='alice_chat_markers_are_archived_in_room_2987@localhost/res1' to='alice_chat_markers_are_archived_in_room_2987@localhost/res1'/>



*** User 2024-04-18 11:10:08.356 ***🔗
bOb_chat_markers_are_archived_in_room_2987@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-18 11:10:08.358 ***🔗
bOb_chat_markers_are_archived_in_room_2987@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a131567f8d916ac1' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-18 11:10:08.358 ***🔗
bOb_chat_markers_are_archived_in_room_2987@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-18 11:10:08.359 ***🔗
bOb_chat_markers_are_archived_in_room_2987@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMjk4NwBtYWtyb2xpa2E=</auth>



*** User 2024-04-18 11:10:08.365 ***🔗
bOb_chat_markers_are_archived_in_room_2987@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-18 11:10:08.366 ***🔗
bOb_chat_markers_are_archived_in_room_2987@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-18 11:10:08.366 ***🔗
bOb_chat_markers_are_archived_in_room_2987@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='63357c1aa147df3b' from='localhost' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_2987@localhost'>

*** User 2024-04-18 11:10:08.366 ***🔗
bOb_chat_markers_are_archived_in_room_2987@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-18 11:10:08.366 ***🔗
bOb_chat_markers_are_archived_in_room_2987@localhost/res1 out
<iq type='set' id='7e2d5bca86202bcf2a3fff9fea45c264'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-18 11:10:08.367 ***🔗
bOb_chat_markers_are_archived_in_room_2987@localhost/res1 in
<iq id='7e2d5bca86202bcf2a3fff9fea45c264' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_chat_markers_are_archived_in_room_2987@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-18 11:10:08.367 ***🔗
bob_chat_markers_are_archived_in_room_2987@localhost/res1 out
<iq type='set' id='d366922adccdc494600e9cc0be5561d1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:10:08.368 ***🔗
bob_chat_markers_are_archived_in_room_2987@localhost/res1 in
<iq from='localhost' to='bob_chat_markers_are_archived_in_room_2987@localhost/res1' id='d366922adccdc494600e9cc0be5561d1' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-18 11:10:08.368 ***🔗
bob_chat_markers_are_archived_in_room_2987@localhost/res1 out
<presence/>



*** User 2024-04-18 11:10:08.371 ***🔗
bob_chat_markers_are_archived_in_room_2987@localhost/res1 in
<presence from='bob_chat_markers_are_archived_in_room_2987@localhost/res1' to='bob_chat_markers_are_archived_in_room_2987@localhost/res1'/>



*** User 2024-04-18 11:10:08.386 ***🔗
REST request:
Code: 201
Req: {<0.83305.0>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8875e4553a784777">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI5ODdAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 18 Apr 2024 11:10:08 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1713-438608-380473\"}">>,156,6960}
Params: #{path => <<"/api/rooms">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          role => client,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2987@localhost">>,
               <<"matygrysa">>},
          return_headers => true}


*** User 2024-04-18 11:10:08.468 ***🔗
REST request:
Code: 204
Req: {<0.83356.0>,<<"/api/rooms/1713-438608-380473/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"dbdf9af877367f29">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI5ODdAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2987@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 18 Apr 2024 11:10:08 GMT">>}],
         <<>>,80,13389}
Params: #{path => <<"/api/rooms/1713-438608-380473/users">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2987@localhost\"}">>,
          role => client,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2987@localhost">>,
               <<"matygrysa">>},
          return_headers => true}


*** User 2024-04-18 11:10:08.468 ***🔗
bob_chat_markers_are_archived_in_room_2987@localhost/res1 in
<message from='1713-438608-380473@muclight.localhost' to='bob_chat_markers_are_archived_in_room_2987@localhost' id='b57bee96-d47a-49d0-94c1-2d2e76b86b7a' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1713-438608-460339</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2987@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-04-18 11:10:08.468 ***🔗
alice_chat_markers_are_archived_in_room_2987@localhost/res1 in
<message from='1713-438608-380473@muclight.localhost' to='alice_chat_markers_are_archived_in_room_2987@localhost' id='b57bee96-d47a-49d0-94c1-2d2e76b86b7a' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1713-438608-380464</prev-version>
		<version>1713-438608-460339</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2987@localhost</user>
	</x>
	<body/>
	<stanza-id by='1713-438608-380473@muclight.localhost' id='C5IT0ED0K3G1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-18 11:10:08.478 ***🔗
REST request:
Code: 200
Req: {<0.83460.0>,<<"/api/rooms/1713-438608-380473/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"968858234fc0509f">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yOTg3QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 18 Apr 2024 11:10:08 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"6a1fd9d4-6e8a-4863-a38a-73583d029f0f\"}">>,169,4586}
Params: #{path => <<"/api/rooms/1713-438608-380473/messages">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
          role => client,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2987@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-04-18 11:10:08.478 ***🔗
alice_chat_markers_are_archived_in_room_2987@localhost/res1 in
<message from='1713-438608-380473@muclight.localhost/bob_chat_markers_are_archived_in_room_2987@localhost' to='alice_chat_markers_are_archived_in_room_2987@localhost' id='6a1fd9d4-6e8a-4863-a38a-73583d029f0f' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-438608-380473@muclight.localhost' id='C5IT0ED4BK01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-18 11:10:08.478 ***🔗
bob_chat_markers_are_archived_in_room_2987@localhost/res1 in
<message from='1713-438608-380473@muclight.localhost/bob_chat_markers_are_archived_in_room_2987@localhost' to='bob_chat_markers_are_archived_in_room_2987@localhost' id='6a1fd9d4-6e8a-4863-a38a-73583d029f0f' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-438608-380473@muclight.localhost' id='C5IT0ED4BK01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-18 11:10:08.487 ***🔗
REST request:
Code: 200
Req: {<0.83516.0>,<<"/api/rooms/1713-438608-380473/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7e661ea456bdbb21">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yOTg3QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 18 Apr 2024 11:10:08 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"b5b825dc-79b7-4185-9c7f-3ed53e093dc2\"}">>,169,2503}
Params: #{path => <<"/api/rooms/1713-438608-380473/messages">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
          role => client,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2987@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-04-18 11:10:08.487 ***🔗
alice_chat_markers_are_archived_in_room_2987@localhost/res1 in
<message from='1713-438608-380473@muclight.localhost/bob_chat_markers_are_archived_in_room_2987@localhost' to='alice_chat_markers_are_archived_in_room_2987@localhost' id='b5b825dc-79b7-4185-9c7f-3ed53e093dc2' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-438608-380473@muclight.localhost' id='C5IT0ED6SJ81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-18 11:10:08.487 ***🔗
bob_chat_markers_are_archived_in_room_2987@localhost/res1 in
<message from='1713-438608-380473@muclight.localhost/bob_chat_markers_are_archived_in_room_2987@localhost' to='bob_chat_markers_are_archived_in_room_2987@localhost' id='b5b825dc-79b7-4185-9c7f-3ed53e093dc2' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-438608-380473@muclight.localhost' id='C5IT0ED6SJ81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-18 11:10:08.553 ***🔗
REST request:
Code: 200
Req: {<0.83541.0>,<<"/api/rooms/1713-438608-380473/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3f56df568e1cfc67">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yOTg3QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 18 Apr 2024 11:10:08 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"1fd41198-27b3-41a0-9334-fd25d9d3c5b4\"}">>,169,3791}
Params: #{path => <<"/api/rooms/1713-438608-380473/messages">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
          role => client,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2987@localhost">>,
               <<"makrolika">>},
          return_headers => true}


*** User 2024-04-18 11:10:08.553 ***🔗
alice_chat_markers_are_archived_in_room_2987@localhost/res1 in
<message from='1713-438608-380473@muclight.localhost/bob_chat_markers_are_archived_in_room_2987@localhost' to='alice_chat_markers_are_archived_in_room_2987@localhost' id='1fd41198-27b3-41a0-9334-fd25d9d3c5b4' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-438608-380473@muclight.localhost' id='C5IT0EDMM201' 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-18 11:10:08.554 ***🔗
bob_chat_markers_are_archived_in_room_2987@localhost/res1 in
<message from='1713-438608-380473@muclight.localhost/bob_chat_markers_are_archived_in_room_2987@localhost' to='bob_chat_markers_are_archived_in_room_2987@localhost' id='1fd41198-27b3-41a0-9334-fd25d9d3c5b4' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-438608-380473@muclight.localhost' id='C5IT0EDMM201' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-18 11:10:08.561 ***🔗
REST request:
Code: 200
Req: {<0.83573.0>,<<"/api/rooms/1713-438608-380473/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a65332e52b1effe7">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI5ODdAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 18 Apr 2024 11:10:08 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"858">>}],
         <<"[{\"affiliation\":\"member\",\"from\":\"1713-438608-380473@muclight.localhost\",\"user\":\"bob_chat_markers_are_archived_in_room_2987@localhost\",\"type\":\"affiliation\",\"timestamp\":1713438608460,\"id\":\"b57bee96-d47a-49d0-94c1-2d2e76b86b7a\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2987@localhost\",\"type\":\"message\",\"timestamp\":1713438608475,\"id\":\"6a1fd9d4-6e8a-4863-a38a-73583d029f0f\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2987@localhost\",\"type\":\"message\",\"timestamp\":1713438608485,\"id\":\"b5b825dc-79b7-4185-9c7f-3ed53e093dc2\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2987@localhost\",\"type\":\"message\",\"timestamp\":1713438608550,\"id\":\"1fd41198-27b3-41a0-9334-fd25d9d3c5b4\"}]">>,
         983,2115}
Params: #{path => <<"/api/rooms/1713-438608-380473/messages">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,role => client,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2987@localhost">>,
               <<"matygrysa">>},
          return_headers => true}


*** User 2024-04-18 11:10:08.561 ***🔗
bob_chat_markers_are_archived_in_room_2987@localhost/res1 out
</stream:stream>

*** User 2024-04-18 11:10:08.562 ***🔗
bob_chat_markers_are_archived_in_room_2987@localhost/res1 in
</stream:stream>

*** User 2024-04-18 11:10:08.562 ***🔗
alice_chat_markers_are_archived_in_room_2987@localhost/res1 out
</stream:stream>

*** User 2024-04-18 11:10:08.562 ***🔗
alice_chat_markers_are_archived_in_room_2987@localhost/res1 in
</stream:stream>
*** CT 2024-04-18 11:10:08.567 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5569.html



=== Ended at 2024-04-18 11:10:08
=== successfully completed test case
=== === Returned value: ok