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

=== Config value:

    [{watchdog,<0.78830.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@bd58dd88791f.2024-01-15_11.59.42/big_tests.tests.rest_client_SUITE.logs/run.2024-01-15_12.14.13/rest_client_suite.chat_markers_are_archived_in_room.209410.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@bd58dd88791f.2024-01-15_11.59.42/big_tests.tests.rest_client_SUITE.logs/run.2024-01-15_12.14.13/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,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        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@bd58dd88791f.2024-01-15_11.59.42"

=== Started at 2024-01-15 12:14:13


*** CT 2024-01-15 12:14:14.015 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4559.html

*** User 2024-01-15 12:14:14.109 ***🔗
alicE_chat_markers_are_archived_in_room_2844@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-01-15 12:14:14.110 ***🔗
alicE_chat_markers_are_archived_in_room_2844@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fc2e34c81e6de094' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-01-15 12:14:14.110 ***🔗
alicE_chat_markers_are_archived_in_room_2844@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-01-15 12:14:14.110 ***🔗
alicE_chat_markers_are_archived_in_room_2844@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yODQ0AG1hdHlncnlzYQ==</auth>



*** User 2024-01-15 12:14:14.114 ***🔗
alicE_chat_markers_are_archived_in_room_2844@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-15 12:14:14.114 ***🔗
alicE_chat_markers_are_archived_in_room_2844@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-01-15 12:14:14.114 ***🔗
alicE_chat_markers_are_archived_in_room_2844@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8af0c17e08858769' from='localhost' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_2844@localhost'>

*** User 2024-01-15 12:14:14.114 ***🔗
alicE_chat_markers_are_archived_in_room_2844@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-01-15 12:14:14.114 ***🔗
alicE_chat_markers_are_archived_in_room_2844@localhost/res1 out
<iq type='set' id='443b6d0459a9722ee965a4939b586d8e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-15 12:14:14.115 ***🔗
alicE_chat_markers_are_archived_in_room_2844@localhost/res1 in
<iq id='443b6d0459a9722ee965a4939b586d8e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_chat_markers_are_archived_in_room_2844@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-01-15 12:14:14.115 ***🔗
alice_chat_markers_are_archived_in_room_2844@localhost/res1 out
<iq type='set' id='20a7c05f6d208a8cf32e3c7e8b72b180'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:14:14.116 ***🔗
alice_chat_markers_are_archived_in_room_2844@localhost/res1 in
<iq from='localhost' to='alice_chat_markers_are_archived_in_room_2844@localhost/res1' id='20a7c05f6d208a8cf32e3c7e8b72b180' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:14:14.117 ***🔗
alice_chat_markers_are_archived_in_room_2844@localhost/res1 out
<presence/>



*** User 2024-01-15 12:14:14.126 ***🔗
alice_chat_markers_are_archived_in_room_2844@localhost/res1 in
<presence from='alice_chat_markers_are_archived_in_room_2844@localhost/res1' to='alice_chat_markers_are_archived_in_room_2844@localhost/res1'/>



*** User 2024-01-15 12:14:14.127 ***🔗
bOb_chat_markers_are_archived_in_room_2844@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-01-15 12:14:14.128 ***🔗
bOb_chat_markers_are_archived_in_room_2844@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2fdb879c1807bc5a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-01-15 12:14:14.128 ***🔗
bOb_chat_markers_are_archived_in_room_2844@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-01-15 12:14:14.128 ***🔗
bOb_chat_markers_are_archived_in_room_2844@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMjg0NABtYWtyb2xpa2E=</auth>



*** User 2024-01-15 12:14:14.197 ***🔗
bOb_chat_markers_are_archived_in_room_2844@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-15 12:14:14.197 ***🔗
bOb_chat_markers_are_archived_in_room_2844@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-01-15 12:14:14.198 ***🔗
bOb_chat_markers_are_archived_in_room_2844@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3ebb606c3b8f348e' from='localhost' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_2844@localhost'>

*** User 2024-01-15 12:14:14.198 ***🔗
bOb_chat_markers_are_archived_in_room_2844@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-01-15 12:14:14.198 ***🔗
bOb_chat_markers_are_archived_in_room_2844@localhost/res1 out
<iq type='set' id='00c585b454e3a83abe09f1845a07fb00'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-15 12:14:14.198 ***🔗
bOb_chat_markers_are_archived_in_room_2844@localhost/res1 in
<iq id='00c585b454e3a83abe09f1845a07fb00' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_chat_markers_are_archived_in_room_2844@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-01-15 12:14:14.199 ***🔗
bob_chat_markers_are_archived_in_room_2844@localhost/res1 out
<iq type='set' id='52a883296abc81f11742226b02972b91'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:14:14.200 ***🔗
bob_chat_markers_are_archived_in_room_2844@localhost/res1 in
<iq from='localhost' to='bob_chat_markers_are_archived_in_room_2844@localhost/res1' id='52a883296abc81f11742226b02972b91' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:14:14.200 ***🔗
bob_chat_markers_are_archived_in_room_2844@localhost/res1 out
<presence/>



*** User 2024-01-15 12:14:14.211 ***🔗
bob_chat_markers_are_archived_in_room_2844@localhost/res1 in
<presence from='bob_chat_markers_are_archived_in_room_2844@localhost/res1' to='bob_chat_markers_are_archived_in_room_2844@localhost/res1'/>



*** User 2024-01-15 12:14:14.231 ***🔗
REST request:
Code: 201
Req: {<0.79315.0>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a782147cd7ab9039">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI4NDRAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Jan 2024 12:14:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1705-320854-224299\"}">>,156,9391}
Params: #{path => <<"/api/rooms">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2844@localhost">>,
               <<"matygrysa">>},
          body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          role => client,return_headers => true}


*** User 2024-01-15 12:14:14.322 ***🔗
REST request:
Code: 204
Req: {<0.79410.0>,<<"/api/rooms/1705-320854-224299/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"85f4b243233335a8">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI4NDRAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2844@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Jan 2024 12:14:13 GMT">>}],
         <<>>,80,84839}
Params: #{path => <<"/api/rooms/1705-320854-224299/users">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2844@localhost">>,
               <<"matygrysa">>},
          body =>
              <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2844@localhost\"}">>,
          role => client,return_headers => true}


*** User 2024-01-15 12:14:14.322 ***🔗
bob_chat_markers_are_archived_in_room_2844@localhost/res1 in
<message from='1705-320854-224299@muclight.localhost' to='bob_chat_markers_are_archived_in_room_2844@localhost' id='24da5cf7-e5b6-424e-8f33-e22931adfa40' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1705-320854-312283</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2844@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-01-15 12:14:14.322 ***🔗
alice_chat_markers_are_archived_in_room_2844@localhost/res1 in
<message from='1705-320854-224299@muclight.localhost' to='alice_chat_markers_are_archived_in_room_2844@localhost' id='24da5cf7-e5b6-424e-8f33-e22931adfa40' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1705-320854-224285</prev-version>
		<version>1705-320854-312283</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2844@localhost</user>
	</x>
	<body/>
	<stanza-id by='1705-320854-224299@muclight.localhost' id='C3NQUEVQJP81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-01-15 12:14:14.404 ***🔗
REST request:
Code: 200
Req: {<0.79538.0>,<<"/api/rooms/1705-320854-224299/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7a28c18dcbb5bd5d">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yODQ0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Jan 2024 12:14:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"4d4d9430-bd0c-435a-9662-bba80165bd8a\"}">>,169,73632}
Params: #{path => <<"/api/rooms/1705-320854-224299/messages">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2844@localhost">>,
               <<"makrolika">>},
          body =>
              <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
          role => client,return_headers => true}


*** User 2024-01-15 12:14:14.404 ***🔗
alice_chat_markers_are_archived_in_room_2844@localhost/res1 in
<message from='1705-320854-224299@muclight.localhost/bob_chat_markers_are_archived_in_room_2844@localhost' to='alice_chat_markers_are_archived_in_room_2844@localhost' id='4d4d9430-bd0c-435a-9662-bba80165bd8a' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1705-320854-224299@muclight.localhost' id='C3NQUF02D101' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-01-15 12:14:14.404 ***🔗
bob_chat_markers_are_archived_in_room_2844@localhost/res1 in
<message from='1705-320854-224299@muclight.localhost/bob_chat_markers_are_archived_in_room_2844@localhost' to='bob_chat_markers_are_archived_in_room_2844@localhost' id='4d4d9430-bd0c-435a-9662-bba80165bd8a' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1705-320854-224299@muclight.localhost' id='C3NQUF02D101' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-01-15 12:14:14.418 ***🔗
REST request:
Code: 200
Req: {<0.79636.0>,<<"/api/rooms/1705-320854-224299/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"124212fd7408baf2">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yODQ0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Jan 2024 12:14:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"8f4f4948-9a5e-46c0-afa4-daf795a37d3a\"}">>,169,5627}
Params: #{path => <<"/api/rooms/1705-320854-224299/messages">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2844@localhost">>,
               <<"makrolika">>},
          body =>
              <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
          role => client,return_headers => true}


*** User 2024-01-15 12:14:14.419 ***🔗
alice_chat_markers_are_archived_in_room_2844@localhost/res1 in
<message from='1705-320854-224299@muclight.localhost/bob_chat_markers_are_archived_in_room_2844@localhost' to='alice_chat_markers_are_archived_in_room_2844@localhost' id='8f4f4948-9a5e-46c0-afa4-daf795a37d3a' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1705-320854-224299@muclight.localhost' id='C3NQUF0MLLO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-01-15 12:14:14.419 ***🔗
bob_chat_markers_are_archived_in_room_2844@localhost/res1 in
<message from='1705-320854-224299@muclight.localhost/bob_chat_markers_are_archived_in_room_2844@localhost' to='bob_chat_markers_are_archived_in_room_2844@localhost' id='8f4f4948-9a5e-46c0-afa4-daf795a37d3a' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1705-320854-224299@muclight.localhost' id='C3NQUF0MLLO1' 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-01-15 12:14:14.430 ***🔗
REST request:
Code: 200
Req: {<0.79686.0>,<<"/api/rooms/1705-320854-224299/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9390de33b2dfbef1">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yODQ0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Jan 2024 12:14:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"64a3e381-c239-4a13-9f93-65943b3f2631\"}">>,169,3442}
Params: #{path => <<"/api/rooms/1705-320854-224299/messages">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2844@localhost">>,
               <<"makrolika">>},
          body =>
              <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
          role => client,return_headers => true}


*** User 2024-01-15 12:14:14.430 ***🔗
alice_chat_markers_are_archived_in_room_2844@localhost/res1 in
<message from='1705-320854-224299@muclight.localhost/bob_chat_markers_are_archived_in_room_2844@localhost' to='alice_chat_markers_are_archived_in_room_2844@localhost' id='64a3e381-c239-4a13-9f93-65943b3f2631' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1705-320854-224299@muclight.localhost' id='C3NQUF0PO981' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-01-15 12:14:14.430 ***🔗
bob_chat_markers_are_archived_in_room_2844@localhost/res1 in
<message from='1705-320854-224299@muclight.localhost/bob_chat_markers_are_archived_in_room_2844@localhost' to='bob_chat_markers_are_archived_in_room_2844@localhost' id='64a3e381-c239-4a13-9f93-65943b3f2631' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1705-320854-224299@muclight.localhost' id='C3NQUF0PO981' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-01-15 12:14:14.498 ***🔗
REST request:
Code: 200
Req: {<0.79716.0>,<<"/api/rooms/1705-320854-224299/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0fc580b58f8787eb">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI4NDRAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 15 Jan 2024 12:14:13 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"858">>}],
         <<"[{\"affiliation\":\"member\",\"from\":\"1705-320854-224299@muclight.localhost\",\"user\":\"bob_chat_markers_are_archived_in_room_2844@localhost\",\"type\":\"affiliation\",\"timestamp\":1705320854301,\"id\":\"24da5cf7-e5b6-424e-8f33-e22931adfa40\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2844@localhost\",\"type\":\"message\",\"timestamp\":1705320854333,\"id\":\"4d4d9430-bd0c-435a-9662-bba80165bd8a\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2844@localhost\",\"type\":\"message\",\"timestamp\":1705320854416,\"id\":\"8f4f4948-9a5e-46c0-afa4-daf795a37d3a\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2844@localhost\",\"type\":\"message\",\"timestamp\":1705320854428,\"id\":\"64a3e381-c239-4a13-9f93-65943b3f2631\"}]">>,
         983,60913}
Params: #{path => <<"/api/rooms/1705-320854-224299/messages">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2844@localhost">>,
               <<"matygrysa">>},
          body => <<>>,role => client,return_headers => true}


*** User 2024-01-15 12:14:14.498 ***🔗
bob_chat_markers_are_archived_in_room_2844@localhost/res1 out
</stream:stream>

*** User 2024-01-15 12:14:14.499 ***🔗
bob_chat_markers_are_archived_in_room_2844@localhost/res1 in
</stream:stream>

*** User 2024-01-15 12:14:14.499 ***🔗
alice_chat_markers_are_archived_in_room_2844@localhost/res1 out
</stream:stream>

*** User 2024-01-15 12:14:14.499 ***🔗
alice_chat_markers_are_archived_in_room_2844@localhost/res1 in
</stream:stream>
*** CT 2024-01-15 12:14:14.503 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4560.html



=== Ended at 2024-01-15 12:14:14
=== successfully completed test case
=== === Returned value: ok