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

=== Config value:

    [{watchdog,<0.9445.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_15.37.00/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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.rest_client_SUITE.logs/run.2022-01-27_15.37.00/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@43a5deef6262.2022-01-27_15.25.11"

=== Started at 2022-01-27 15:37:02


*** CT 2022-01-27 15:37:02.416 *** View log from node mongooseim@localhost when started mongooseim@localhost_5813.html
*** CT 2022-01-27 15:37:02.417 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2385.html

*** User 2022-01-27 15:37:02.442 ***
alicE_markable_property_is_archived_in_room_2173@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-27 15:37:02.442 ***
alicE_markable_property_is_archived_in_room_2173@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3f06aaa20f84f5c9' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:37:02.443 ***
alicE_markable_property_is_archived_in_room_2173@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-27 15:37:02.443 ***
alicE_markable_property_is_archived_in_room_2173@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21hcmthYmxlX3Byb3BlcnR5X2lzX2FyY2hpdmVkX2luX3Jvb21fMjE3MwBtYXR5Z3J5c2E=</auth>



*** User 2022-01-27 15:37:02.444 ***
alicE_markable_property_is_archived_in_room_2173@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:37:02.444 ***
alicE_markable_property_is_archived_in_room_2173@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-27 15:37:02.444 ***
alicE_markable_property_is_archived_in_room_2173@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='31316b4d87a94f8a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:37:02.444 ***
alicE_markable_property_is_archived_in_room_2173@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-27 15:37:02.444 ***
alicE_markable_property_is_archived_in_room_2173@localhost/res1 out
<iq type='set' id='2f29302d8e2394c34da49e65211912e2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:37:02.445 ***
alicE_markable_property_is_archived_in_room_2173@localhost/res1 in
<iq id='2f29302d8e2394c34da49e65211912e2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_markable_property_is_archived_in_room_2173@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:37:02.445 ***
alicE_markable_property_is_archived_in_room_2173@localhost/res1 out
<iq type='set' id='bbbd8b9c242fe578fccae84fa2aef73c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:37:02.445 ***
alicE_markable_property_is_archived_in_room_2173@localhost/res1 in
<iq type='result' id='bbbd8b9c242fe578fccae84fa2aef73c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:37:02.445 ***
alicE_markable_property_is_archived_in_room_2173@localhost/res1 out
<presence/>



*** User 2022-01-27 15:37:02.447 ***
alicE_markable_property_is_archived_in_room_2173@localhost/res1 in
<presence from='alicE_markable_property_is_archived_in_room_2173@localhost/res1' to='alice_markable_property_is_archived_in_room_2173@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:37:02.448 ***
bOb_markable_property_is_archived_in_room_2173@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-27 15:37:02.448 ***
bOb_markable_property_is_archived_in_room_2173@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0dc09ced98f22a17' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:37:02.448 ***
bOb_markable_property_is_archived_in_room_2173@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-27 15:37:02.448 ***
bOb_markable_property_is_archived_in_room_2173@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tYXJrYWJsZV9wcm9wZXJ0eV9pc19hcmNoaXZlZF9pbl9yb29tXzIxNzMAbWFrcm9saWth</auth>



*** User 2022-01-27 15:37:02.449 ***
bOb_markable_property_is_archived_in_room_2173@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:37:02.450 ***
bOb_markable_property_is_archived_in_room_2173@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-27 15:37:02.450 ***
bOb_markable_property_is_archived_in_room_2173@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ed66ec468503ef8' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:37:02.450 ***
bOb_markable_property_is_archived_in_room_2173@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-27 15:37:02.450 ***
bOb_markable_property_is_archived_in_room_2173@localhost/res1 out
<iq type='set' id='6576a8b667b7d0028ca3685f885d2b92'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:37:02.450 ***
bOb_markable_property_is_archived_in_room_2173@localhost/res1 in
<iq id='6576a8b667b7d0028ca3685f885d2b92' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_markable_property_is_archived_in_room_2173@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:37:02.450 ***
bOb_markable_property_is_archived_in_room_2173@localhost/res1 out
<iq type='set' id='8e9f447c512347ed795a87a8d6dba203'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:37:02.450 ***
bOb_markable_property_is_archived_in_room_2173@localhost/res1 in
<iq type='result' id='8e9f447c512347ed795a87a8d6dba203'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:37:02.451 ***
bOb_markable_property_is_archived_in_room_2173@localhost/res1 out
<presence/>



*** User 2022-01-27 15:37:02.453 ***
bOb_markable_property_is_archived_in_room_2173@localhost/res1 in
<presence from='bOb_markable_property_is_archived_in_room_2173@localhost/res1' to='bob_markable_property_is_archived_in_room_2173@localhost/res1' xml:lang='en'/>



*** System report during rest_client_SUITE:markable_property_is_archived_in_room/1 in muc 2022-01-27 15:37:02.454 ***
=WARNING REPORT==== 27-Jan-2022::15:37:02.454254 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-27 15:37:02.462 ***
REST request:
Code: 200
Req: {<0.9969.2>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7d40b83d0189d2ee">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8yMTczQGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:37:02 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1643-297822-461826\"}">>,151,1458}
Params: #{body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_2173@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-27 15:37:02.463 ***
=WARNING REPORT==== 27-Jan-2022::15:37:02.463420 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-27 15:37:02.486 ***
REST request:
Code: 204
Req: {<0.9974.2>,<<"/api/rooms/1643-297822-461826/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"49424990f610eef5">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8yMTczQGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
      <<"{\"user\":\"bob_markable_property_is_archived_in_room_2173@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:37:02 GMT">>}],
         <<>>,80,16389}
Params: #{body =>
              <<"{\"user\":\"bob_markable_property_is_archived_in_room_2173@localhost\"}">>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_2173@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-297822-461826/users">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:37:02.486 ***
bOb_markable_property_is_archived_in_room_2173@localhost/res1 in
<message from='1643-297822-461826@muclight.localhost' to='bob_markable_property_is_archived_in_room_2173@localhost' id='63375080-4536-4e2a-a5d9-f855a719c994' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-297822-472444</version>
		<user affiliation='member'>bob_markable_property_is_archived_in_room_2173@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-01-27 15:37:02.487 ***
alicE_markable_property_is_archived_in_room_2173@localhost/res1 in
<message from='1643-297822-461826@muclight.localhost' to='alice_markable_property_is_archived_in_room_2173@localhost' id='63375080-4536-4e2a-a5d9-f855a719c994' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1643-297822-461786</prev-version>
		<version>1643-297822-472444</version>
		<user affiliation='member'>bob_markable_property_is_archived_in_room_2173@localhost</user>
	</x>
	<body/>
	<stanza-id by='1643-297822-461826@muclight.localhost' id='BLKI2RRVBV01' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:markable_property_is_archived_in_room/1 in muc 2022-01-27 15:37:02.488 ***
=WARNING REPORT==== 27-Jan-2022::15:37:02.488117 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-27 15:37:02.508 ***
REST request:
Code: 200
Req: {<0.9979.2>,<<"/api/rooms/1643-297822-461826/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"806dfded8f36b4fa">>},
       {<<"authorization">>,
        <<"Basic Ym9iX21hcmthYmxlX3Byb3BlcnR5X2lzX2FyY2hpdmVkX2luX3Jvb21fMjE3M0Bsb2NhbGhvc3Q6bWFrcm9saWth">>}],
      <<"{\"markable\":true,\"body\":\"Floor is lava!\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:37:02 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"fffc846d-3c75-44a7-910b-10c8ecc8e4d9\"}">>,169,12902}
Params: #{body => <<"{\"markable\":true,\"body\":\"Floor is lava!\"}">>,
          creds =>
              {<<"bob_markable_property_is_archived_in_room_2173@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1643-297822-461826/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:37:02.508 ***
alicE_markable_property_is_archived_in_room_2173@localhost/res1 in
<message from='1643-297822-461826@muclight.localhost/bob_markable_property_is_archived_in_room_2173@localhost' to='alice_markable_property_is_archived_in_room_2173@localhost' id='fffc846d-3c75-44a7-910b-10c8ecc8e4d9' type='groupchat'>
	<body>Floor is lava!</body>
	<markable xmlns='urn:xmpp:chat-markers:0'/>
	<stanza-id by='1643-297822-461826@muclight.localhost' id='BLKI2RS5DIO1' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element wait_for_parallel_writer in Config.


*** User 2022-01-27 15:37:02.508 ***
bOb_markable_property_is_archived_in_room_2173@localhost/res1 in
<message from='1643-297822-461826@muclight.localhost/bob_markable_property_is_archived_in_room_2173@localhost' to='bob_markable_property_is_archived_in_room_2173@localhost' id='fffc846d-3c75-44a7-910b-10c8ecc8e4d9' type='groupchat'>
	<body>Floor is lava!</body>
	<markable xmlns='urn:xmpp:chat-markers:0'/>
	<stanza-id by='1643-297822-461826@muclight.localhost' id='BLKI2RS5DIO1' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element archive_wait in Config.


*** System report during rest_client_SUITE:markable_property_is_archived_in_room/1 in muc 2022-01-27 15:37:02.509 ***
=WARNING REPORT==== 27-Jan-2022::15:37:02.509627 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-01-27 15:37:02.520 ***
REST request:
Code: 200
Req: {<0.9984.2>,<<"/api/rooms/1643-297822-461826/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4e6265781495a982">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8yMTczQGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:37:02 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"425">>}],
         <<"[{\"user\":\"bob_markable_property_is_archived_in_room_2173@localhost\",\"type\":\"affiliation\",\"timestamp\":1643297822471,\"id\":\"63375080-4536-4e2a-a5d9-f855a719c994\",\"from\":\"1643-297822-461826@muclight.localhost\",\"affiliation\":\"member\"},{\"type\":\"message\",\"timestamp\":1643297822496,\"markable\":true,\"id\":\"fffc846d-3c75-44a7-910b-10c8ecc8e4d9\",\"from\":\"bob_markable_property_is_archived_in_room_2173@localhost\",\"body\":\"Floor is lava!\"}]">>,
         550,2575}
Params: #{body => <<>>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_2173@localhost">>,
               <<"matygrysa">>},
          method => <<"GET">>,
          path => <<"/api/rooms/1643-297822-461826/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-01-27 15:37:02.520 ***
bOb_markable_property_is_archived_in_room_2173@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:37:02.521 ***
bOb_markable_property_is_archived_in_room_2173@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:37:02.521 ***
alicE_markable_property_is_archived_in_room_2173@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:37:02.521 ***
alicE_markable_property_is_archived_in_room_2173@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:37:02.523 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2385.html
*** CT 2022-01-27 15:37:02.524 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5813.html



=== Ended at 2022-01-27 15:37:02
=== successfully completed test case
=== === Returned value: ok


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