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

=== Config value:

    [{watchdog,<0.71710.0>},
     {muc_light_host,<<"muclight.domain.example.com">>},
     {mam_backend,rdbms},
     {preset,"mysql_redis"},
     {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@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.rest_client_SUITE.logs/run.2023-12-07_07.57.59/rest_client_suite.chat_markers_are_archived_in_room.165379.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@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.rest_client_SUITE.logs/run.2023-12-07_07.57.59/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_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_sic => #{iqdisc => one_queue},
        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 => 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@d3b7dd7159a8.2023-12-07_07.46.41"

=== Started at 2023-12-07 07:57:59


*** CT 2023-12-07 07:57:59.784 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2414.html

*** User 2023-12-07 07:57:59.845 ***🔗
alicE_chat_markers_are_archived_in_room_2570@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 2023-12-07 07:57:59.846 ***🔗
alicE_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bf2c8e4fa365b4b8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:57:59.846 ***🔗
alicE_chat_markers_are_archived_in_room_2570@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 2023-12-07 07:57:59.847 ***🔗
alicE_chat_markers_are_archived_in_room_2570@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yNTcwAG1hdHlncnlzYQ==</auth>



*** User 2023-12-07 07:57:59.849 ***🔗
alicE_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:57:59.849 ***🔗
alicE_chat_markers_are_archived_in_room_2570@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 2023-12-07 07:57:59.850 ***🔗
alicE_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ca77bacae022f43c' from='domain.example.com' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_2570@domain.example.com'>

*** User 2023-12-07 07:57:59.851 ***🔗
alicE_chat_markers_are_archived_in_room_2570@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 2023-12-07 07:57:59.851 ***🔗
alicE_chat_markers_are_archived_in_room_2570@domain.example.com/res1 out
<iq type='set' id='30aae732b2e5ae99fb986706c545d49f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-07 07:57:59.852 ***🔗
alicE_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<iq id='30aae732b2e5ae99fb986706c545d49f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_chat_markers_are_archived_in_room_2570@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-07 07:57:59.852 ***🔗
alice_chat_markers_are_archived_in_room_2570@domain.example.com/res1 out
<iq type='set' id='0353fe1cdc0d8ef75a886fc518377404'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:57:59.853 ***🔗
alice_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_chat_markers_are_archived_in_room_2570@domain.example.com/res1' id='0353fe1cdc0d8ef75a886fc518377404' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:57:59.854 ***🔗
alice_chat_markers_are_archived_in_room_2570@domain.example.com/res1 out
<presence/>



*** User 2023-12-07 07:57:59.857 ***🔗
alice_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<presence from='alice_chat_markers_are_archived_in_room_2570@domain.example.com/res1' to='alice_chat_markers_are_archived_in_room_2570@domain.example.com/res1'/>



*** User 2023-12-07 07:57:59.859 ***🔗
bOb_chat_markers_are_archived_in_room_2570@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 2023-12-07 07:57:59.859 ***🔗
bOb_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='714046eb37370078' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:57:59.859 ***🔗
bOb_chat_markers_are_archived_in_room_2570@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 2023-12-07 07:57:59.859 ***🔗
bOb_chat_markers_are_archived_in_room_2570@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMjU3MABtYWtyb2xpa2E=</auth>



*** User 2023-12-07 07:57:59.863 ***🔗
bOb_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:57:59.864 ***🔗
bOb_chat_markers_are_archived_in_room_2570@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 2023-12-07 07:57:59.865 ***🔗
bOb_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='edee564a9aa1143d' from='domain.example.com' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_2570@domain.example.com'>

*** User 2023-12-07 07:57:59.865 ***🔗
bOb_chat_markers_are_archived_in_room_2570@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 2023-12-07 07:57:59.865 ***🔗
bOb_chat_markers_are_archived_in_room_2570@domain.example.com/res1 out
<iq type='set' id='42cafa02af5699fd27f9d2342dde6822'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-07 07:57:59.925 ***🔗
bOb_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<iq id='42cafa02af5699fd27f9d2342dde6822' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_chat_markers_are_archived_in_room_2570@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-07 07:57:59.926 ***🔗
bob_chat_markers_are_archived_in_room_2570@domain.example.com/res1 out
<iq type='set' id='0f058f3f2c2203174fe8655d9894c5fc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:57:59.929 ***🔗
bob_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_chat_markers_are_archived_in_room_2570@domain.example.com/res1' id='0f058f3f2c2203174fe8655d9894c5fc' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:57:59.929 ***🔗
bob_chat_markers_are_archived_in_room_2570@domain.example.com/res1 out
<presence/>



*** User 2023-12-07 07:57:59.945 ***🔗
bob_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<presence from='bob_chat_markers_are_archived_in_room_2570@domain.example.com/res1' to='bob_chat_markers_are_archived_in_room_2570@domain.example.com/res1'/>



*** User 2023-12-07 07:58:00.026 ***🔗
REST request:
Code: 201
Req: {<0.72190.0>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fe701f6e6fab2684">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI1NzBAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 07 Dec 2023 07:57:59 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1701-935879-955258\"}">>,156,73182}
Params: #{path => <<"/api/rooms">>,
          server => #{node => mongooseim@localhost},
          role => client,method => <<"POST">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2570@domain.example.com">>,
               <<"matygrysa">>},
          body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          return_headers => true}


*** User 2023-12-07 07:58:00.059 ***🔗
REST request:
Code: 204
Req: {<0.72309.0>,<<"/api/rooms/1701-935879-955258/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f22d8bead046ef52">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI1NzBAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2570@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 07 Dec 2023 07:57:59 GMT">>}],
         <<>>,80,26929}
Params: #{path => <<"/api/rooms/1701-935879-955258/users">>,
          server => #{node => mongooseim@localhost},
          role => client,method => <<"POST">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2570@domain.example.com">>,
               <<"matygrysa">>},
          body =>
              <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2570@domain.example.com\"}">>,
          return_headers => true}


*** User 2023-12-07 07:58:00.059 ***🔗
bob_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<message from='1701-935879-955258@muclight.domain.example.com' to='bob_chat_markers_are_archived_in_room_2570@domain.example.com' id='b7eda3fc-d925-46d9-b121-0d1663f75de6' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1701-935880-46373</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2570@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2023-12-07 07:58:00.059 ***🔗
alice_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<message from='1701-935879-955258@muclight.domain.example.com' to='alice_chat_markers_are_archived_in_room_2570@domain.example.com' id='b7eda3fc-d925-46d9-b121-0d1663f75de6' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1701-935879-955250</prev-version>
		<version>1701-935880-46373</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2570@domain.example.com</user>
	</x>
	<body/>
	<stanza-id by='1701-935879-955258@muclight.domain.example.com' id='C2V6QE7N5781' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2023-12-07 07:58:00.145 ***🔗
REST request:
Code: 200
Req: {<0.72459.0>,<<"/api/rooms/1701-935879-955258/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"83c7d33fbd9061ec">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yNTcwQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 07 Dec 2023 07:57:59 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"adf6f2a2-596a-42c7-9ee6-7c79c7667567\"}">>,169,15176}
Params: #{path => <<"/api/rooms/1701-935879-955258/messages">>,
          server => #{node => mongooseim@localhost},
          role => client,method => <<"POST">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2570@domain.example.com">>,
               <<"makrolika">>},
          body =>
              <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
          return_headers => true}


*** User 2023-12-07 07:58:00.145 ***🔗
alice_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<message from='1701-935879-955258@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2570@domain.example.com' to='alice_chat_markers_are_archived_in_room_2570@domain.example.com' id='adf6f2a2-596a-42c7-9ee6-7c79c7667567' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1701-935879-955258@muclight.domain.example.com' id='C2V6QE8DF1G1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2023-12-07 07:58:00.145 ***🔗
bob_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<message from='1701-935879-955258@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2570@domain.example.com' to='bob_chat_markers_are_archived_in_room_2570@domain.example.com' id='adf6f2a2-596a-42c7-9ee6-7c79c7667567' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1701-935879-955258@muclight.domain.example.com' id='C2V6QE8DF1G1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2023-12-07 07:58:00.156 ***🔗
REST request:
Code: 200
Req: {<0.72543.0>,<<"/api/rooms/1701-935879-955258/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"832910327b99cfbd">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yNTcwQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 07 Dec 2023 07:57:59 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"0d844564-7f60-4628-9933-316d7c96bfc6\"}">>,169,3810}
Params: #{path => <<"/api/rooms/1701-935879-955258/messages">>,
          server => #{node => mongooseim@localhost},
          role => client,method => <<"POST">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2570@domain.example.com">>,
               <<"makrolika">>},
          body =>
              <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
          return_headers => true}


*** User 2023-12-07 07:58:00.156 ***🔗
alice_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<message from='1701-935879-955258@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2570@domain.example.com' to='alice_chat_markers_are_archived_in_room_2570@domain.example.com' id='0d844564-7f60-4628-9933-316d7c96bfc6' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1701-935879-955258@muclight.domain.example.com' id='C2V6QE8IKI01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2023-12-07 07:58:00.156 ***🔗
bob_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<message from='1701-935879-955258@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2570@domain.example.com' to='bob_chat_markers_are_archived_in_room_2570@domain.example.com' id='0d844564-7f60-4628-9933-316d7c96bfc6' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1701-935879-955258@muclight.domain.example.com' id='C2V6QE8IKI01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2023-12-07 07:58:00.225 ***🔗
REST request:
Code: 200
Req: {<0.72575.0>,<<"/api/rooms/1701-935879-955258/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8fe1f60a76f96db6">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yNTcwQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 07 Dec 2023 07:57:59 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"76401889-03ed-49e7-82bc-8f5ea81a75ee\"}">>,169,63411}
Params: #{path => <<"/api/rooms/1701-935879-955258/messages">>,
          server => #{node => mongooseim@localhost},
          role => client,method => <<"POST">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2570@domain.example.com">>,
               <<"makrolika">>},
          body =>
              <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
          return_headers => true}

Could not find element wait_for_parallel_writer in Config.


*** User 2023-12-07 07:58:00.225 ***🔗
alice_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<message from='1701-935879-955258@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2570@domain.example.com' to='alice_chat_markers_are_archived_in_room_2570@domain.example.com' id='76401889-03ed-49e7-82bc-8f5ea81a75ee' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1701-935879-955258@muclight.domain.example.com' id='C2V6QE8L4701' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element archive_wait in Config.


*** User 2023-12-07 07:58:00.225 ***🔗
bob_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
<message from='1701-935879-955258@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2570@domain.example.com' to='bob_chat_markers_are_archived_in_room_2570@domain.example.com' id='76401889-03ed-49e7-82bc-8f5ea81a75ee' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1701-935879-955258@muclight.domain.example.com' id='C2V6QE8L4701' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2023-12-07 07:58:00.233 ***🔗
REST request:
Code: 200
Req: {<0.72611.0>,<<"/api/rooms/1701-935879-955258/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"58bbc5d8fd34315c">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI1NzBAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 07 Dec 2023 07:57:59 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"903">>}],
         <<"[{\"affiliation\":\"member\",\"from\":\"1701-935879-955258@muclight.domain.example.com\",\"user\":\"bob_chat_markers_are_archived_in_room_2570@domain.example.com\",\"type\":\"affiliation\",\"timestamp\":1701935880041,\"id\":\"b7eda3fc-d925-46d9-b121-0d1663f75de6\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2570@domain.example.com\",\"type\":\"message\",\"timestamp\":1701935880132,\"id\":\"adf6f2a2-596a-42c7-9ee6-7c79c7667567\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2570@domain.example.com\",\"type\":\"message\",\"timestamp\":1701935880153,\"id\":\"0d844564-7f60-4628-9933-316d7c96bfc6\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2570@domain.example.com\",\"type\":\"message\",\"timestamp\":1701935880163,\"id\":\"76401889-03ed-49e7-82bc-8f5ea81a75ee\"}]">>,
         1028,2257}
Params: #{path => <<"/api/rooms/1701-935879-955258/messages">>,
          server => #{node => mongooseim@localhost},
          role => client,method => <<"GET">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2570@domain.example.com">>,
               <<"matygrysa">>},
          body => <<>>,return_headers => true}


*** User 2023-12-07 07:58:00.233 ***🔗
bob_chat_markers_are_archived_in_room_2570@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-07 07:58:00.233 ***🔗
bob_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
</stream:stream>

*** User 2023-12-07 07:58:00.234 ***🔗
alice_chat_markers_are_archived_in_room_2570@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-07 07:58:00.234 ***🔗
alice_chat_markers_are_archived_in_room_2570@domain.example.com/res1 in
</stream:stream>
*** CT 2023-12-07 07:58:00.236 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2415.html



=== Ended at 2023-12-07 07:58:00
=== successfully completed test case
=== === Returned value: ok