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

=== Config value:

    [{watchdog,<0.11557.2>},
     {muc_light_host,<<"muclight.localhost">>},
     {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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.rest_client_SUITE.logs/run.2022-03-04_11.27.49/rest_client_suite.markable_property_is_archived_in_room.html"},
     {tc_group_properties,[{name,muc},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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.rest_client_SUITE.logs/run.2022-03-04_11.27.49/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@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:27:50


*** CT 2022-03-04 11:27:50.886 *** View log from node mongooseim@localhost when started mongooseim@localhost_5904.html
*** CT 2022-03-04 11:27:50.887 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2335.html

*** User 2022-03-04 11:27:50.892 ***
alicE_markable_property_is_archived_in_room_2023@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-03-04 11:27:50.893 ***
alicE_markable_property_is_archived_in_room_2023@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='962e3daf6fb3f7d2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:27:50.893 ***
alicE_markable_property_is_archived_in_room_2023@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-03-04 11:27:50.893 ***
alicE_markable_property_is_archived_in_room_2023@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21hcmthYmxlX3Byb3BlcnR5X2lzX2FyY2hpdmVkX2luX3Jvb21fMjAyMwBtYXR5Z3J5c2E=</auth>



*** User 2022-03-04 11:27:50.894 ***
alicE_markable_property_is_archived_in_room_2023@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:27:50.894 ***
alicE_markable_property_is_archived_in_room_2023@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-03-04 11:27:50.894 ***
alicE_markable_property_is_archived_in_room_2023@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b1f6f934d306bbfb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:27:50.895 ***
alicE_markable_property_is_archived_in_room_2023@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-03-04 11:27:50.895 ***
alicE_markable_property_is_archived_in_room_2023@localhost/res1 out
<iq type='set' id='9ec41ebf3cc945418b382fa375b3fe8e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:27:50.895 ***
alicE_markable_property_is_archived_in_room_2023@localhost/res1 in
<iq id='9ec41ebf3cc945418b382fa375b3fe8e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_markable_property_is_archived_in_room_2023@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:27:50.895 ***
alicE_markable_property_is_archived_in_room_2023@localhost/res1 out
<iq type='set' id='d660d779b408970c8aca5c9b385cfb27'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:27:50.895 ***
alicE_markable_property_is_archived_in_room_2023@localhost/res1 in
<iq type='result' id='d660d779b408970c8aca5c9b385cfb27'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:27:50.895 ***
alicE_markable_property_is_archived_in_room_2023@localhost/res1 out
<presence/>



*** User 2022-03-04 11:27:50.897 ***
alicE_markable_property_is_archived_in_room_2023@localhost/res1 in
<presence from='alicE_markable_property_is_archived_in_room_2023@localhost/res1' to='alice_markable_property_is_archived_in_room_2023@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:27:50.898 ***
bOb_markable_property_is_archived_in_room_2023@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-03-04 11:27:50.899 ***
bOb_markable_property_is_archived_in_room_2023@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='447f1f1a0cadaaf3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:27:50.899 ***
bOb_markable_property_is_archived_in_room_2023@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-03-04 11:27:50.899 ***
bOb_markable_property_is_archived_in_room_2023@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tYXJrYWJsZV9wcm9wZXJ0eV9pc19hcmNoaXZlZF9pbl9yb29tXzIwMjMAbWFrcm9saWth</auth>



*** User 2022-03-04 11:27:50.900 ***
bOb_markable_property_is_archived_in_room_2023@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:27:50.900 ***
bOb_markable_property_is_archived_in_room_2023@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-03-04 11:27:50.900 ***
bOb_markable_property_is_archived_in_room_2023@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f594f1fdf9c63564' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:27:50.900 ***
bOb_markable_property_is_archived_in_room_2023@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-03-04 11:27:50.901 ***
bOb_markable_property_is_archived_in_room_2023@localhost/res1 out
<iq type='set' id='29f29c5a80c8e93c204a3d1a8f456a84'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:27:50.901 ***
bOb_markable_property_is_archived_in_room_2023@localhost/res1 in
<iq id='29f29c5a80c8e93c204a3d1a8f456a84' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_markable_property_is_archived_in_room_2023@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:27:50.901 ***
bOb_markable_property_is_archived_in_room_2023@localhost/res1 out
<iq type='set' id='e56d8100549be1d40e692327081572de'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:27:50.901 ***
bOb_markable_property_is_archived_in_room_2023@localhost/res1 in
<iq type='result' id='e56d8100549be1d40e692327081572de'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:27:50.901 ***
bOb_markable_property_is_archived_in_room_2023@localhost/res1 out
<presence/>



*** User 2022-03-04 11:27:50.904 ***
bOb_markable_property_is_archived_in_room_2023@localhost/res1 in
<presence from='bOb_markable_property_is_archived_in_room_2023@localhost/res1' to='bob_markable_property_is_archived_in_room_2023@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:27:50.917 ***
REST request:
Code: 200
Req: {<0.12129.2>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9960ae3fc3afae5f">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8yMDIzQGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:27:50 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1646-393270-916802\"}">>,151,1530}
Params: #{body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_2023@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,path => <<"/api/rooms">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-04 11:27:50.931 ***
REST request:
Code: 204
Req: {<0.12135.2>,<<"/api/rooms/1646-393270-916802/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4696fb81cf38ef9c">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8yMDIzQGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
      <<"{\"user\":\"bob_markable_property_is_archived_in_room_2023@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:27:50 GMT">>}],
         <<>>,80,4567}
Params: #{body =>
              <<"{\"user\":\"bob_markable_property_is_archived_in_room_2023@localhost\"}">>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_2023@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1646-393270-916802/users">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-04 11:27:50.931 ***
bOb_markable_property_is_archived_in_room_2023@localhost/res1 in
<message from='1646-393270-916802@muclight.localhost' to='bob_markable_property_is_archived_in_room_2023@localhost' id='bb43d003-239e-4c1f-984a-b244ea1797ca' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1646-393270-928409</version>
		<user affiliation='member'>bob_markable_property_is_archived_in_room_2023@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-03-04 11:27:50.931 ***
alicE_markable_property_is_archived_in_room_2023@localhost/res1 in
<message from='1646-393270-916802@muclight.localhost' to='alice_markable_property_is_archived_in_room_2023@localhost' id='bb43d003-239e-4c1f-984a-b244ea1797ca' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1646-393270-916763</prev-version>
		<version>1646-393270-928409</version>
		<user affiliation='member'>bob_markable_property_is_archived_in_room_2023@localhost</user>
	</x>
	<body/>
	<stanza-id by='1646-393270-916802@muclight.localhost' id='BMB2PO9G2LO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-03-04 11:27:50.943 ***
REST request:
Code: 200
Req: {<0.12141.2>,<<"/api/rooms/1646-393270-916802/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e02a3f693d366384">>},
       {<<"authorization">>,
        <<"Basic Ym9iX21hcmthYmxlX3Byb3BlcnR5X2lzX2FyY2hpdmVkX2luX3Jvb21fMjAyM0Bsb2NhbGhvc3Q6bWFrcm9saWth">>}],
      <<"{\"markable\":true,\"body\":\"Floor is lava!\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:27:50 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"9001cf14-175c-425f-b173-047610e3262a\"}">>,169,3755}
Params: #{body => <<"{\"markable\":true,\"body\":\"Floor is lava!\"}">>,
          creds =>
              {<<"bob_markable_property_is_archived_in_room_2023@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1646-393270-916802/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}

Could not find element wait_for_parallel_writer in Config.

Could not find element archive_wait in Config.


*** User 2022-03-04 11:27:50.943 ***
alicE_markable_property_is_archived_in_room_2023@localhost/res1 in
<message from='1646-393270-916802@muclight.localhost/bob_markable_property_is_archived_in_room_2023@localhost' to='alice_markable_property_is_archived_in_room_2023@localhost' id='9001cf14-175c-425f-b173-047610e3262a' type='groupchat'>
	<body>Floor is lava!</body>
	<markable xmlns='urn:xmpp:chat-markers:0'/>
	<stanza-id by='1646-393270-916802@muclight.localhost' id='BMB2PO9J7N81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-03-04 11:27:50.943 ***
bOb_markable_property_is_archived_in_room_2023@localhost/res1 in
<message from='1646-393270-916802@muclight.localhost/bob_markable_property_is_archived_in_room_2023@localhost' to='bob_markable_property_is_archived_in_room_2023@localhost' id='9001cf14-175c-425f-b173-047610e3262a' type='groupchat'>
	<body>Floor is lava!</body>
	<markable xmlns='urn:xmpp:chat-markers:0'/>
	<stanza-id by='1646-393270-916802@muclight.localhost' id='BMB2PO9J7N81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-03-04 11:27:50.954 ***
REST request:
Code: 200
Req: {<0.12147.2>,<<"/api/rooms/1646-393270-916802/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a9467f635376b20d">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8yMDIzQGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:27:50 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"425">>}],
         <<"[{\"user\":\"bob_markable_property_is_archived_in_room_2023@localhost\",\"type\":\"affiliation\",\"timestamp\":1646393270927,\"id\":\"bb43d003-239e-4c1f-984a-b244ea1797ca\",\"from\":\"1646-393270-916802@muclight.localhost\",\"affiliation\":\"member\"},{\"type\":\"message\",\"timestamp\":1646393270940,\"markable\":true,\"id\":\"9001cf14-175c-425f-b173-047610e3262a\",\"from\":\"bob_markable_property_is_archived_in_room_2023@localhost\",\"body\":\"Floor is lava!\"}]">>,
         550,2093}
Params: #{body => <<>>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_2023@localhost">>,
               <<"matygrysa">>},
          method => <<"GET">>,
          path => <<"/api/rooms/1646-393270-916802/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-04 11:27:50.954 ***
bOb_markable_property_is_archived_in_room_2023@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:27:50.955 ***
bOb_markable_property_is_archived_in_room_2023@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:27:50.955 ***
alicE_markable_property_is_archived_in_room_2023@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:27:50.955 ***
alicE_markable_property_is_archived_in_room_2023@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:27:50.958 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2335.html
*** CT 2022-03-04 11:27:50.959 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5904.html



=== Ended at 2022-03-04 11:27:50
=== successfully completed test case
=== === Returned value: ok


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