=== Test case: rest_client_SUITE:markable_property_is_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.markable_property_is_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.703 *** View log from node mongooseim@localhost when started mongooseim@localhost_2441.html
*** CT 2022-02-02 15:15:10.704 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_628.html

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

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



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



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

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



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



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



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



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



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



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

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



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



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

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



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



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



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



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



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



*** User 2022-02-02 15:15:10.724 ***
REST request:
Code: 200
Req: {<0.27172.1>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3c96f8c7412daa25">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8xNjMxQGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}],
      <<"{\"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-724177\"}">>,151,1145}
Params: #{body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_1631@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.735 ***
REST request:
Code: 204
Req: {<0.27178.1>,<<"/api/rooms/1643-814910-724177/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d2cc5a527bdacd37">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8xNjMxQGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}],
      <<"{\"user\":\"bob_markable_property_is_archived_in_room_1631@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:15:10 GMT">>}],
         <<>>,80,3604}
Params: #{body =>
              <<"{\"user\":\"bob_markable_property_is_archived_in_room_1631@domain.example.com\"}">>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_1631@domain.example.com">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-814910-724177/users">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-02-02 15:15:10.735 ***
bOb_markable_property_is_archived_in_room_1631@domain.example.com/res1 in
<message from='1643-814910-724177@muclight2.domain.example.com' to='bob_markable_property_is_archived_in_room_1631@domain.example.com' id='d80cb31d-9791-47c6-9504-c308c9eb8068' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-814910-733104</version>
		<user affiliation='member'>bob_markable_property_is_archived_in_room_1631@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2022-02-02 15:15:10.735 ***
alicE_markable_property_is_archived_in_room_1631@domain.example.com/res1 in
<message from='1643-814910-724177@muclight2.domain.example.com' to='alice_markable_property_is_archived_in_room_1631@domain.example.com' id='d80cb31d-9791-47c6-9504-c308c9eb8068' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1643-814910-724139</prev-version>
		<version>1643-814910-733104</version>
		<user affiliation='member'>bob_markable_property_is_archived_in_room_1631@domain.example.com</user>
	</x>
	<body/>
	<stanza-id by='1643-814910-724177@muclight2.domain.example.com' id='BLOAFFAAJ081' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-02-02 15:15:10.745 ***
REST request:
Code: 200
Req: {<0.27184.1>,<<"/api/rooms/1643-814910-724177/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b2593fd810e2d581">>},
       {<<"authorization">>,
        <<"Basic Ym9iX21hcmthYmxlX3Byb3BlcnR5X2lzX2FyY2hpdmVkX2luX3Jvb21fMTYzMUBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"markable\":true,\"body\":\"Floor is lava!\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:15:10 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"d5d0a538-497f-4496-b9ca-e344298f128c\"}">>,169,3134}
Params: #{body => <<"{\"markable\":true,\"body\":\"Floor is lava!\"}">>,
          creds =>
              {<<"bob_markable_property_is_archived_in_room_1631@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-814910-724177/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.745 ***
alicE_markable_property_is_archived_in_room_1631@domain.example.com/res1 in
<message from='1643-814910-724177@muclight2.domain.example.com/bob_markable_property_is_archived_in_room_1631@domain.example.com' to='alice_markable_property_is_archived_in_room_1631@domain.example.com' id='d5d0a538-497f-4496-b9ca-e344298f128c' type='groupchat'>
	<body>Floor is lava!</body>
	<markable xmlns='urn:xmpp:chat-markers:0'/>
	<stanza-id by='1643-814910-724177@muclight2.domain.example.com' id='BLOAFFAD53O1' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element archive_wait in Config.


*** User 2022-02-02 15:15:10.745 ***
bOb_markable_property_is_archived_in_room_1631@domain.example.com/res1 in
<message from='1643-814910-724177@muclight2.domain.example.com/bob_markable_property_is_archived_in_room_1631@domain.example.com' to='bob_markable_property_is_archived_in_room_1631@domain.example.com' id='d5d0a538-497f-4496-b9ca-e344298f128c' type='groupchat'>
	<body>Floor is lava!</body>
	<markable xmlns='urn:xmpp:chat-markers:0'/>
	<stanza-id by='1643-814910-724177@muclight2.domain.example.com' id='BLOAFFAD53O1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-02-02 15:15:10.754 ***
REST request:
Code: 200
Req: {<0.27190.1>,<<"/api/rooms/1643-814910-724177/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"bb8cfac84e12f2d2">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8xNjMxQGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:15:10 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"453">>}],
         <<"[{\"user\":\"bob_markable_property_is_archived_in_room_1631@domain.example.com\",\"type\":\"affiliation\",\"timestamp\":1643814910732,\"id\":\"d80cb31d-9791-47c6-9504-c308c9eb8068\",\"from\":\"1643-814910-724177@muclight2.domain.example.com\",\"affiliation\":\"member\"},{\"type\":\"message\",\"timestamp\":1643814910743,\"markable\":true,\"id\":\"d5d0a538-497f-4496-b9ca-e344298f128c\",\"from\":\"bob_markable_property_is_archived_in_room_1631@domain.example.com\",\"body\":\"Floor is lava!\"}]">>,
         578,1548}
Params: #{body => <<>>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_1631@domain.example.com">>,
               <<"matygrysa">>},
          method => <<"GET">>,
          path => <<"/api/rooms/1643-814910-724177/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


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

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

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

*** User 2022-02-02 15:15:10.755 ***
alicE_markable_property_is_archived_in_room_1631@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:15:10.757 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_628.html
*** CT 2022-02-02 15:15:10.757 *** 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