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

=== Config value:

    [{watchdog,<0.15785.2>},
     {muc_light_host,<<"muclight.localhost">>},
     {mam_backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
     {preset,"mysql_redis"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f547f21cc62a.2022-05-11_08.56.42/big_tests.tests.rest_client_SUITE.logs/run.2022-05-11_09.09.27/rest_client_suite.chat_markers_are_archived_in_room.html"},
     {tc_group_properties,[{name,muc},pararell]},
     {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@f547f21cc62a.2022-05-11_08.56.42/big_tests.tests.rest_client_SUITE.logs/run.2022-05-11_09.09.27/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_commands => #{},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_muc_commands => #{},mod_muc_light_commands => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f547f21cc62a.2022-05-11_08.56.42"

=== Started at 2022-05-11 09:09:28


*** CT 2022-05-11 09:09:28.777 *** View log from node mongooseim@localhost when started mongooseim@localhost_5476.html
*** CT 2022-05-11 09:09:28.778 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1721.html

*** User 2022-05-11 09:09:28.782 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 09:09:28.782 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='23b511f8076d4af5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:09:28.783 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-11 09:09:28.783 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yNDk4AG1hdHlncnlzYQ==</auth>



*** User 2022-05-11 09:09:28.783 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:09:28.783 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 09:09:28.784 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ba236296eabc1533' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:09:28.784 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-11 09:09:28.784 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 out
<iq type='set' id='f3934a5a232550243a36479f2aae3378'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:09:28.784 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 in
<iq id='f3934a5a232550243a36479f2aae3378' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_chat_markers_are_archived_in_room_2498@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:09:28.784 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 out
<iq type='set' id='f819dbf1fe10a68744868a2d1838313f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:09:28.784 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 in
<iq type='result' id='f819dbf1fe10a68744868a2d1838313f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:09:28.784 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 out
<presence/>



*** User 2022-05-11 09:09:28.787 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 in
<presence from='alicE_chat_markers_are_archived_in_room_2498@localhost/res1' to='alice_chat_markers_are_archived_in_room_2498@localhost/res1' xml:lang='en'/>



*** User 2022-05-11 09:09:28.787 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 09:09:28.788 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9772d1076af12ff4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:09:28.788 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-11 09:09:28.788 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMjQ5OABtYWtyb2xpa2E=</auth>



*** User 2022-05-11 09:09:28.788 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:09:28.788 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-11 09:09:28.789 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7f86420bf1d6830b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:09:28.789 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-11 09:09:28.789 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 out
<iq type='set' id='065e8bf6c6a48466d1e40689a77fae71'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:09:28.789 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 in
<iq id='065e8bf6c6a48466d1e40689a77fae71' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_chat_markers_are_archived_in_room_2498@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:09:28.789 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 out
<iq type='set' id='502748705a7e0f6550eca8226f429848'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:09:28.789 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 in
<iq type='result' id='502748705a7e0f6550eca8226f429848'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:09:28.789 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 out
<presence/>



*** User 2022-05-11 09:09:28.792 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 in
<presence from='bOb_chat_markers_are_archived_in_room_2498@localhost/res1' to='bob_chat_markers_are_archived_in_room_2498@localhost/res1' xml:lang='en'/>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-05-11 09:09:28.792 ***
=WARNING REPORT==== 11-May-2022::09:09:28.792889 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-05-11 09:09:28.799 ***
REST request:
Code: 200
Req: {<0.16262.2>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3a77e395fe863150">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI0OThAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:09:28 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1652-260168-799283\"}">>,151,917}
Params: #{body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2498@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,path => <<"/api/rooms">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-05-11 09:09:28.800 ***
=WARNING REPORT==== 11-May-2022::09:09:28.800424 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-05-11 09:09:28.809 ***
REST request:
Code: 204
Req: {<0.16267.2>,<<"/api/rooms/1652-260168-799283/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ef38ffcbdb3d66af">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI0OThAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2498@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:09:28 GMT">>}],
         <<>>,80,3631}
Params: #{body =>
              <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2498@localhost\"}">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2498@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1652-260168-799283/users">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-11 09:09:28.809 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 in
<message from='1652-260168-799283@muclight.localhost' to='bob_chat_markers_are_archived_in_room_2498@localhost' id='3169ee42-0fa9-469e-8972-1a1d87ffa9d5' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1652-260168-807093</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2498@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-05-11 09:09:28.809 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 in
<message from='1652-260168-799283@muclight.localhost' to='alice_chat_markers_are_archived_in_room_2498@localhost' id='3169ee42-0fa9-469e-8972-1a1d87ffa9d5' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1652-260168-799258</prev-version>
		<version>1652-260168-807093</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2498@localhost</user>
	</x>
	<body/>
	<stanza-id by='1652-260168-799283@muclight.localhost' id='BNLOPHO321G1' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-05-11 09:09:28.810 ***
=WARNING REPORT==== 11-May-2022::09:09:28.810550 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-05-11 09:09:28.819 ***
REST request:
Code: 200
Req: {<0.16272.2>,<<"/api/rooms/1652-260168-799283/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f8823e2f699a9950">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yNDk4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:09:28 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"624a6be2-23d1-4204-a60c-06b2fe6d6686\"}">>,169,3016}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2498@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1652-260168-799283/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-11 09:09:28.819 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 in
<message from='1652-260168-799283@muclight.localhost/bob_chat_markers_are_archived_in_room_2498@localhost' to='alice_chat_markers_are_archived_in_room_2498@localhost' id='624a6be2-23d1-4204-a60c-06b2fe6d6686' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1652-260168-799283@muclight.localhost' id='BNLOPHO5GPO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-05-11 09:09:28.819 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 in
<message from='1652-260168-799283@muclight.localhost/bob_chat_markers_are_archived_in_room_2498@localhost' to='bob_chat_markers_are_archived_in_room_2498@localhost' id='624a6be2-23d1-4204-a60c-06b2fe6d6686' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1652-260168-799283@muclight.localhost' id='BNLOPHO5GPO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-05-11 09:09:28.820 ***
=WARNING REPORT==== 11-May-2022::09:09:28.820040 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-05-11 09:09:28.827 ***
REST request:
Code: 200
Req: {<0.16277.2>,<<"/api/rooms/1652-260168-799283/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fbc1eb003c2f7d5f">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yNDk4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:09:28 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"91fb90bc-ba81-4ec1-be82-aff3db81a4c1\"}">>,169,2277}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2498@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1652-260168-799283/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-11 09:09:28.827 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 in
<message from='1652-260168-799283@muclight.localhost/bob_chat_markers_are_archived_in_room_2498@localhost' to='alice_chat_markers_are_archived_in_room_2498@localhost' id='91fb90bc-ba81-4ec1-be82-aff3db81a4c1' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1652-260168-799283@muclight.localhost' id='BNLOPHO7S3O1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-05-11 09:09:28.828 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 in
<message from='1652-260168-799283@muclight.localhost/bob_chat_markers_are_archived_in_room_2498@localhost' to='bob_chat_markers_are_archived_in_room_2498@localhost' id='91fb90bc-ba81-4ec1-be82-aff3db81a4c1' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1652-260168-799283@muclight.localhost' id='BNLOPHO7S3O1' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-05-11 09:09:28.828 ***
=WARNING REPORT==== 11-May-2022::09:09:28.828836 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-05-11 09:09:28.837 ***
REST request:
Code: 200
Req: {<0.16282.2>,<<"/api/rooms/1652-260168-799283/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"32f9506d6d39fa6d">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yNDk4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:09:28 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"6c982f08-a9bd-4d18-9eac-4a4adea76871\"}">>,169,2720}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2498@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1652-260168-799283/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}

Could not find element wait_for_parallel_writer in Config.


*** User 2022-05-11 09:09:28.837 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 in
<message from='1652-260168-799283@muclight.localhost/bob_chat_markers_are_archived_in_room_2498@localhost' to='alice_chat_markers_are_archived_in_room_2498@localhost' id='6c982f08-a9bd-4d18-9eac-4a4adea76871' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1652-260168-799283@muclight.localhost' id='BNLOPHOA1A81' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element archive_wait in Config.


*** User 2022-05-11 09:09:28.837 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 in
<message from='1652-260168-799283@muclight.localhost/bob_chat_markers_are_archived_in_room_2498@localhost' to='bob_chat_markers_are_archived_in_room_2498@localhost' id='6c982f08-a9bd-4d18-9eac-4a4adea76871' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1652-260168-799283@muclight.localhost' id='BNLOPHOA1A81' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-05-11 09:09:28.838 ***
=WARNING REPORT==== 11-May-2022::09:09:28.838315 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-05-11 09:09:28.845 ***
REST request:
Code: 200
Req: {<0.16287.2>,<<"/api/rooms/1652-260168-799283/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7bac52532fa3e6b6">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI0OThAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:09:28 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"858">>}],
         <<"[{\"user\":\"bob_chat_markers_are_archived_in_room_2498@localhost\",\"type\":\"affiliation\",\"timestamp\":1652260168806,\"id\":\"3169ee42-0fa9-469e-8972-1a1d87ffa9d5\",\"from\":\"1652-260168-799283@muclight.localhost\",\"affiliation\":\"member\"},{\"type\":\"message\",\"timestamp\":1652260168816,\"id\":\"624a6be2-23d1-4204-a60c-06b2fe6d6686\",\"from\":\"bob_chat_markers_are_archived_in_room_2498@localhost\",\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}},{\"type\":\"message\",\"timestamp\":1652260168826,\"id\":\"91fb90bc-ba81-4ec1-be82-aff3db81a4c1\",\"from\":\"bob_chat_markers_are_archived_in_room_2498@localhost\",\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}},{\"type\":\"message\",\"timestamp\":1652260168835,\"id\":\"6c982f08-a9bd-4d18-9eac-4a4adea76871\",\"from\":\"bob_chat_markers_are_archived_in_room_2498@localhost\",\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}]">>,
         983,1443}
Params: #{body => <<>>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2498@localhost">>,
               <<"matygrysa">>},
          method => <<"GET">>,
          path => <<"/api/rooms/1652-260168-799283/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-11 09:09:28.845 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 out
</stream:stream>

*** User 2022-05-11 09:09:28.845 ***
bOb_chat_markers_are_archived_in_room_2498@localhost/res1 in
</stream:stream>

*** User 2022-05-11 09:09:28.845 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 out
</stream:stream>

*** User 2022-05-11 09:09:28.846 ***
alicE_chat_markers_are_archived_in_room_2498@localhost/res1 in
</stream:stream>
*** CT 2022-05-11 09:09:28.848 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1721.html
*** CT 2022-05-11 09:09:28.848 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5476.html



=== Ended at 2022-05-11 09:09:28
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result