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

=== Config value:

    [{watchdog,<0.26600.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,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.rest_client_SUITE.logs/run.2022-02-02_15.15.09/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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.rest_client_SUITE.logs/run.2022-02-02_15.15.09/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@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:15:10


*** CT 2022-02-02 15:15:10.600 *** View log from node mongooseim@localhost when started mongooseim@localhost_2441.html
*** CT 2022-02-02 15:15:10.600 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_628.html

*** User 2022-02-02 15:15:10.604 ***
alicE_chat_markers_are_archived_in_room_1630@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-02-02 15:15:10.604 ***
alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='388d8b53d8309d51' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:15:10.604 ***
alicE_chat_markers_are_archived_in_room_1630@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-02-02 15:15:10.605 ***
alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8xNjMwAG1hdHlncnlzYQ==</auth>



*** User 2022-02-02 15:15:10.605 ***
alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:15:10.605 ***
alicE_chat_markers_are_archived_in_room_1630@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-02-02 15:15:10.605 ***
alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ea922994cd1df47a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:15:10.606 ***
alicE_chat_markers_are_archived_in_room_1630@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-02-02 15:15:10.606 ***
alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1 out
<iq type='set' id='91b3f64c7001b00a165f43752c2f5c7e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:15:10.606 ***
alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<iq id='91b3f64c7001b00a165f43752c2f5c7e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:15:10.606 ***
alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1 out
<iq type='set' id='d30a649d21cd62555cbcffc0b057662c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:15:10.606 ***
alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<iq type='result' id='d30a649d21cd62555cbcffc0b057662c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:15:10.606 ***
alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:15:10.608 ***
alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<presence from='alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1' to='alice_chat_markers_are_archived_in_room_1630@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:15:10.608 ***
bOb_chat_markers_are_archived_in_room_1630@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-02-02 15:15:10.608 ***
bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9046abf45034aa96' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:15:10.609 ***
bOb_chat_markers_are_archived_in_room_1630@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-02-02 15:15:10.609 ***
bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMTYzMABtYWtyb2xpa2E=</auth>



*** User 2022-02-02 15:15:10.609 ***
bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:15:10.609 ***
bOb_chat_markers_are_archived_in_room_1630@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-02-02 15:15:10.610 ***
bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='22c820595e0f68ca' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:15:10.610 ***
bOb_chat_markers_are_archived_in_room_1630@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-02-02 15:15:10.610 ***
bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1 out
<iq type='set' id='e8ce9e07826190029a42960e24cfd8a3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:15:10.610 ***
bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<iq id='e8ce9e07826190029a42960e24cfd8a3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:15:10.610 ***
bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1 out
<iq type='set' id='1f86881022e4dd7860c59f4dc542fe85'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:15:10.610 ***
bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<iq type='result' id='1f86881022e4dd7860c59f4dc542fe85'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:15:10.610 ***
bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:15:10.612 ***
bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<presence from='bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1' to='bob_chat_markers_are_archived_in_room_1630@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:15:10.621 ***
REST request:
Code: 200
Req: {<0.27119.1>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"988d167c51f74e80">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzE2MzBAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:15:10 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1643-814910-620719\"}">>,151,1261}
Params: #{body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_1630@domain.example.com">>,
               <<"matygrysa">>},
          method => <<"POST">>,path => <<"/api/rooms">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-02-02 15:15:10.632 ***
REST request:
Code: 204
Req: {<0.27125.1>,<<"/api/rooms/1643-814910-620719/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f1594dbd536c5a2a">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzE2MzBAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_chat_markers_are_archived_in_room_1630@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:15:10 GMT">>}],
         <<>>,80,3820}
Params: #{body =>
              <<"{\"user\":\"bob_chat_markers_are_archived_in_room_1630@domain.example.com\"}">>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_1630@domain.example.com">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-814910-620719/users">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-02-02 15:15:10.632 ***
bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<message from='1643-814910-620719@muclight2.domain.example.com' to='bob_chat_markers_are_archived_in_room_1630@domain.example.com' id='88817716-5d90-4618-91a5-89d1ee0d6d1f' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-814910-629643</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_1630@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2022-02-02 15:15:10.632 ***
alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<message from='1643-814910-620719@muclight2.domain.example.com' to='alice_chat_markers_are_archived_in_room_1630@domain.example.com' id='88817716-5d90-4618-91a5-89d1ee0d6d1f' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1643-814910-620681</prev-version>
		<version>1643-814910-629643</version>
		<user affiliation='member'>bob_chat_markers_are_archived_in_room_1630@domain.example.com</user>
	</x>
	<body/>
	<stanza-id by='1643-814910-620719@muclight2.domain.example.com' id='BLOAFF9H9QG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-02-02 15:15:10.642 ***
REST request:
Code: 200
Req: {<0.27131.1>,<<"/api/rooms/1643-814910-620719/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d639f95396ff2d6a">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8xNjMwQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:15:10 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"78468cb0-00c2-41ab-8400-59ae197e8336\"}">>,169,2912}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_1630@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-814910-620719/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-02-02 15:15:10.642 ***
alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<message from='1643-814910-620719@muclight2.domain.example.com/bob_chat_markers_are_archived_in_room_1630@domain.example.com' to='alice_chat_markers_are_archived_in_room_1630@domain.example.com' id='78468cb0-00c2-41ab-8400-59ae197e8336' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-814910-620719@muclight2.domain.example.com' id='BLOAFF9K2G01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-02-02 15:15:10.642 ***
bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<message from='1643-814910-620719@muclight2.domain.example.com/bob_chat_markers_are_archived_in_room_1630@domain.example.com' to='bob_chat_markers_are_archived_in_room_1630@domain.example.com' id='78468cb0-00c2-41ab-8400-59ae197e8336' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-814910-620719@muclight2.domain.example.com' id='BLOAFF9K2G01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-02-02 15:15:10.653 ***
REST request:
Code: 200
Req: {<0.27137.1>,<<"/api/rooms/1643-814910-620719/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5ad2c81b42d17485">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8xNjMwQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:15:10 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"4272ec8e-af35-4078-86ee-b08aa8edb3db\"}">>,169,2585}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_1630@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-814910-620719/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-02-02 15:15:10.653 ***
alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<message from='1643-814910-620719@muclight2.domain.example.com/bob_chat_markers_are_archived_in_room_1630@domain.example.com' to='alice_chat_markers_are_archived_in_room_1630@domain.example.com' id='4272ec8e-af35-4078-86ee-b08aa8edb3db' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-814910-620719@muclight2.domain.example.com' id='BLOAFF9MQT81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-02-02 15:15:10.654 ***
bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<message from='1643-814910-620719@muclight2.domain.example.com/bob_chat_markers_are_archived_in_room_1630@domain.example.com' to='bob_chat_markers_are_archived_in_room_1630@domain.example.com' id='4272ec8e-af35-4078-86ee-b08aa8edb3db' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-814910-620719@muclight2.domain.example.com' id='BLOAFF9MQT81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-02-02 15:15:10.663 ***
REST request:
Code: 200
Req: {<0.27143.1>,<<"/api/rooms/1643-814910-620719/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"35850145f5e0b777">>},
       {<<"authorization">>,
        <<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8xNjMwQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
      <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:15:10 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"b3183349-30da-455c-8954-36bb1b97d70e\"}">>,169,2638}
Params: #{body =>
              <<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
          creds =>
              {<<"bob_chat_markers_are_archived_in_room_1630@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-814910-620719/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}

Could not find element wait_for_parallel_writer in Config.


*** User 2022-02-02 15:15:10.663 ***
alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<message from='1643-814910-620719@muclight2.domain.example.com/bob_chat_markers_are_archived_in_room_1630@domain.example.com' to='alice_chat_markers_are_archived_in_room_1630@domain.example.com' id='b3183349-30da-455c-8954-36bb1b97d70e' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-814910-620719@muclight2.domain.example.com' id='BLOAFF9P7KO1' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element archive_wait in Config.


*** User 2022-02-02 15:15:10.663 ***
bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
<message from='1643-814910-620719@muclight2.domain.example.com/bob_chat_markers_are_archived_in_room_1630@domain.example.com' to='bob_chat_markers_are_archived_in_room_1630@domain.example.com' id='b3183349-30da-455c-8954-36bb1b97d70e' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
	<stanza-id by='1643-814910-620719@muclight2.domain.example.com' id='BLOAFF9P7KO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-02-02 15:15:10.672 ***
REST request:
Code: 200
Req: {<0.27149.1>,<<"/api/rooms/1643-814910-620719/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6891dcbc5838bc73">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzE2MzBAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:15:10 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"904">>}],
         <<"[{\"user\":\"bob_chat_markers_are_archived_in_room_1630@domain.example.com\",\"type\":\"affiliation\",\"timestamp\":1643814910629,\"id\":\"88817716-5d90-4618-91a5-89d1ee0d6d1f\",\"from\":\"1643-814910-620719@muclight2.domain.example.com\",\"affiliation\":\"member\"},{\"type\":\"message\",\"timestamp\":1643814910640,\"id\":\"78468cb0-00c2-41ab-8400-59ae197e8336\",\"from\":\"bob_chat_markers_are_archived_in_room_1630@domain.example.com\",\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}},{\"type\":\"message\",\"timestamp\":1643814910651,\"id\":\"4272ec8e-af35-4078-86ee-b08aa8edb3db\",\"from\":\"bob_chat_markers_are_archived_in_room_1630@domain.example.com\",\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}},{\"type\":\"message\",\"timestamp\":1643814910661,\"id\":\"b3183349-30da-455c-8954-36bb1b97d70e\",\"from\":\"bob_chat_markers_are_archived_in_room_1630@domain.example.com\",\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}]">>,
         1029,1641}
Params: #{body => <<>>,
          creds =>
              {<<"alice_chat_markers_are_archived_in_room_1630@domain.example.com">>,
               <<"matygrysa">>},
          method => <<"GET">>,
          path => <<"/api/rooms/1643-814910-620719/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-02-02 15:15:10.673 ***
bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:15:10.673 ***
bOb_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
</stream:stream>

*** User 2022-02-02 15:15:10.673 ***
alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:15:10.673 ***
alicE_chat_markers_are_archived_in_room_1630@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:15:10.676 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_628.html
*** CT 2022-02-02 15:15:10.677 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2441.html



=== Ended at 2022-02-02 15:15:10
=== successfully completed test case
=== === Returned value: ok


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