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

=== Config value:

    [{watchdog,<0.30163.1>},
     {muc_light_host,<<"muclight.domain.example.com">>},
     {mam_backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.rest_client_SUITE.logs/run.2022-03-18_10.58.25/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@a072b68d2bee.2022-03-18_10.50.04/big_tests.tests.rest_client_SUITE.logs/run.2022-03-18_10.58.25/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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 => [],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"}]},
             {welcome_message,{[],[]}}],
        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@a072b68d2bee.2022-03-18_10.50.04"

=== Started at 2022-03-18 10:58:27


*** CT 2022-03-18 10:58:27.182 *** View log from node mongooseim@localhost when started mongooseim@localhost_1605.html
*** CT 2022-03-18 10:58:27.183 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_533.html

*** User 2022-03-18 10:58:27.192 ***
alicE_chat_markers_are_archived_in_room_2011@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 2022-03-18 10:58:27.192 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d163b69be465ac4e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:27.193 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/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-03-18 10:58:27.193 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yMDExAG1hdHlncnlzYQ==</auth>



*** User 2022-03-18 10:58:27.194 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:58:27.194 ***
alicE_chat_markers_are_archived_in_room_2011@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 2022-03-18 10:58:27.194 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='73c7f2739808e36e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:27.194 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/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-03-18 10:58:27.194 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1 out
<iq type='set' id='b3275f7dceaebf65d29241f2e3f1ce5d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:27.195 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<iq id='b3275f7dceaebf65d29241f2e3f1ce5d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:27.195 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1 out
<iq type='set' id='673948ed4c51548c9e7c827dc39e8900'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:27.195 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<iq type='result' id='673948ed4c51548c9e7c827dc39e8900'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:27.195 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:58:27.197 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<presence from='alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1' to='alice_chat_markers_are_archived_in_room_2011@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-18 10:58:27.198 ***
bOb_chat_markers_are_archived_in_room_2011@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 2022-03-18 10:58:27.198 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0fdbe6865c6da69e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:27.198 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/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-03-18 10:58:27.198 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMjAxMQBtYWtyb2xpa2E=</auth>



*** User 2022-03-18 10:58:27.199 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:58:27.199 ***
bOb_chat_markers_are_archived_in_room_2011@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 2022-03-18 10:58:27.199 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8f47eb7d998090c9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:58:27.200 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/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-03-18 10:58:27.200 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1 out
<iq type='set' id='a6f373d6b300da61b5d64d932a4d52a4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:58:27.200 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<iq id='a6f373d6b300da61b5d64d932a4d52a4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:58:27.200 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1 out
<iq type='set' id='ad63339e5d608e2156d467131f87987c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:27.200 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<iq type='result' id='ad63339e5d608e2156d467131f87987c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:58:27.201 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1 out
<presence/>



*** User 2022-03-18 10:58:27.202 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<presence from='bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1' to='bob_chat_markers_are_archived_in_room_2011@domain.example.com/res1' xml:lang='en'/>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-03-18 10:58:27.203 ***
=WARNING REPORT==== 18-Mar-2022::10:58:27.203889 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-03-18 10:58:27.214 ***
REST request:
Code: 200
Req: {<0.30640.1>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1d65199bceed6b0b">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzIwMTFAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:27 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1647-601107-214540\"}">>,151,1682}
Params: #{body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2011@domain.example.com">>,
               <<"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-03-18 10:58:27.216 ***
=WARNING REPORT==== 18-Mar-2022::10:58:27.216456 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-03-18 10:58:27.234 ***
REST request:
Code: 204
Req: {<0.30645.1>,<<"/api/rooms/1647-601107-214540/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"22c6b12227bee992">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzIwMTFAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2011@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:27 GMT">>}],
         <<>>,80,10966}
Params: #{body =>
              <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2011@domain.example.com\"}">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2011@domain.example.com">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1647-601107-214540/users">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:58:27.234 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<message from='1647-601107-214540@muclight.domain.example.com' to='bob_chat_markers_are_archived_in_room_2011@domain.example.com' id='5859830e-731c-4a31-88c7-1bc39cb616d7' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1647-601107-225342</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2011@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2022-03-18 10:58:27.235 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<message from='1647-601107-214540@muclight.domain.example.com' to='alice_chat_markers_are_archived_in_room_2011@domain.example.com' id='5859830e-731c-4a31-88c7-1bc39cb616d7' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1647-601107-214463</prev-version>
		<version>1647-601107-225342</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2011@domain.example.com</user>
	</x>
	<body/>
	<stanza-id by='1647-601107-214540@muclight.domain.example.com' id='BMJS0QT4H981' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-03-18 10:58:27.236 ***
=WARNING REPORT==== 18-Mar-2022::10:58:27.236186 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-03-18 10:58:27.253 ***
REST request:
Code: 200
Req: {<0.30650.1>,<<"/api/rooms/1647-601107-214540/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"318433e45cd46f09">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yMDExQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:27 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"005ade0e-281d-496f-963f-a748e3a38969\"}">>,169,11319}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2011@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1647-601107-214540/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:58:27.254 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<message from='1647-601107-214540@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2011@domain.example.com' to='alice_chat_markers_are_archived_in_room_2011@domain.example.com' id='005ade0e-281d-496f-963f-a748e3a38969' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1647-601107-214540@muclight.domain.example.com' id='BMJS0QT92M81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-03-18 10:58:27.254 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<message from='1647-601107-214540@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2011@domain.example.com' to='bob_chat_markers_are_archived_in_room_2011@domain.example.com' id='005ade0e-281d-496f-963f-a748e3a38969' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1647-601107-214540@muclight.domain.example.com' id='BMJS0QT92M81' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-03-18 10:58:27.257 ***
=WARNING REPORT==== 18-Mar-2022::10:58:27.257461 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-03-18 10:58:27.275 ***
REST request:
Code: 200
Req: {<0.30655.1>,<<"/api/rooms/1647-601107-214540/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7cb61c757a468f10">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yMDExQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:27 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"b93b84f2-c1a5-434b-a9ea-96365a1dc632\"}">>,169,7513}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2011@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1647-601107-214540/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:58:27.275 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<message from='1647-601107-214540@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2011@domain.example.com' to='alice_chat_markers_are_archived_in_room_2011@domain.example.com' id='b93b84f2-c1a5-434b-a9ea-96365a1dc632' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1647-601107-214540@muclight.domain.example.com' id='BMJS0QTFE3G1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-03-18 10:58:27.276 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<message from='1647-601107-214540@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2011@domain.example.com' to='bob_chat_markers_are_archived_in_room_2011@domain.example.com' id='b93b84f2-c1a5-434b-a9ea-96365a1dc632' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1647-601107-214540@muclight.domain.example.com' id='BMJS0QTFE3G1' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-03-18 10:58:27.277 ***
=WARNING REPORT==== 18-Mar-2022::10:58:27.277390 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-03-18 10:58:27.292 ***
REST request:
Code: 200
Req: {<0.30660.1>,<<"/api/rooms/1647-601107-214540/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"749cefefca1818e6">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yMDExQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:27 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"ac03340c-f56b-4774-a266-37a487afb5d4\"}">>,169,7789}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2011@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1647-601107-214540/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}

Could not find element wait_for_parallel_writer in Config.

Could not find element archive_wait in Config.


*** User 2022-03-18 10:58:27.293 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<message from='1647-601107-214540@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2011@domain.example.com' to='alice_chat_markers_are_archived_in_room_2011@domain.example.com' id='ac03340c-f56b-4774-a266-37a487afb5d4' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1647-601107-214540@muclight.domain.example.com' id='BMJS0QTJEM01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-03-18 10:58:27.293 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
<message from='1647-601107-214540@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2011@domain.example.com' to='bob_chat_markers_are_archived_in_room_2011@domain.example.com' id='ac03340c-f56b-4774-a266-37a487afb5d4' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1647-601107-214540@muclight.domain.example.com' id='BMJS0QTJEM01' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-03-18 10:58:27.294 ***
=WARNING REPORT==== 18-Mar-2022::10:58:27.294732 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-03-18 10:58:27.303 ***
REST request:
Code: 200
Req: {<0.30665.1>,<<"/api/rooms/1647-601107-214540/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"68b342f18913f50f">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzIwMTFAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 10:58:27 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"903">>}],
         <<"[{\"user\":\"bob_chat_markers_are_archived_in_room_2011@domain.example.com\",\"type\":\"affiliation\",\"timestamp\":1647601107224,\"id\":\"5859830e-731c-4a31-88c7-1bc39cb616d7\",\"from\":\"1647-601107-214540@muclight.domain.example.com\",\"affiliation\":\"member\"},{\"type\":\"message\",\"timestamp\":1647601107243,\"id\":\"005ade0e-281d-496f-963f-a748e3a38969\",\"from\":\"bob_chat_markers_are_archived_in_room_2011@domain.example.com\",\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}},{\"type\":\"message\",\"timestamp\":1647601107269,\"id\":\"b93b84f2-c1a5-434b-a9ea-96365a1dc632\",\"from\":\"bob_chat_markers_are_archived_in_room_2011@domain.example.com\",\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}},{\"type\":\"message\",\"timestamp\":1647601107285,\"id\":\"ac03340c-f56b-4774-a266-37a487afb5d4\",\"from\":\"bob_chat_markers_are_archived_in_room_2011@domain.example.com\",\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}]">>,
         1028,2011}
Params: #{body => <<>>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2011@domain.example.com">>,
               <<"matygrysa">>},
          method => <<"GET">>,
          path => <<"/api/rooms/1647-601107-214540/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-18 10:58:27.304 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:58:27.304 ***
bOb_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-18 10:58:27.304 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-18 10:58:27.305 ***
alicE_chat_markers_are_archived_in_room_2011@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-18 10:58:27.312 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_533.html
*** CT 2022-03-18 10:58:27.316 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1605.html



=== Ended at 2022-03-18 10:58:27
=== successfully completed test case
=== === Returned value: ok


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