=== Test case: rest_client_SUITE:markable_property_is_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.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@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.243 *** View log from node mongooseim@localhost when started mongooseim@localhost_5822.html
*** CT 2022-01-25 16:34:34.244 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2377.html

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

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



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



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

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



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



*** User 2022-01-25 16:34:34.254 ***
alicE_markable_property_is_archived_in_room_2237@localhost/res1 out
<iq type='set' id='0ced84001d4285124da3697a7e6d0026'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:34:34.254 ***
alicE_markable_property_is_archived_in_room_2237@localhost/res1 in
<iq type='result' id='0ced84001d4285124da3697a7e6d0026'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



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

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



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



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

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



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



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



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



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



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



*** System report during rest_client_SUITE:markable_property_is_archived_in_room/1 in muc 2022-01-25 16:34:34.262 ***
=WARNING REPORT==== 25-Jan-2022::16:34:34.262906 ===
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.270 ***
REST request:
Code: 200
Req: {<0.9332.2>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5323e8adfec1fbf3">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8yMjM3QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
      <<"{\"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-270009\"}">>,151,1378}
Params: #{body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_2237@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,path => <<"/api/rooms">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** System report during rest_client_SUITE:markable_property_is_archived_in_room/1 in muc 2022-01-25 16:34:34.271 ***
=WARNING REPORT==== 25-Jan-2022::16:34:34.271519 ===
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.284 ***
REST request:
Code: 204
Req: {<0.9337.2>,<<"/api/rooms/1643-128474-270009/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c50d3844bbacde8c">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8yMjM3QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
      <<"{\"user\":\"bob_markable_property_is_archived_in_room_2237@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:34:33 GMT">>}],
         <<>>,80,6930}
Params: #{body =>
              <<"{\"user\":\"bob_markable_property_is_archived_in_room_2237@localhost\"}">>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_2237@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-128474-270009/users">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-25 16:34:34.284 ***
bOb_markable_property_is_archived_in_room_2237@localhost/res1 in
<message from='1643-128474-270009@muclight.localhost' to='bob_markable_property_is_archived_in_room_2237@localhost' id='be8a7819-a137-4c07-b13d-4c6b15fe8618' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-128474-279275</version>
		<user affiliation='member'>bob_markable_property_is_archived_in_room_2237@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-25 16:34:34.284 ***
alicE_markable_property_is_archived_in_room_2237@localhost/res1 in
<message from='1643-128474-270009@muclight.localhost' to='alice_markable_property_is_archived_in_room_2237@localhost' id='be8a7819-a137-4c07-b13d-4c6b15fe8618' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1643-128474-269959</prev-version>
		<version>1643-128474-279275</version>
		<user affiliation='member'>bob_markable_property_is_archived_in_room_2237@localhost</user>
	</x>
	<body/>
	<stanza-id by='1643-128474-270009@muclight.localhost' id='BLJAL43PLF01' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:markable_property_is_archived_in_room/1 in muc 2022-01-25 16:34:34.286 ***
=WARNING REPORT==== 25-Jan-2022::16:34:34.286013 ===
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.301 ***
REST request:
Code: 200
Req: {<0.9342.2>,<<"/api/rooms/1643-128474-270009/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"794898f1fe6c87de">>},
       {<<"authorization">>,
        <<"Basic Ym9iX21hcmthYmxlX3Byb3BlcnR5X2lzX2FyY2hpdmVkX2luX3Jvb21fMjIzN0Bsb2NhbGhvc3Q6bWFrcm9saWth">>}],
      <<"{\"markable\":true,\"body\":\"Floor is lava!\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:34:33 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"72e2dc5a-945f-407e-a4ea-e8db083be9c5\"}">>,169,8756}
Params: #{body => <<"{\"markable\":true,\"body\":\"Floor is lava!\"}">>,
          creds =>
              {<<"bob_markable_property_is_archived_in_room_2237@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-128474-270009/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.301 ***
alicE_markable_property_is_archived_in_room_2237@localhost/res1 in
<message from='1643-128474-270009@muclight.localhost/bob_markable_property_is_archived_in_room_2237@localhost' to='alice_markable_property_is_archived_in_room_2237@localhost' id='72e2dc5a-945f-407e-a4ea-e8db083be9c5' type='groupchat'>
	<body>Floor is lava!</body>
	<markable xmlns='urn:xmpp:chat-markers:0'/>
	<stanza-id by='1643-128474-270009@muclight.localhost' id='BLJAL43TCHG1' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element archive_wait in Config.


*** User 2022-01-25 16:34:34.301 ***
bOb_markable_property_is_archived_in_room_2237@localhost/res1 in
<message from='1643-128474-270009@muclight.localhost/bob_markable_property_is_archived_in_room_2237@localhost' to='bob_markable_property_is_archived_in_room_2237@localhost' id='72e2dc5a-945f-407e-a4ea-e8db083be9c5' type='groupchat'>
	<body>Floor is lava!</body>
	<markable xmlns='urn:xmpp:chat-markers:0'/>
	<stanza-id by='1643-128474-270009@muclight.localhost' id='BLJAL43TCHG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:markable_property_is_archived_in_room/1 in muc 2022-01-25 16:34:34.302 ***
=WARNING REPORT==== 25-Jan-2022::16:34:34.302861 ===
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.311 ***
REST request:
Code: 200
Req: {<0.9347.2>,<<"/api/rooms/1643-128474-270009/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3044c608cf351589">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8yMjM3QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 25 Jan 2022 16:34:33 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"425">>}],
         <<"[{\"user\":\"bob_markable_property_is_archived_in_room_2237@localhost\",\"type\":\"affiliation\",\"timestamp\":1643128474278,\"id\":\"be8a7819-a137-4c07-b13d-4c6b15fe8618\",\"from\":\"1643-128474-270009@muclight.localhost\",\"affiliation\":\"member\"},{\"type\":\"message\",\"timestamp\":1643128474293,\"markable\":true,\"id\":\"72e2dc5a-945f-407e-a4ea-e8db083be9c5\",\"from\":\"bob_markable_property_is_archived_in_room_2237@localhost\",\"body\":\"Floor is lava!\"}]">>,
         550,2493}
Params: #{body => <<>>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_2237@localhost">>,
               <<"matygrysa">>},
          method => <<"GET">>,
          path => <<"/api/rooms/1643-128474-270009/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


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

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

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

*** User 2022-01-25 16:34:34.312 ***
alicE_markable_property_is_archived_in_room_2237@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:34:34.314 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2377.html
*** CT 2022-01-25 16:34:34.314 *** 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