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

=== Config value:

    [{watchdog,<0.74355.0>},
     {muc_light_host,<<"muclight.domain.example.com">>},
     {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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.rest_client_SUITE.logs/run.2024-02-23_17.45.42/rest_client_suite.chat_markers_are_archived_in_room.56453.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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.rest_client_SUITE.logs/run.2024-02-23_17.45.42/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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_amp => #{},
        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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              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@5f60ef475eab.2024-02-23_17.31.31"

=== Started at 2024-02-23 17:45:43


*** CT 2024-02-23 17:45:43.512 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2666.html

*** User 2024-02-23 17:45:43.590 ***🔗
alicE_chat_markers_are_archived_in_room_2872@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-23 17:45:43.592 ***🔗
alicE_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ed35e2cfada546b3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-23 17:45:43.593 ***🔗
alicE_chat_markers_are_archived_in_room_2872@domain.example.com/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-23 17:45:43.593 ***🔗
alicE_chat_markers_are_archived_in_room_2872@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yODcyAG1hdHlncnlzYQ==</auth>



*** User 2024-02-23 17:45:43.594 ***🔗
alicE_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 17:45:43.595 ***🔗
alicE_chat_markers_are_archived_in_room_2872@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-23 17:45:43.595 ***🔗
alicE_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a403c8f915fed56' from='domain.example.com' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_2872@domain.example.com'>

*** User 2024-02-23 17:45:43.596 ***🔗
alicE_chat_markers_are_archived_in_room_2872@domain.example.com/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-23 17:45:43.597 ***🔗
alicE_chat_markers_are_archived_in_room_2872@domain.example.com/res1 out
<iq type='set' id='040c016f26ee794be5cead638c8bac54'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 17:45:43.598 ***🔗
alicE_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<iq id='040c016f26ee794be5cead638c8bac54' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_chat_markers_are_archived_in_room_2872@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 17:45:43.598 ***🔗
alice_chat_markers_are_archived_in_room_2872@domain.example.com/res1 out
<iq type='set' id='f35a9b202ddd62ad1eed2acb461af25e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:43.601 ***🔗
alice_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_chat_markers_are_archived_in_room_2872@domain.example.com/res1' id='f35a9b202ddd62ad1eed2acb461af25e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:43.601 ***🔗
alice_chat_markers_are_archived_in_room_2872@domain.example.com/res1 out
<presence/>



*** User 2024-02-23 17:45:43.671 ***🔗
alice_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<presence from='alice_chat_markers_are_archived_in_room_2872@domain.example.com/res1' to='alice_chat_markers_are_archived_in_room_2872@domain.example.com/res1'/>



*** User 2024-02-23 17:45:43.672 ***🔗
bOb_chat_markers_are_archived_in_room_2872@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-23 17:45:43.674 ***🔗
bOb_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f87be8bc9ad1592b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-23 17:45:43.675 ***🔗
bOb_chat_markers_are_archived_in_room_2872@domain.example.com/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-23 17:45:43.675 ***🔗
bOb_chat_markers_are_archived_in_room_2872@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMjg3MgBtYWtyb2xpa2E=</auth>



*** User 2024-02-23 17:45:43.695 ***🔗
bOb_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 17:45:43.695 ***🔗
bOb_chat_markers_are_archived_in_room_2872@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-23 17:45:43.695 ***🔗
bOb_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0aaa208f75708d07' from='domain.example.com' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_2872@domain.example.com'>

*** User 2024-02-23 17:45:43.696 ***🔗
bOb_chat_markers_are_archived_in_room_2872@domain.example.com/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-23 17:45:43.696 ***🔗
bOb_chat_markers_are_archived_in_room_2872@domain.example.com/res1 out
<iq type='set' id='a234b6c06058b4e815bd5781bfec5b99'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 17:45:43.696 ***🔗
bOb_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<iq id='a234b6c06058b4e815bd5781bfec5b99' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_chat_markers_are_archived_in_room_2872@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 17:45:43.696 ***🔗
bob_chat_markers_are_archived_in_room_2872@domain.example.com/res1 out
<iq type='set' id='ac0c2739765e34c7d2d1c6f5fda5d9f8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:43.697 ***🔗
bob_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_chat_markers_are_archived_in_room_2872@domain.example.com/res1' id='ac0c2739765e34c7d2d1c6f5fda5d9f8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:45:43.697 ***🔗
bob_chat_markers_are_archived_in_room_2872@domain.example.com/res1 out
<presence/>



*** User 2024-02-23 17:45:43.704 ***🔗
bob_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<presence from='bob_chat_markers_are_archived_in_room_2872@domain.example.com/res1' to='bob_chat_markers_are_archived_in_room_2872@domain.example.com/res1'/>



*** User 2024-02-23 17:45:43.792 ***🔗
REST request:
Code: 201
Req: {<0.74884.0>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"56bdf4216bb4681e">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI4NzJAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:43 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1708-710343-781286\"}">>,156,12575}
Params: #{path => <<"/api/rooms">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2872@domain.example.com">>,
               <<"matygrysa">>},
          role => client,method => <<"POST">>,
          body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          return_headers => true}


*** User 2024-02-23 17:45:43.892 ***🔗
REST request:
Code: 204
Req: {<0.74984.0>,<<"/api/rooms/1708-710343-781286/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"71cd3c048a6b4378">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI4NzJAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2872@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:43 GMT">>}],
         <<>>,80,92239}
Params: #{path => <<"/api/rooms/1708-710343-781286/users">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2872@domain.example.com">>,
               <<"matygrysa">>},
          role => client,method => <<"POST">>,
          body =>
              <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2872@domain.example.com\"}">>,
          return_headers => true}


*** User 2024-02-23 17:45:43.892 ***🔗
bob_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<message from='1708-710343-781286@muclight.domain.example.com' to='bob_chat_markers_are_archived_in_room_2872@domain.example.com' id='b53ebde2-2b85-4323-95a0-18cef7426f23' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1708-710343-877145</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2872@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-02-23 17:45:43.892 ***🔗
alice_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<message from='1708-710343-781286@muclight.domain.example.com' to='alice_chat_markers_are_archived_in_room_2872@domain.example.com' id='b53ebde2-2b85-4323-95a0-18cef7426f23' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1708-710343-781277</prev-version>
		<version>1708-710343-877145</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2872@domain.example.com</user>
	</x>
	<body/>
	<stanza-id by='1708-710343-781286@muclight.domain.example.com' id='C4GG4490KG81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-23 17:45:43.982 ***🔗
REST request:
Code: 200
Req: {<0.75081.0>,<<"/api/rooms/1708-710343-781286/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a538b29ab71ffe1b">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yODcyQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:43 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"bd03ab1d-bb50-4af0-8af6-62290ada8422\"}">>,169,82342}
Params: #{path => <<"/api/rooms/1708-710343-781286/messages">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2872@domain.example.com">>,
               <<"makrolika">>},
          role => client,method => <<"POST">>,
          body =>
              <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
          return_headers => true}


*** User 2024-02-23 17:45:43.983 ***🔗
alice_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<message from='1708-710343-781286@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2872@domain.example.com' to='alice_chat_markers_are_archived_in_room_2872@domain.example.com' id='bd03ab1d-bb50-4af0-8af6-62290ada8422' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1708-710343-781286@muclight.domain.example.com' id='C4GG4498TAO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-23 17:45:43.983 ***🔗
bob_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<message from='1708-710343-781286@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2872@domain.example.com' to='bob_chat_markers_are_archived_in_room_2872@domain.example.com' id='bd03ab1d-bb50-4af0-8af6-62290ada8422' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1708-710343-781286@muclight.domain.example.com' id='C4GG4498TAO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-23 17:45:43.997 ***🔗
REST request:
Code: 200
Req: {<0.75189.0>,<<"/api/rooms/1708-710343-781286/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b031db68ea7c5aa2">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yODcyQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:43 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"7099ca49-31d9-45f2-8a93-b5aade20d669\"}">>,169,6887}
Params: #{path => <<"/api/rooms/1708-710343-781286/messages">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2872@domain.example.com">>,
               <<"makrolika">>},
          role => client,method => <<"POST">>,
          body =>
              <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
          return_headers => true}


*** User 2024-02-23 17:45:43.997 ***🔗
alice_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<message from='1708-710343-781286@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2872@domain.example.com' to='alice_chat_markers_are_archived_in_room_2872@domain.example.com' id='7099ca49-31d9-45f2-8a93-b5aade20d669' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1708-710343-781286@muclight.domain.example.com' id='C4GG449U9VG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-23 17:45:43.998 ***🔗
bob_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<message from='1708-710343-781286@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2872@domain.example.com' to='bob_chat_markers_are_archived_in_room_2872@domain.example.com' id='7099ca49-31d9-45f2-8a93-b5aade20d669' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1708-710343-781286@muclight.domain.example.com' id='C4GG449U9VG1' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element wait_for_parallel_writer in Config.


*** User 2024-02-23 17:45:44.078 ***🔗
REST request:
Code: 200
Req: {<0.75214.0>,<<"/api/rooms/1708-710343-781286/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c669bb8a5740d2cc">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yODcyQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:43 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"72132edd-e995-4ccf-98c3-4cb79ea3dd17\"}">>,169,73877}
Params: #{path => <<"/api/rooms/1708-710343-781286/messages">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2872@domain.example.com">>,
               <<"makrolika">>},
          role => client,method => <<"POST">>,
          body =>
              <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
          return_headers => true}

Could not find element archive_wait in Config.


*** User 2024-02-23 17:45:44.078 ***🔗
alice_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<message from='1708-710343-781286@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2872@domain.example.com' to='alice_chat_markers_are_archived_in_room_2872@domain.example.com' id='72132edd-e995-4ccf-98c3-4cb79ea3dd17' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1708-710343-781286@muclight.domain.example.com' id='C4GG44AHJEO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-23 17:45:44.079 ***🔗
bob_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
<message from='1708-710343-781286@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2872@domain.example.com' to='bob_chat_markers_are_archived_in_room_2872@domain.example.com' id='72132edd-e995-4ccf-98c3-4cb79ea3dd17' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1708-710343-781286@muclight.domain.example.com' id='C4GG44AHJEO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-23 17:45:44.088 ***🔗
REST request:
Code: 200
Req: {<0.75263.0>,<<"/api/rooms/1708-710343-781286/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3539af44e7bd3062">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI4NzJAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 23 Feb 2024 17:45:43 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"903">>}],
         <<"[{\"affiliation\":\"member\",\"from\":\"1708-710343-781286@muclight.domain.example.com\",\"user\":\"bob_chat_markers_are_archived_in_room_2872@domain.example.com\",\"type\":\"affiliation\",\"timestamp\":1708710343871,\"id\":\"b53ebde2-2b85-4323-95a0-18cef7426f23\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2872@domain.example.com\",\"type\":\"message\",\"timestamp\":1708710343904,\"id\":\"bd03ab1d-bb50-4af0-8af6-62290ada8422\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2872@domain.example.com\",\"type\":\"message\",\"timestamp\":1708710343992,\"id\":\"7099ca49-31d9-45f2-8a93-b5aade20d669\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2872@domain.example.com\",\"type\":\"message\",\"timestamp\":1708710344071,\"id\":\"72132edd-e995-4ccf-98c3-4cb79ea3dd17\"}]">>,
         1028,2597}
Params: #{path => <<"/api/rooms/1708-710343-781286/messages">>,
          server => #{node => mongooseim@localhost},
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2872@domain.example.com">>,
               <<"matygrysa">>},
          role => client,method => <<"GET">>,body => <<>>,
          return_headers => true}


*** User 2024-02-23 17:45:44.088 ***🔗
bob_chat_markers_are_archived_in_room_2872@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-23 17:45:44.089 ***🔗
bob_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-23 17:45:44.089 ***🔗
alice_chat_markers_are_archived_in_room_2872@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-23 17:45:44.089 ***🔗
alice_chat_markers_are_archived_in_room_2872@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-23 17:45:44.092 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2667.html



=== Ended at 2024-02-23 17:45:44
=== successfully completed test case
=== === Returned value: ok