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

=== Config value:

    [{watchdog,<0.8808.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.rest_client_SUITE.logs/run.2022-01-25_16.34.32/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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.rest_client_SUITE.logs/run.2022-01-25_16.34.32/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@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:34:34


*** CT 2022-01-25 16:34:34.113 *** View log from node mongooseim@localhost when started mongooseim@localhost_5822.html
*** CT 2022-01-25 16:34:34.113 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2377.html

*** User 2022-01-25 16:34:34.121 ***
alicE_chat_markers_are_archived_in_room_2236@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-25 16:34:34.121 ***
alicE_chat_markers_are_archived_in_room_2236@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='70f114282b48246f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:34:34.121 ***
alicE_chat_markers_are_archived_in_room_2236@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-25 16:34:34.121 ***
alicE_chat_markers_are_archived_in_room_2236@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yMjM2AG1hdHlncnlzYQ==</auth>



*** User 2022-01-25 16:34:34.122 ***
alicE_chat_markers_are_archived_in_room_2236@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:34:34.122 ***
alicE_chat_markers_are_archived_in_room_2236@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-25 16:34:34.123 ***
alicE_chat_markers_are_archived_in_room_2236@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='44f6e2c5ee647eb2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:34:34.123 ***
alicE_chat_markers_are_archived_in_room_2236@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-25 16:34:34.123 ***
alicE_chat_markers_are_archived_in_room_2236@localhost/res1 out
<iq type='set' id='e7d39b0ce14b729368fa0762d66b0937'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:34:34.123 ***
alicE_chat_markers_are_archived_in_room_2236@localhost/res1 in
<iq id='e7d39b0ce14b729368fa0762d66b0937' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_chat_markers_are_archived_in_room_2236@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:34:34.123 ***
alicE_chat_markers_are_archived_in_room_2236@localhost/res1 out
<iq type='set' id='6aa49a796b3416ed5fac90d67f628678'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:34.123 ***
alicE_chat_markers_are_archived_in_room_2236@localhost/res1 in
<iq type='result' id='6aa49a796b3416ed5fac90d67f628678'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:34.124 ***
alicE_chat_markers_are_archived_in_room_2236@localhost/res1 out
<presence/>



*** User 2022-01-25 16:34:34.126 ***
alicE_chat_markers_are_archived_in_room_2236@localhost/res1 in
<presence from='alicE_chat_markers_are_archived_in_room_2236@localhost/res1' to='alice_chat_markers_are_archived_in_room_2236@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:34:34.126 ***
bOb_chat_markers_are_archived_in_room_2236@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-25 16:34:34.126 ***
bOb_chat_markers_are_archived_in_room_2236@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eb1f6d22f521b8ed' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:34:34.127 ***
bOb_chat_markers_are_archived_in_room_2236@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-25 16:34:34.127 ***
bOb_chat_markers_are_archived_in_room_2236@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMjIzNgBtYWtyb2xpa2E=</auth>



*** User 2022-01-25 16:34:34.127 ***
bOb_chat_markers_are_archived_in_room_2236@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:34:34.128 ***
bOb_chat_markers_are_archived_in_room_2236@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-25 16:34:34.128 ***
bOb_chat_markers_are_archived_in_room_2236@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2e9a9f65a6397ab9' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:34:34.128 ***
bOb_chat_markers_are_archived_in_room_2236@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-25 16:34:34.128 ***
bOb_chat_markers_are_archived_in_room_2236@localhost/res1 out
<iq type='set' id='83dda7f8083b15522cfd71f5e9f77456'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:34:34.128 ***
bOb_chat_markers_are_archived_in_room_2236@localhost/res1 in
<iq id='83dda7f8083b15522cfd71f5e9f77456' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_chat_markers_are_archived_in_room_2236@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:34:34.128 ***
bOb_chat_markers_are_archived_in_room_2236@localhost/res1 out
<iq type='set' id='84af596a3c5898f27d80cdda96b1abd2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:34.128 ***
bOb_chat_markers_are_archived_in_room_2236@localhost/res1 in
<iq type='result' id='84af596a3c5898f27d80cdda96b1abd2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:34.128 ***
bOb_chat_markers_are_archived_in_room_2236@localhost/res1 out
<presence/>



*** User 2022-01-25 16:34:34.130 ***
bOb_chat_markers_are_archived_in_room_2236@localhost/res1 in
<presence from='bOb_chat_markers_are_archived_in_room_2236@localhost/res1' to='bob_chat_markers_are_archived_in_room_2236@localhost/res1' xml:lang='en'/>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-01-25 16:34:34.131 ***
=WARNING REPORT==== 25-Jan-2022::16:34:34.131713 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-25 16:34:34.139 ***
REST request:
Code: 200
Req: {<0.9285.2>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3fbc27adf13b4ce4">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzIyMzZAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:34:33 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1643-128474-139344\"}">>,151,1561}
Params: #{body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2236@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-25 16:34:34.140 ***
=WARNING REPORT==== 25-Jan-2022::16:34:34.140868 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-25 16:34:34.154 ***
REST request:
Code: 204
Req: {<0.9290.2>,<<"/api/rooms/1643-128474-139344/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9613405f1365b3e9">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzIyMzZAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2236@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:34:33 GMT">>}],
         <<>>,80,7649}
Params: #{body =>
              <<"{\"user\":\"bob_chat_markers_are_archived_in_room_2236@localhost\"}">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2236@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-128474-139344/users">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-25 16:34:34.154 ***
bOb_chat_markers_are_archived_in_room_2236@localhost/res1 in
<message from='1643-128474-139344@muclight.localhost' to='bob_chat_markers_are_archived_in_room_2236@localhost' id='e5b8d419-4259-4242-a701-4ff6c2282231' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-128474-148551</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2236@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-25 16:34:34.154 ***
alicE_chat_markers_are_archived_in_room_2236@localhost/res1 in
<message from='1643-128474-139344@muclight.localhost' to='alice_chat_markers_are_archived_in_room_2236@localhost' id='e5b8d419-4259-4242-a701-4ff6c2282231' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1643-128474-139312</prev-version>
		<version>1643-128474-148551</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_2236@localhost</user>
	</x>
	<body/>
	<stanza-id by='1643-128474-139344@muclight.localhost' id='BLJAL42PON01' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-01-25 16:34:34.155 ***
=WARNING REPORT==== 25-Jan-2022::16:34:34.155846 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-25 16:34:34.171 ***
REST request:
Code: 200
Req: {<0.9295.2>,<<"/api/rooms/1643-128474-139344/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a39c186e1948e8ed">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yMjM2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:34:33 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"c7d3889c-97e1-40b5-ba16-e6de0c8e9ca5\"}">>,169,9649}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2236@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-128474-139344/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-25 16:34:34.171 ***
alicE_chat_markers_are_archived_in_room_2236@localhost/res1 in
<message from='1643-128474-139344@muclight.localhost/bob_chat_markers_are_archived_in_room_2236@localhost' to='alice_chat_markers_are_archived_in_room_2236@localhost' id='c7d3889c-97e1-40b5-ba16-e6de0c8e9ca5' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-128474-139344@muclight.localhost' id='BLJAL42THAG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-25 16:34:34.172 ***
bOb_chat_markers_are_archived_in_room_2236@localhost/res1 in
<message from='1643-128474-139344@muclight.localhost/bob_chat_markers_are_archived_in_room_2236@localhost' to='bob_chat_markers_are_archived_in_room_2236@localhost' id='c7d3889c-97e1-40b5-ba16-e6de0c8e9ca5' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-128474-139344@muclight.localhost' id='BLJAL42THAG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-01-25 16:34:34.173 ***
=WARNING REPORT==== 25-Jan-2022::16:34:34.173170 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-25 16:34:34.185 ***
REST request:
Code: 200
Req: {<0.9300.2>,<<"/api/rooms/1643-128474-139344/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9964ef566ae6c8ed">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yMjM2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:34:33 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"be87d8b4-70cc-4646-8e61-e747f89741be\"}">>,169,6640}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2236@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-128474-139344/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-25 16:34:34.186 ***
alicE_chat_markers_are_archived_in_room_2236@localhost/res1 in
<message from='1643-128474-139344@muclight.localhost/bob_chat_markers_are_archived_in_room_2236@localhost' to='alice_chat_markers_are_archived_in_room_2236@localhost' id='be87d8b4-70cc-4646-8e61-e747f89741be' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-128474-139344@muclight.localhost' id='BLJAL431OH01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-25 16:34:34.186 ***
bOb_chat_markers_are_archived_in_room_2236@localhost/res1 in
<message from='1643-128474-139344@muclight.localhost/bob_chat_markers_are_archived_in_room_2236@localhost' to='bob_chat_markers_are_archived_in_room_2236@localhost' id='be87d8b4-70cc-4646-8e61-e747f89741be' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-128474-139344@muclight.localhost' id='BLJAL431OH01' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-01-25 16:34:34.187 ***
=WARNING REPORT==== 25-Jan-2022::16:34:34.187186 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-25 16:34:34.199 ***
REST request:
Code: 200
Req: {<0.9305.2>,<<"/api/rooms/1643-128474-139344/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"af329b8d7e147286">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yMjM2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:34:33 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"63e7a75f-dfd5-4950-9d26-ce7c0c1ef965\"}">>,169,6147}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_2236@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-128474-139344/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}

Could not find element wait_for_parallel_writer in Config.


*** User 2022-01-25 16:34:34.199 ***
alicE_chat_markers_are_archived_in_room_2236@localhost/res1 in
<message from='1643-128474-139344@muclight.localhost/bob_chat_markers_are_archived_in_room_2236@localhost' to='alice_chat_markers_are_archived_in_room_2236@localhost' id='63e7a75f-dfd5-4950-9d26-ce7c0c1ef965' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-128474-139344@muclight.localhost' id='BLJAL43540O1' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element archive_wait in Config.


*** User 2022-01-25 16:34:34.199 ***
bOb_chat_markers_are_archived_in_room_2236@localhost/res1 in
<message from='1643-128474-139344@muclight.localhost/bob_chat_markers_are_archived_in_room_2236@localhost' to='bob_chat_markers_are_archived_in_room_2236@localhost' id='63e7a75f-dfd5-4950-9d26-ce7c0c1ef965' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-128474-139344@muclight.localhost' id='BLJAL43540O1' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:chat_markers_are_archived_in_room/1 in muc 2022-01-25 16:34:34.200 ***
=WARNING REPORT==== 25-Jan-2022::16:34:34.200727 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-25 16:34:34.212 ***
REST request:
Code: 200
Req: {<0.9310.2>,<<"/api/rooms/1643-128474-139344/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"71ed76d8d45f4883">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzIyMzZAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:34:33 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"858">>}],
         <<"[{\"user\":\"bob_chat_markers_are_archived_in_room_2236@localhost\",\"type\":\"affiliation\",\"timestamp\":1643128474147,\"id\":\"e5b8d419-4259-4242-a701-4ff6c2282231\",\"from\":\"1643-128474-139344@muclight.localhost\",\"affiliation\":\"member\"},{\"type\":\"message\",\"timestamp\":1643128474163,\"id\":\"c7d3889c-97e1-40b5-ba16-e6de0c8e9ca5\",\"from\":\"bob_chat_markers_are_archived_in_room_2236@localhost\",\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}},{\"type\":\"message\",\"timestamp\":1643128474180,\"id\":\"be87d8b4-70cc-4646-8e61-e747f89741be\",\"from\":\"bob_chat_markers_are_archived_in_room_2236@localhost\",\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}},{\"type\":\"message\",\"timestamp\":1643128474194,\"id\":\"63e7a75f-dfd5-4950-9d26-ce7c0c1ef965\",\"from\":\"bob_chat_markers_are_archived_in_room_2236@localhost\",\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}]">>,
         983,3140}
Params: #{body => <<>>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_2236@localhost">>,
               <<"matygrysa">>},
          method => <<"GET">>,
          path => <<"/api/rooms/1643-128474-139344/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-25 16:34:34.212 ***
bOb_chat_markers_are_archived_in_room_2236@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:34:34.212 ***
bOb_chat_markers_are_archived_in_room_2236@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:34:34.212 ***
alicE_chat_markers_are_archived_in_room_2236@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:34:34.213 ***
alicE_chat_markers_are_archived_in_room_2236@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:34:34.215 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2377.html
*** CT 2022-01-25 16:34:34.216 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5822.html



=== Ended at 2022-01-25 16:34:34
=== successfully completed test case
=== === Returned value: ok


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