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

=== Config value:

    [{watchdog,<0.25921.1>},
     {muc_light_host,<<"muclight2.domain.example.com">>},
     {mam_backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_12.36.44/rest_client_suite.chat_markers_are_archived_in_room.html"},
     {tc_group_properties,[{name,muc},{repeat_until_all_ok,3},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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_12.36.44/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{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}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:36:46


*** CT 2022-01-27 12:36:46.481 *** View log from node mongooseim@localhost when started mongooseim@localhost_2477.html
*** CT 2022-01-27 12:36:46.481 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_655.html

*** User 2022-01-27 12:36:46.489 ***
alicE_chat_markers_are_archived_in_room_1761@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-01-27 12:36:46.489 ***
alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='862cbbfde66dabbf' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:46.490 ***
alicE_chat_markers_are_archived_in_room_1761@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-01-27 12:36:46.490 ***
alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8xNzYxAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 12:36:46.491 ***
alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:36:46.491 ***
alicE_chat_markers_are_archived_in_room_1761@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-01-27 12:36:46.492 ***
alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='777f1580e4737d1c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:46.492 ***
alicE_chat_markers_are_archived_in_room_1761@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-01-27 12:36:46.492 ***
alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1 out
<iq type='set' id='30cd38c11b1b0ddf7816a16bb14b14c6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:36:46.492 ***
alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<iq id='30cd38c11b1b0ddf7816a16bb14b14c6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:36:46.492 ***
alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1 out
<iq type='set' id='3d4271202f489996f5b623e2a3aad026'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:46.493 ***
alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<iq type='result' id='3d4271202f489996f5b623e2a3aad026'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:46.493 ***
alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:36:46.497 ***
alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<presence from='alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1' to='alice_chat_markers_are_archived_in_room_1761@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:36:46.498 ***
bOb_chat_markers_are_archived_in_room_1761@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-01-27 12:36:46.499 ***
bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5c31827b15d3f7f7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:46.499 ***
bOb_chat_markers_are_archived_in_room_1761@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-01-27 12:36:46.499 ***
bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMTc2MQBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 12:36:46.501 ***
bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:36:46.501 ***
bOb_chat_markers_are_archived_in_room_1761@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-01-27 12:36:46.501 ***
bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2f0e78d23205af3f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:46.501 ***
bOb_chat_markers_are_archived_in_room_1761@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-01-27 12:36:46.502 ***
bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1 out
<iq type='set' id='ac5215d56fa6dde408fa722869bd18af'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:36:46.502 ***
bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<iq id='ac5215d56fa6dde408fa722869bd18af' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:36:46.502 ***
bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1 out
<iq type='set' id='8fbafcaee5f4c080cbc3e0c9e5156fbd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:46.502 ***
bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<iq type='result' id='8fbafcaee5f4c080cbc3e0c9e5156fbd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:46.503 ***
bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:36:46.505 ***
bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<presence from='bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1' to='bob_chat_markers_are_archived_in_room_1761@domain.example.com/res1' xml:lang='en'/>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-01-27 12:36:46.507 ***
=WARNING REPORT==== 27-Jan-2022::12:36:46.507120 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-27 12:36:46.517 ***
REST request:
Code: 200
Req: {<0.26398.1>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"86ff0d9f30d58db5">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzE3NjFAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 12:36:46 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1643-287006-516900\"}">>,151,2124}
Params: #{body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_1761@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-01-27 12:36:46.519 ***
=WARNING REPORT==== 27-Jan-2022::12:36:46.519386 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-27 12:36:46.538 ***
REST request:
Code: 204
Req: {<0.26403.1>,<<"/api/rooms/1643-287006-516900/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c1ed2170ec5fffd5">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzE3NjFAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_chat_markers_are_archived_in_room_1761@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 12:36:46 GMT">>}],
         <<>>,80,10792}
Params: #{body =>
              <<"{\"user\":\"bob_chat_markers_are_archived_in_room_1761@domain.example.com\"}">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_1761@domain.example.com">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-287006-516900/users">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 12:36:46.538 ***
bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<message from='1643-287006-516900@muclight2.domain.example.com' to='bob_chat_markers_are_archived_in_room_1761@domain.example.com' id='64b3a87e-e17c-477d-b784-0dd176fd8543' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-287006-531003</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_1761@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2022-01-27 12:36:46.539 ***
alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<message from='1643-287006-516900@muclight2.domain.example.com' to='alice_chat_markers_are_archived_in_room_1761@domain.example.com' id='64b3a87e-e17c-477d-b784-0dd176fd8543' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1643-287006-516846</prev-version>
		<version>1643-287006-531003</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_1761@domain.example.com</user>
	</x>
	<body/>
	<stanza-id by='1643-287006-516900@muclight2.domain.example.com' id='BLKFI94SHGO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-01-27 12:36:46.540 ***
=WARNING REPORT==== 27-Jan-2022::12:36:46.540413 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-27 12:36:46.561 ***
REST request:
Code: 200
Req: {<0.26408.1>,<<"/api/rooms/1643-287006-516900/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"99e5d0268024db51">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8xNzYxQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 12:36:46 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"df07a3d2-3a9b-461f-94a8-02dbffeffda8\"}">>,169,11744}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_1761@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-287006-516900/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 12:36:46.562 ***
alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<message from='1643-287006-516900@muclight2.domain.example.com/bob_chat_markers_are_archived_in_room_1761@domain.example.com' to='alice_chat_markers_are_archived_in_room_1761@domain.example.com' id='df07a3d2-3a9b-461f-94a8-02dbffeffda8' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-287006-516900@muclight2.domain.example.com' id='BLKFI951TRO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-27 12:36:46.562 ***
bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<message from='1643-287006-516900@muclight2.domain.example.com/bob_chat_markers_are_archived_in_room_1761@domain.example.com' to='bob_chat_markers_are_archived_in_room_1761@domain.example.com' id='df07a3d2-3a9b-461f-94a8-02dbffeffda8' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-287006-516900@muclight2.domain.example.com' id='BLKFI951TRO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-01-27 12:36:46.563 ***
=WARNING REPORT==== 27-Jan-2022::12:36:46.563808 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-27 12:36:46.581 ***
REST request:
Code: 200
Req: {<0.26413.1>,<<"/api/rooms/1643-287006-516900/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"113371bf04aea132">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8xNzYxQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 12:36:46 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"3d697d76-5360-4625-997a-ce945feafaf5\"}">>,169,7753}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_1761@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-287006-516900/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 12:36:46.581 ***
alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<message from='1643-287006-516900@muclight2.domain.example.com/bob_chat_markers_are_archived_in_room_1761@domain.example.com' to='alice_chat_markers_are_archived_in_room_1761@domain.example.com' id='3d697d76-5360-4625-997a-ce945feafaf5' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-287006-516900@muclight2.domain.example.com' id='BLKFI957MG81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-27 12:36:46.581 ***
bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<message from='1643-287006-516900@muclight2.domain.example.com/bob_chat_markers_are_archived_in_room_1761@domain.example.com' to='bob_chat_markers_are_archived_in_room_1761@domain.example.com' id='3d697d76-5360-4625-997a-ce945feafaf5' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-287006-516900@muclight2.domain.example.com' id='BLKFI957MG81' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-01-27 12:36:46.582 ***
=WARNING REPORT==== 27-Jan-2022::12:36:46.582862 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-27 12:36:46.602 ***
REST request:
Code: 200
Req: {<0.26418.1>,<<"/api/rooms/1643-287006-516900/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"47e799f67256e38b">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8xNzYxQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 12:36:46 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"01869843-e366-4ffa-9314-df6d4ecfb7ed\"}">>,169,9111}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_1761@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-287006-516900/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}

Could not find element wait_for_parallel_writer in Config.


*** User 2022-01-27 12:36:46.602 ***
alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<message from='1643-287006-516900@muclight2.domain.example.com/bob_chat_markers_are_archived_in_room_1761@domain.example.com' to='alice_chat_markers_are_archived_in_room_1761@domain.example.com' id='01869843-e366-4ffa-9314-df6d4ecfb7ed' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-287006-516900@muclight2.domain.example.com' id='BLKFI95CHG01' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element archive_wait in Config.


*** User 2022-01-27 12:36:46.602 ***
bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
<message from='1643-287006-516900@muclight2.domain.example.com/bob_chat_markers_are_archived_in_room_1761@domain.example.com' to='bob_chat_markers_are_archived_in_room_1761@domain.example.com' id='01869843-e366-4ffa-9314-df6d4ecfb7ed' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-287006-516900@muclight2.domain.example.com' id='BLKFI95CHG01' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-01-27 12:36:46.604 ***
=WARNING REPORT==== 27-Jan-2022::12:36:46.604175 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-27 12:36:46.616 ***
REST request:
Code: 200
Req: {<0.26423.1>,<<"/api/rooms/1643-287006-516900/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e1c8f6eb330b01f6">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzE3NjFAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 12:36:46 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"904">>}],
         <<"[{\"user\":\"bob_chat_markers_are_archived_in_room_1761@domain.example.com\",\"type\":\"affiliation\",\"timestamp\":1643287006529,\"id\":\"64b3a87e-e17c-477d-b784-0dd176fd8543\",\"from\":\"1643-287006-516900@muclight2.domain.example.com\",\"affiliation\":\"member\"},{\"type\":\"message\",\"timestamp\":1643287006551,\"id\":\"df07a3d2-3a9b-461f-94a8-02dbffeffda8\",\"from\":\"bob_chat_markers_are_archived_in_room_1761@domain.example.com\",\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}},{\"type\":\"message\",\"timestamp\":1643287006575,\"id\":\"3d697d76-5360-4625-997a-ce945feafaf5\",\"from\":\"bob_chat_markers_are_archived_in_room_1761@domain.example.com\",\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}},{\"type\":\"message\",\"timestamp\":1643287006595,\"id\":\"01869843-e366-4ffa-9314-df6d4ecfb7ed\",\"from\":\"bob_chat_markers_are_archived_in_room_1761@domain.example.com\",\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}]">>,
         1029,4132}
Params: #{body => <<>>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_1761@domain.example.com">>,
               <<"matygrysa">>},
          method => <<"GET">>,
          path => <<"/api/rooms/1643-287006-516900/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 12:36:46.617 ***
bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:36:46.617 ***
bOb_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
</stream:stream>

*** User 2022-01-27 12:36:46.617 ***
alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:36:46.617 ***
alicE_chat_markers_are_archived_in_room_1761@domain.example.com/res1 in
</stream:stream>
*** CT 2022-01-27 12:36:46.620 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_655.html
*** CT 2022-01-27 12:36:46.621 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2477.html



=== Ended at 2022-01-27 12:36:46
=== successfully completed test case
=== === Returned value: ok


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