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

=== Config value:

    [{watchdog,<0.75902.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@1ed7c4837c10.2024-04-24_13.09.52/big_tests.tests.rest_client_SUITE.logs/run.2024-04-24_13.24.29/rest_client_suite.chat_markers_are_archived_in_room.115844.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@1ed7c4837c10.2024-04-24_13.09.52/big_tests.tests.rest_client_SUITE.logs/run.2024-04-24_13.24.29/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_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@1ed7c4837c10.2024-04-24_13.09.52"

=== Started at 2024-04-24 13:24:29


*** CT 2024-04-24 13:24:29.858 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2661.html

*** User 2024-04-24 13:24:29.912 ***🔗
alicE_chat_markers_are_archived_in_room_2949@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-04-24 13:24:29.913 ***🔗
alicE_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='70f56c19680f3d87' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:24:29.914 ***🔗
alicE_chat_markers_are_archived_in_room_2949@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-04-24 13:24:29.914 ***🔗
alicE_chat_markers_are_archived_in_room_2949@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yOTQ5AG1hdHlncnlzYQ==</auth>



*** User 2024-04-24 13:24:29.974 ***🔗
alicE_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:24:29.975 ***🔗
alicE_chat_markers_are_archived_in_room_2949@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-04-24 13:24:29.975 ***🔗
alicE_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bbb347d0c5f9271e' from='domain.example.com' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_2949@domain.example.com'>

*** User 2024-04-24 13:24:29.976 ***🔗
alicE_chat_markers_are_archived_in_room_2949@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-04-24 13:24:29.976 ***🔗
alicE_chat_markers_are_archived_in_room_2949@domain.example.com/res1 out
<iq type='set' id='7890fff020482c11d14a8e66a0a40c34'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:24:29.976 ***🔗
alicE_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<iq id='7890fff020482c11d14a8e66a0a40c34' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_chat_markers_are_archived_in_room_2949@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:24:29.976 ***🔗
alice_chat_markers_are_archived_in_room_2949@domain.example.com/res1 out
<iq type='set' id='8108fda2f07df7b13bfbb1089199570e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:24:29.977 ***🔗
alice_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_chat_markers_are_archived_in_room_2949@domain.example.com/res1' id='8108fda2f07df7b13bfbb1089199570e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:24:29.977 ***🔗
alice_chat_markers_are_archived_in_room_2949@domain.example.com/res1 out
<presence/>



*** User 2024-04-24 13:24:29.987 ***🔗
alice_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<presence from='alice_chat_markers_are_archived_in_room_2949@domain.example.com/res1' to='alice_chat_markers_are_archived_in_room_2949@domain.example.com/res1'/>



*** User 2024-04-24 13:24:29.987 ***🔗
bOb_chat_markers_are_archived_in_room_2949@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-04-24 13:24:29.989 ***🔗
bOb_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e169a920ab804142' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:24:29.989 ***🔗
bOb_chat_markers_are_archived_in_room_2949@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-04-24 13:24:29.989 ***🔗
bOb_chat_markers_are_archived_in_room_2949@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMjk0OQBtYWtyb2xpa2E=</auth>



*** User 2024-04-24 13:24:29.997 ***🔗
bOb_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:24:29.997 ***🔗
bOb_chat_markers_are_archived_in_room_2949@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-04-24 13:24:29.997 ***🔗
bOb_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ae0cdd27443c25e1' from='domain.example.com' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_2949@domain.example.com'>

*** User 2024-04-24 13:24:29.998 ***🔗
bOb_chat_markers_are_archived_in_room_2949@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-04-24 13:24:29.998 ***🔗
bOb_chat_markers_are_archived_in_room_2949@domain.example.com/res1 out
<iq type='set' id='ba7b29713c0a1b30e45db671059bd08f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:24:29.998 ***🔗
bOb_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<iq id='ba7b29713c0a1b30e45db671059bd08f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_chat_markers_are_archived_in_room_2949@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:24:29.998 ***🔗
bob_chat_markers_are_archived_in_room_2949@domain.example.com/res1 out
<iq type='set' id='b331c632fd06c52d4b172ab2e1dc8cd4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:24:29.999 ***🔗
bob_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_chat_markers_are_archived_in_room_2949@domain.example.com/res1' id='b331c632fd06c52d4b172ab2e1dc8cd4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:24:29.999 ***🔗
bob_chat_markers_are_archived_in_room_2949@domain.example.com/res1 out
<presence/>



*** User 2024-04-24 13:24:30.005 ***🔗
bob_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<presence from='bob_chat_markers_are_archived_in_room_2949@domain.example.com/res1' to='bob_chat_markers_are_archived_in_room_2949@domain.example.com/res1'/>



*** User 2024-04-24 13:24:30.172 ***🔗
REST request:
Code: 201
Req: {<0.76339.0>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2e58ee22642c4b5b">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI5NDlAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:24:29 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"26">>}],
         <<"{\"id\":\"1713-965070-86023\"}">>,155,91111}
Params: #{path => <<"/api/rooms">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2949@domain.example.com">>,
               <<"matygrysa">>},
          role => client,return_headers => true}


*** User 2024-04-24 13:24:30.282 ***🔗
REST request:
Code: 204
Req: {<0.76487.0>,<<"/api/rooms/1713-965070-86023/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"21a24100c57eae6c">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI5NDlAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2949@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:24:29 GMT">>}],
         <<>>,80,102507}
Params: #{path => <<"/api/rooms/1713-965070-86023/users">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2949@domain.example.com\"}">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2949@domain.example.com">>,
               <<"matygrysa">>},
          role => client,return_headers => true}


*** User 2024-04-24 13:24:30.282 ***🔗
bob_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<message from='1713-965070-86023@muclight.domain.example.com' to='bob_chat_markers_are_archived_in_room_2949@domain.example.com' id='b4e665ec-ce4f-4a5d-980a-03e95580738f' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1713-965070-205690</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2949@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2024-04-24 13:24:30.283 ***🔗
alice_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<message from='1713-965070-86023@muclight.domain.example.com' to='alice_chat_markers_are_archived_in_room_2949@domain.example.com' id='b4e665ec-ce4f-4a5d-980a-03e95580738f' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1713-965070-86013</prev-version>
		<version>1713-965070-205690</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2949@domain.example.com</user>
	</x>
	<body/>
	<stanza-id by='1713-965070-86023@muclight.domain.example.com' id='C5MNISL8UQG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-24 13:24:30.307 ***🔗
REST request:
Code: 200
Req: {<0.76624.0>,<<"/api/rooms/1713-965070-86023/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8a8885e8717e9024">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yOTQ5QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:24:29 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"9dfeca09-cd8a-4aaa-9b46-8342f60b0459\"}">>,169,15753}
Params: #{path => <<"/api/rooms/1713-965070-86023/messages">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2949@domain.example.com">>,
               <<"makrolika">>},
          role => client,return_headers => true}


*** User 2024-04-24 13:24:30.307 ***🔗
alice_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<message from='1713-965070-86023@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2949@domain.example.com' to='alice_chat_markers_are_archived_in_room_2949@domain.example.com' id='9dfeca09-cd8a-4aaa-9b46-8342f60b0459' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-965070-86023@muclight.domain.example.com' id='C5MNISM22IO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-24 13:24:30.307 ***🔗
bob_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<message from='1713-965070-86023@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2949@domain.example.com' to='bob_chat_markers_are_archived_in_room_2949@domain.example.com' id='9dfeca09-cd8a-4aaa-9b46-8342f60b0459' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-965070-86023@muclight.domain.example.com' id='C5MNISM22IO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-24 13:24:30.387 ***🔗
REST request:
Code: 200
Req: {<0.76702.0>,<<"/api/rooms/1713-965070-86023/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a809132bbff79196">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yOTQ5QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:24:29 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"44116419-e6bf-48e0-a964-f54e24da75cb\"}">>,169,13221}
Params: #{path => <<"/api/rooms/1713-965070-86023/messages">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2949@domain.example.com">>,
               <<"makrolika">>},
          role => client,return_headers => true}


*** User 2024-04-24 13:24:30.387 ***🔗
alice_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<message from='1713-965070-86023@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2949@domain.example.com' to='alice_chat_markers_are_archived_in_room_2949@domain.example.com' id='44116419-e6bf-48e0-a964-f54e24da75cb' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-965070-86023@muclight.domain.example.com' id='C5MNISMNE7G1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-24 13:24:30.387 ***🔗
bob_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<message from='1713-965070-86023@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2949@domain.example.com' to='bob_chat_markers_are_archived_in_room_2949@domain.example.com' id='44116419-e6bf-48e0-a964-f54e24da75cb' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-965070-86023@muclight.domain.example.com' id='C5MNISMNE7G1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-04-24 13:24:30.404 ***🔗
REST request:
Code: 200
Req: {<0.76758.0>,<<"/api/rooms/1713-965070-86023/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"eb1a53b0c1c5248b">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yOTQ5QGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:24:29 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"a783c3b6-e3c9-4709-b0c4-a37705276a29\"}">>,169,9577}
Params: #{path => <<"/api/rooms/1713-965070-86023/messages">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          body =>
              <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2949@domain.example.com">>,
               <<"makrolika">>},
          role => client,return_headers => true}


*** User 2024-04-24 13:24:30.404 ***🔗
alice_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<message from='1713-965070-86023@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2949@domain.example.com' to='alice_chat_markers_are_archived_in_room_2949@domain.example.com' id='a783c3b6-e3c9-4709-b0c4-a37705276a29' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-965070-86023@muclight.domain.example.com' id='C5MNISMQVPO1' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element wait_for_parallel_writer in Config.


*** User 2024-04-24 13:24:30.405 ***🔗
bob_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
<message from='1713-965070-86023@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2949@domain.example.com' to='bob_chat_markers_are_archived_in_room_2949@domain.example.com' id='a783c3b6-e3c9-4709-b0c4-a37705276a29' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1713-965070-86023@muclight.domain.example.com' id='C5MNISMQVPO1' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element archive_wait in Config.


*** User 2024-04-24 13:24:30.414 ***🔗
REST request:
Code: 200
Req: {<0.76795.0>,<<"/api/rooms/1713-965070-86023/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"495466f10e8a45e1">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI5NDlAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 24 Apr 2024 13:24:29 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"902">>}],
         <<"[{\"affiliation\":\"member\",\"from\":\"1713-965070-86023@muclight.domain.example.com\",\"user\":\"bob_chat_markers_are_archived_in_room_2949@domain.example.com\",\"type\":\"affiliation\",\"timestamp\":1713965070192,\"id\":\"b4e665ec-ce4f-4a5d-980a-03e95580738f\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2949@domain.example.com\",\"type\":\"message\",\"timestamp\":1713965070295,\"id\":\"9dfeca09-cd8a-4aaa-9b46-8342f60b0459\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2949@domain.example.com\",\"type\":\"message\",\"timestamp\":1713965070382,\"id\":\"44116419-e6bf-48e0-a964-f54e24da75cb\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2949@domain.example.com\",\"type\":\"message\",\"timestamp\":1713965070397,\"id\":\"a783c3b6-e3c9-4709-b0c4-a37705276a29\"}]">>,
         1027,2872}
Params: #{path => <<"/api/rooms/1713-965070-86023/messages">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,body => <<>>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2949@domain.example.com">>,
               <<"matygrysa">>},
          role => client,return_headers => true}


*** User 2024-04-24 13:24:30.414 ***🔗
bob_chat_markers_are_archived_in_room_2949@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-24 13:24:30.415 ***🔗
bob_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-24 13:24:30.415 ***🔗
alice_chat_markers_are_archived_in_room_2949@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-24 13:24:30.416 ***🔗
alice_chat_markers_are_archived_in_room_2949@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-24 13:24:30.476 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2662.html



=== Ended at 2024-04-24 13:24:30
=== successfully completed test case
=== === Returned value: ok