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

=== Config value:

    [{watchdog,<0.85859.0>},
     {muc_light_host,<<"muclight.localhost">>},
     {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@fb43d4252d17.2024-02-22_12.37.44/big_tests.tests.rest_client_SUITE.logs/run.2024-02-22_12.55.57/rest_client_suite.chat_markers_are_archived_in_room.103172.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@fb43d4252d17.2024-02-22_12.37.44/big_tests.tests.rest_client_SUITE.logs/run.2024-02-22_12.55.57/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_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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        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@fb43d4252d17.2024-02-22_12.37.44"

=== Started at 2024-02-22 12:55:58


*** CT 2024-02-22 12:55:58.336 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4698.html

*** User 2024-02-22 12:55:58.480 ***🔗
alicE_chat_markers_are_archived_in_room_3269@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-02-22 12:55:58.481 ***🔗
alicE_chat_markers_are_archived_in_room_3269@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8412d5754fa7f4f7' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 12:55:58.481 ***🔗
alicE_chat_markers_are_archived_in_room_3269@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-02-22 12:55:58.481 ***🔗
alicE_chat_markers_are_archived_in_room_3269@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMjY5AG1hdHlncnlzYQ==</auth>



*** User 2024-02-22 12:55:58.484 ***🔗
alicE_chat_markers_are_archived_in_room_3269@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 12:55:58.484 ***🔗
alicE_chat_markers_are_archived_in_room_3269@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-02-22 12:55:58.487 ***🔗
alicE_chat_markers_are_archived_in_room_3269@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='020e8d374d4b8a83' from='localhost' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_3269@localhost'>

*** User 2024-02-22 12:55:58.487 ***🔗
alicE_chat_markers_are_archived_in_room_3269@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-02-22 12:55:58.487 ***🔗
alicE_chat_markers_are_archived_in_room_3269@localhost/res1 out
<iq type='set' id='15afa6ce81ab368f0c2bf505f2a4f34f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 12:55:58.490 ***🔗
alicE_chat_markers_are_archived_in_room_3269@localhost/res1 in
<iq id='15afa6ce81ab368f0c2bf505f2a4f34f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_chat_markers_are_archived_in_room_3269@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 12:55:58.490 ***🔗
alice_chat_markers_are_archived_in_room_3269@localhost/res1 out
<iq type='set' id='d58187598cdf52872cbeefec3381e20a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:55:58.491 ***🔗
alice_chat_markers_are_archived_in_room_3269@localhost/res1 in
<iq from='localhost' to='alice_chat_markers_are_archived_in_room_3269@localhost/res1' id='d58187598cdf52872cbeefec3381e20a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:55:58.491 ***🔗
alice_chat_markers_are_archived_in_room_3269@localhost/res1 out
<presence/>



*** User 2024-02-22 12:55:58.572 ***🔗
alice_chat_markers_are_archived_in_room_3269@localhost/res1 in
<presence from='alice_chat_markers_are_archived_in_room_3269@localhost/res1' to='alice_chat_markers_are_archived_in_room_3269@localhost/res1'/>



*** User 2024-02-22 12:55:58.573 ***🔗
bOb_chat_markers_are_archived_in_room_3269@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-02-22 12:55:58.574 ***🔗
bOb_chat_markers_are_archived_in_room_3269@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4359219608cb93bc' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 12:55:58.574 ***🔗
bOb_chat_markers_are_archived_in_room_3269@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-02-22 12:55:58.574 ***🔗
bOb_chat_markers_are_archived_in_room_3269@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMzI2OQBtYWtyb2xpa2E=</auth>



*** User 2024-02-22 12:55:58.584 ***🔗
bOb_chat_markers_are_archived_in_room_3269@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 12:55:58.584 ***🔗
bOb_chat_markers_are_archived_in_room_3269@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-02-22 12:55:58.586 ***🔗
bOb_chat_markers_are_archived_in_room_3269@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d5376ab229c41fcf' from='localhost' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_3269@localhost'>

*** User 2024-02-22 12:55:58.586 ***🔗
bOb_chat_markers_are_archived_in_room_3269@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-02-22 12:55:58.587 ***🔗
bOb_chat_markers_are_archived_in_room_3269@localhost/res1 out
<iq type='set' id='147ffb1dac8be977807429ca865b4fbf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 12:55:58.590 ***🔗
bOb_chat_markers_are_archived_in_room_3269@localhost/res1 in
<iq id='147ffb1dac8be977807429ca865b4fbf' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_chat_markers_are_archived_in_room_3269@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 12:55:58.590 ***🔗
bob_chat_markers_are_archived_in_room_3269@localhost/res1 out
<iq type='set' id='b501bed385d71677b78afad72037ceb9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:55:58.591 ***🔗
bob_chat_markers_are_archived_in_room_3269@localhost/res1 in
<iq from='localhost' to='bob_chat_markers_are_archived_in_room_3269@localhost/res1' id='b501bed385d71677b78afad72037ceb9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:55:58.591 ***🔗
bob_chat_markers_are_archived_in_room_3269@localhost/res1 out
<presence/>



*** User 2024-02-22 12:55:58.664 ***🔗
bob_chat_markers_are_archived_in_room_3269@localhost/res1 in
<presence from='bob_chat_markers_are_archived_in_room_3269@localhost/res1' to='bob_chat_markers_are_archived_in_room_3269@localhost/res1'/>



*** User 2024-02-22 12:55:58.695 ***🔗
REST request:
Code: 201
Req: {<0.86464.0>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"843e0b6dffeb2d13">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMyNjlAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 22 Feb 2024 12:55:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1708-606558-689422\"}">>,156,20307}
Params: #{path => <<"/api/rooms">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_3269@localhost">>,
               <<"matygrysa">>},
          role => client,
          body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          return_headers => true}


*** User 2024-02-22 12:55:58.795 ***🔗
REST request:
Code: 204
Req: {<0.86568.0>,<<"/api/rooms/1708-606558-689422/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"93bf676bab2a0cbb">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMyNjlAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_chat_markers_are_archived_in_room_3269@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 22 Feb 2024 12:55:57 GMT">>}],
         <<>>,80,32110}
Params: #{path => <<"/api/rooms/1708-606558-689422/users">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_3269@localhost">>,
               <<"matygrysa">>},
          role => client,
          body =>
              <<"{\"user\":\"bob_chat_markers_are_archived_in_room_3269@localhost\"}">>,
          return_headers => true}


*** User 2024-02-22 12:55:58.796 ***🔗
bob_chat_markers_are_archived_in_room_3269@localhost/res1 in
<message from='1708-606558-689422@muclight.localhost' to='bob_chat_markers_are_archived_in_room_3269@localhost' id='b58a8190-5a69-47b4-acb9-b876058f00b1' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1708-606558-784451</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_3269@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-02-22 12:55:58.796 ***🔗
alice_chat_markers_are_archived_in_room_3269@localhost/res1 in
<message from='1708-606558-689422@muclight.localhost' to='alice_chat_markers_are_archived_in_room_3269@localhost' id='b58a8190-5a69-47b4-acb9-b876058f00b1' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1708-606558-689410</prev-version>
		<version>1708-606558-784451</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_3269@localhost</user>
	</x>
	<body/>
	<stanza-id by='1708-606558-689422@muclight.localhost' id='C4FNURVJEMG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-22 12:55:58.879 ***🔗
REST request:
Code: 200
Req: {<0.86690.0>,<<"/api/rooms/1708-606558-689422/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fa39d177ab8fb26b">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMjY5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 22 Feb 2024 12:55:57 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"6e45f09e-ca72-4cc1-aa71-c5aace18ce3b\"}">>,169,15875}
Params: #{path => <<"/api/rooms/1708-606558-689422/messages">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_3269@localhost">>,
               <<"makrolika">>},
          role => client,
          body =>
              <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
          return_headers => true}


*** User 2024-02-22 12:55:58.879 ***🔗
alice_chat_markers_are_archived_in_room_3269@localhost/res1 in
<message from='1708-606558-689422@muclight.localhost/bob_chat_markers_are_archived_in_room_3269@localhost' to='alice_chat_markers_are_archived_in_room_3269@localhost' id='6e45f09e-ca72-4cc1-aa71-c5aace18ce3b' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1708-606558-689422@muclight.localhost' id='C4FNUS08MV01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-22 12:55:58.879 ***🔗
bob_chat_markers_are_archived_in_room_3269@localhost/res1 in
<message from='1708-606558-689422@muclight.localhost/bob_chat_markers_are_archived_in_room_3269@localhost' to='bob_chat_markers_are_archived_in_room_3269@localhost' id='6e45f09e-ca72-4cc1-aa71-c5aace18ce3b' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1708-606558-689422@muclight.localhost' id='C4FNUS08MV01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-22 12:55:58.894 ***🔗
REST request:
Code: 200
Req: {<0.86724.0>,<<"/api/rooms/1708-606558-689422/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5fc158d574b61f19">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMjY5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 22 Feb 2024 12:55:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"4325b3f2-c17e-456c-9636-dfce3cab0aae\"}">>,169,7831}
Params: #{path => <<"/api/rooms/1708-606558-689422/messages">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_3269@localhost">>,
               <<"makrolika">>},
          role => client,
          body =>
              <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
          return_headers => true}


*** User 2024-02-22 12:55:58.894 ***🔗
alice_chat_markers_are_archived_in_room_3269@localhost/res1 in
<message from='1708-606558-689422@muclight.localhost/bob_chat_markers_are_archived_in_room_3269@localhost' to='alice_chat_markers_are_archived_in_room_3269@localhost' id='4325b3f2-c17e-456c-9636-dfce3cab0aae' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1708-606558-689422@muclight.localhost' id='C4FNUS0E5KO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-22 12:55:58.894 ***🔗
bob_chat_markers_are_archived_in_room_3269@localhost/res1 in
<message from='1708-606558-689422@muclight.localhost/bob_chat_markers_are_archived_in_room_3269@localhost' to='bob_chat_markers_are_archived_in_room_3269@localhost' id='4325b3f2-c17e-456c-9636-dfce3cab0aae' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1708-606558-689422@muclight.localhost' id='C4FNUS0E5KO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-22 12:55:58.970 ***🔗
REST request:
Code: 200
Req: {<0.86751.0>,<<"/api/rooms/1708-606558-689422/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c79a1a1f88c08210">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMjY5QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 22 Feb 2024 12:55:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"05413b89-d27d-4b9a-800e-695f74745320\"}">>,169,68258}
Params: #{path => <<"/api/rooms/1708-606558-689422/messages">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_3269@localhost">>,
               <<"makrolika">>},
          role => client,
          body =>
              <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
          return_headers => true}

Could not find element wait_for_parallel_writer in Config.

Could not find element archive_wait in Config.


*** User 2024-02-22 12:55:58.971 ***🔗
alice_chat_markers_are_archived_in_room_3269@localhost/res1 in
<message from='1708-606558-689422@muclight.localhost/bob_chat_markers_are_archived_in_room_3269@localhost' to='alice_chat_markers_are_archived_in_room_3269@localhost' id='05413b89-d27d-4b9a-800e-695f74745320' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1708-606558-689422@muclight.localhost' id='C4FNUS118EG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-22 12:55:58.971 ***🔗
bob_chat_markers_are_archived_in_room_3269@localhost/res1 in
<message from='1708-606558-689422@muclight.localhost/bob_chat_markers_are_archived_in_room_3269@localhost' to='bob_chat_markers_are_archived_in_room_3269@localhost' id='05413b89-d27d-4b9a-800e-695f74745320' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1708-606558-689422@muclight.localhost' id='C4FNUS118EG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-02-22 12:55:58.983 ***🔗
REST request:
Code: 200
Req: {<0.86781.0>,<<"/api/rooms/1708-606558-689422/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6de2cea81312aef7">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMyNjlAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 22 Feb 2024 12:55:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"858">>}],
         <<"[{\"affiliation\":\"member\",\"from\":\"1708-606558-689422@muclight.localhost\",\"user\":\"bob_chat_markers_are_archived_in_room_3269@localhost\",\"type\":\"affiliation\",\"timestamp\":1708606558779,\"id\":\"b58a8190-5a69-47b4-acb9-b876058f00b1\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3269@localhost\",\"type\":\"message\",\"timestamp\":1708606558866,\"id\":\"6e45f09e-ca72-4cc1-aa71-c5aace18ce3b\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3269@localhost\",\"type\":\"message\",\"timestamp\":1708606558888,\"id\":\"4325b3f2-c17e-456c-9636-dfce3cab0aae\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3269@localhost\",\"type\":\"message\",\"timestamp\":1708606558966,\"id\":\"05413b89-d27d-4b9a-800e-695f74745320\"}]">>,
         983,4175}
Params: #{path => <<"/api/rooms/1708-606558-689422/messages">>,
          server => #{node => mongooseim@localhost},
          method => <<"GET">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_3269@localhost">>,
               <<"matygrysa">>},
          role => client,body => <<>>,return_headers => true}


*** User 2024-02-22 12:55:58.984 ***🔗
bob_chat_markers_are_archived_in_room_3269@localhost/res1 out
</stream:stream>

*** User 2024-02-22 12:55:58.984 ***🔗
bob_chat_markers_are_archived_in_room_3269@localhost/res1 in
</stream:stream>

*** User 2024-02-22 12:55:58.985 ***🔗
alice_chat_markers_are_archived_in_room_3269@localhost/res1 out
</stream:stream>

*** User 2024-02-22 12:55:58.985 ***🔗
alice_chat_markers_are_archived_in_room_3269@localhost/res1 in
</stream:stream>
*** CT 2024-02-22 12:55:58.992 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4698.html



=== Ended at 2024-02-22 12:55:59
=== successfully completed test case
=== === Returned value: ok