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

=== Config value:

    [{watchdog,<0.9445.2>},
     {muc_light_host,<<"muclight.localhost">>},
     {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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_15.37.00/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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_15.37.00/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{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@43a5deef6262.2022-01-27_15.25.11"

=== Started at 2022-01-27 15:37:02


*** CT 2022-01-27 15:37:02.247 *** View log from node mongooseim@localhost when started mongooseim@localhost_5813.html
*** CT 2022-01-27 15:37:02.248 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2385.html

*** User 2022-01-27 15:37:02.264 ***
alicE_chat_markers_are_archived_in_room_2172@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-01-27 15:37:02.265 ***
alicE_chat_markers_are_archived_in_room_2172@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7a19a2876104f9e1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:37:02.265 ***
alicE_chat_markers_are_archived_in_room_2172@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-01-27 15:37:02.265 ***
alicE_chat_markers_are_archived_in_room_2172@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yMTcyAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 15:37:02.266 ***
alicE_chat_markers_are_archived_in_room_2172@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:37:02.266 ***
alicE_chat_markers_are_archived_in_room_2172@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-01-27 15:37:02.266 ***
alicE_chat_markers_are_archived_in_room_2172@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9f6f0312f80dd244' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:37:02.266 ***
alicE_chat_markers_are_archived_in_room_2172@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-01-27 15:37:02.266 ***
alicE_chat_markers_are_archived_in_room_2172@localhost/res1 out
<iq type='set' id='cad0a7d4fcf0cea27e71ef6325c8ebe6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:37:02.267 ***
alicE_chat_markers_are_archived_in_room_2172@localhost/res1 in
<iq id='cad0a7d4fcf0cea27e71ef6325c8ebe6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_chat_markers_are_archived_in_room_2172@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:37:02.267 ***
alicE_chat_markers_are_archived_in_room_2172@localhost/res1 out
<iq type='set' id='d52c19ad8d108d672abc56004b603c1a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:37:02.267 ***
alicE_chat_markers_are_archived_in_room_2172@localhost/res1 in
<iq type='result' id='d52c19ad8d108d672abc56004b603c1a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:37:02.267 ***
alicE_chat_markers_are_archived_in_room_2172@localhost/res1 out
<presence/>



*** User 2022-01-27 15:37:02.269 ***
alicE_chat_markers_are_archived_in_room_2172@localhost/res1 in
<presence from='alicE_chat_markers_are_archived_in_room_2172@localhost/res1' to='alice_chat_markers_are_archived_in_room_2172@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:37:02.269 ***
bOb_chat_markers_are_archived_in_room_2172@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-01-27 15:37:02.270 ***
bOb_chat_markers_are_archived_in_room_2172@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a76c2b8a3778c1de' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:37:02.270 ***
bOb_chat_markers_are_archived_in_room_2172@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-01-27 15:37:02.270 ***
bOb_chat_markers_are_archived_in_room_2172@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMjE3MgBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 15:37:02.271 ***
bOb_chat_markers_are_archived_in_room_2172@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:37:02.271 ***
bOb_chat_markers_are_archived_in_room_2172@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-01-27 15:37:02.271 ***
bOb_chat_markers_are_archived_in_room_2172@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2bbe7f12295ac45e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:37:02.271 ***
bOb_chat_markers_are_archived_in_room_2172@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-01-27 15:37:02.271 ***
bOb_chat_markers_are_archived_in_room_2172@localhost/res1 out
<iq type='set' id='978c4d640818fdd242a44547b881e017'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:37:02.271 ***
bOb_chat_markers_are_archived_in_room_2172@localhost/res1 in
<iq id='978c4d640818fdd242a44547b881e017' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_chat_markers_are_archived_in_room_2172@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:37:02.271 ***
bOb_chat_markers_are_archived_in_room_2172@localhost/res1 out
<iq type='set' id='bac202a9ee2ed897ea06f2aa195603b6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:37:02.272 ***
bOb_chat_markers_are_archived_in_room_2172@localhost/res1 in
<iq type='result' id='bac202a9ee2ed897ea06f2aa195603b6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:37:02.272 ***
bOb_chat_markers_are_archived_in_room_2172@localhost/res1 out
<presence/>



*** User 2022-01-27 15:37:02.273 ***
bOb_chat_markers_are_archived_in_room_2172@localhost/res1 in
<presence from='bOb_chat_markers_are_archived_in_room_2172@localhost/res1' to='bob_chat_markers_are_archived_in_room_2172@localhost/res1' xml:lang='en'/>



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



*** User 2022-01-27 15:37:02.282 ***
REST request:
Code: 200
Req: {<0.9922.2>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0e433979f85b57ff">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzIxNzJAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:37:02 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1643-297822-281866\"}">>,151,1525}
Params: #{body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2172@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-01-27 15:37:02.283 ***
=WARNING REPORT==== 27-Jan-2022::15:37:02.283436 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-27 15:37:02.305 ***
REST request:
Code: 204
Req: {<0.9927.2>,<<"/api/rooms/1643-297822-281866/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4bc2aaabff87715b">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzIxNzJAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2172@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:37:02 GMT">>}],
         <<>>,80,15722}
Params: #{body =>
              <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2172@localhost\"}">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2172@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-297822-281866/users">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:37:02.305 ***
bOb_chat_markers_are_archived_in_room_2172@localhost/res1 in
<message from='1643-297822-281866@muclight.localhost' to='bob_chat_markers_are_archived_in_room_2172@localhost' id='bffc2020-08bf-4731-88cb-b0bb32d03ecb' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-297822-291564</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2172@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-27 15:37:02.306 ***
alicE_chat_markers_are_archived_in_room_2172@localhost/res1 in
<message from='1643-297822-281866@muclight.localhost' to='alice_chat_markers_are_archived_in_room_2172@localhost' id='bffc2020-08bf-4731-88cb-b0bb32d03ecb' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1643-297822-281816</prev-version>
		<version>1643-297822-291564</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2172@localhost</user>
	</x>
	<body/>
	<stanza-id by='1643-297822-281866@muclight.localhost' id='BLKI2RQJ7U01' xmlns='urn:xmpp:sid:0'/>
</message>



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



*** User 2022-01-27 15:37:02.329 ***
REST request:
Code: 200
Req: {<0.9932.2>,<<"/api/rooms/1643-297822-281866/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"010f9b04b96624fa">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yMTcyQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:37:02 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"b0ae5fb1-474d-497f-a103-3ef3b321361c\"}">>,169,13814}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2172@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-297822-281866/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:37:02.330 ***
alicE_chat_markers_are_archived_in_room_2172@localhost/res1 in
<message from='1643-297822-281866@muclight.localhost/bob_chat_markers_are_archived_in_room_2172@localhost' to='alice_chat_markers_are_archived_in_room_2172@localhost' id='b0ae5fb1-474d-497f-a103-3ef3b321361c' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-297822-281866@muclight.localhost' id='BLKI2RQPLIG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-27 15:37:02.330 ***
bOb_chat_markers_are_archived_in_room_2172@localhost/res1 in
<message from='1643-297822-281866@muclight.localhost/bob_chat_markers_are_archived_in_room_2172@localhost' to='bob_chat_markers_are_archived_in_room_2172@localhost' id='b0ae5fb1-474d-497f-a103-3ef3b321361c' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-297822-281866@muclight.localhost' id='BLKI2RQPLIG1' xmlns='urn:xmpp:sid:0'/>
</message>



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



*** User 2022-01-27 15:37:02.345 ***
REST request:
Code: 200
Req: {<0.9937.2>,<<"/api/rooms/1643-297822-281866/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9d8efbcfb14133f4">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yMTcyQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:37:02 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"b93af6fb-dd1c-458f-b45a-fc7bb3d36b2c\"}">>,169,7130}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2172@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-297822-281866/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:37:02.345 ***
alicE_chat_markers_are_archived_in_room_2172@localhost/res1 in
<message from='1643-297822-281866@muclight.localhost/bob_chat_markers_are_archived_in_room_2172@localhost' to='alice_chat_markers_are_archived_in_room_2172@localhost' id='b93af6fb-dd1c-458f-b45a-fc7bb3d36b2c' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-297822-281866@muclight.localhost' id='BLKI2RQV4EO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-27 15:37:02.345 ***
bOb_chat_markers_are_archived_in_room_2172@localhost/res1 in
<message from='1643-297822-281866@muclight.localhost/bob_chat_markers_are_archived_in_room_2172@localhost' to='bob_chat_markers_are_archived_in_room_2172@localhost' id='b93af6fb-dd1c-458f-b45a-fc7bb3d36b2c' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-297822-281866@muclight.localhost' id='BLKI2RQV4EO1' xmlns='urn:xmpp:sid:0'/>
</message>



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



*** User 2022-01-27 15:37:02.370 ***
REST request:
Code: 200
Req: {<0.9942.2>,<<"/api/rooms/1643-297822-281866/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"116335c9bef13738">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yMTcyQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:37:02 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"b76f7641-9ee7-49a3-9925-b05c10e8a101\"}">>,169,14616}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2172@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-297822-281866/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:37:02.370 ***
alicE_chat_markers_are_archived_in_room_2172@localhost/res1 in
<message from='1643-297822-281866@muclight.localhost/bob_chat_markers_are_archived_in_room_2172@localhost' to='alice_chat_markers_are_archived_in_room_2172@localhost' id='b76f7641-9ee7-49a3-9925-b05c10e8a101' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-297822-281866@muclight.localhost' id='BLKI2RR3CRO1' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element wait_for_parallel_writer in Config.

Could not find element archive_wait in Config.


*** User 2022-01-27 15:37:02.370 ***
bOb_chat_markers_are_archived_in_room_2172@localhost/res1 in
<message from='1643-297822-281866@muclight.localhost/bob_chat_markers_are_archived_in_room_2172@localhost' to='bob_chat_markers_are_archived_in_room_2172@localhost' id='b76f7641-9ee7-49a3-9925-b05c10e8a101' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-297822-281866@muclight.localhost' id='BLKI2RR3CRO1' xmlns='urn:xmpp:sid:0'/>
</message>



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



*** User 2022-01-27 15:37:02.382 ***
REST request:
Code: 200
Req: {<0.9947.2>,<<"/api/rooms/1643-297822-281866/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f130d74a87594e2f">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzIxNzJAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:37:02 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"858">>}],
         <<"[{\"user\":\"bob_chat_markers_are_archived_in_room_2172@localhost\",\"type\":\"affiliation\",\"timestamp\":1643297822290,\"id\":\"bffc2020-08bf-4731-88cb-b0bb32d03ecb\",\"from\":\"1643-297822-281866@muclight.localhost\",\"affiliation\":\"member\"},{\"type\":\"message\",\"timestamp\":1643297822317,\"id\":\"b0ae5fb1-474d-497f-a103-3ef3b321361c\",\"from\":\"bob_chat_markers_are_archived_in_room_2172@localhost\",\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}},{\"type\":\"message\",\"timestamp\":1643297822339,\"id\":\"b93af6fb-dd1c-458f-b45a-fc7bb3d36b2c\",\"from\":\"bob_chat_markers_are_archived_in_room_2172@localhost\",\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}},{\"type\":\"message\",\"timestamp\":1643297822357,\"id\":\"b76f7641-9ee7-49a3-9925-b05c10e8a101\",\"from\":\"bob_chat_markers_are_archived_in_room_2172@localhost\",\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}]">>,
         983,2817}
Params: #{body => <<>>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2172@localhost">>,
               <<"matygrysa">>},
          method => <<"GET">>,
          path => <<"/api/rooms/1643-297822-281866/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:37:02.383 ***
bOb_chat_markers_are_archived_in_room_2172@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:37:02.383 ***
bOb_chat_markers_are_archived_in_room_2172@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:37:02.383 ***
alicE_chat_markers_are_archived_in_room_2172@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:37:02.383 ***
alicE_chat_markers_are_archived_in_room_2172@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:37:02.388 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2385.html
*** CT 2022-01-27 15:37:02.389 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5813.html



=== Ended at 2022-01-27 15:37:02
=== successfully completed test case
=== === Returned value: ok


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