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

=== Config value:

    [{watchdog,<0.28162.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,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.rest_client_SUITE.logs/run.2022-03-04_11.25.13/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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.rest_client_SUITE.logs/run.2022-03-04_11.25.13/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@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:25:15


*** CT 2022-03-04 11:25:15.163 *** View log from node mongooseim@localhost when started mongooseim@localhost_2525.html
*** CT 2022-03-04 11:25:15.164 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_646.html

*** User 2022-03-04 11:25:15.170 ***
alicE_markable_property_is_archived_in_room_1818@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-03-04 11:25:15.170 ***
alicE_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3394ff1019fc0149' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:15.170 ***
alicE_markable_property_is_archived_in_room_1818@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-03-04 11:25:15.170 ***
alicE_markable_property_is_archived_in_room_1818@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21hcmthYmxlX3Byb3BlcnR5X2lzX2FyY2hpdmVkX2luX3Jvb21fMTgxOABtYXR5Z3J5c2E=</auth>



*** User 2022-03-04 11:25:15.171 ***
alicE_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:25:15.171 ***
alicE_markable_property_is_archived_in_room_1818@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-03-04 11:25:15.171 ***
alicE_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='74fbad37a54fc869' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:15.171 ***
alicE_markable_property_is_archived_in_room_1818@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-03-04 11:25:15.171 ***
alicE_markable_property_is_archived_in_room_1818@domain.example.com/res1 out
<iq type='set' id='9c7f3fe122856cb4628ccf9d6455d8a6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:25:15.171 ***
alicE_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
<iq id='9c7f3fe122856cb4628ccf9d6455d8a6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_markable_property_is_archived_in_room_1818@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:25:15.171 ***
alicE_markable_property_is_archived_in_room_1818@domain.example.com/res1 out
<iq type='set' id='1ab140ab7dbfaf22c0e0301ce1b7c90e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:15.171 ***
alicE_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
<iq type='result' id='1ab140ab7dbfaf22c0e0301ce1b7c90e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:15.172 ***
alicE_markable_property_is_archived_in_room_1818@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:25:15.174 ***
alicE_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
<presence from='alicE_markable_property_is_archived_in_room_1818@domain.example.com/res1' to='alice_markable_property_is_archived_in_room_1818@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:25:15.175 ***
bOb_markable_property_is_archived_in_room_1818@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-03-04 11:25:15.175 ***
bOb_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9d52272b121a01e1' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:15.175 ***
bOb_markable_property_is_archived_in_room_1818@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-03-04 11:25:15.175 ***
bOb_markable_property_is_archived_in_room_1818@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tYXJrYWJsZV9wcm9wZXJ0eV9pc19hcmNoaXZlZF9pbl9yb29tXzE4MTgAbWFrcm9saWth</auth>



*** User 2022-03-04 11:25:15.176 ***
bOb_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:25:15.176 ***
bOb_markable_property_is_archived_in_room_1818@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-03-04 11:25:15.176 ***
bOb_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7b404b91d09c8468' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:15.176 ***
bOb_markable_property_is_archived_in_room_1818@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-03-04 11:25:15.176 ***
bOb_markable_property_is_archived_in_room_1818@domain.example.com/res1 out
<iq type='set' id='fc6921cfe8ff3a2fd377adecdaed5584'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:25:15.176 ***
bOb_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
<iq id='fc6921cfe8ff3a2fd377adecdaed5584' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_markable_property_is_archived_in_room_1818@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:25:15.177 ***
bOb_markable_property_is_archived_in_room_1818@domain.example.com/res1 out
<iq type='set' id='68173bd0867e341cc1e5f2ddf2d94c5a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:15.177 ***
bOb_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
<iq type='result' id='68173bd0867e341cc1e5f2ddf2d94c5a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:15.177 ***
bOb_markable_property_is_archived_in_room_1818@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:25:15.178 ***
bOb_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
<presence from='bOb_markable_property_is_archived_in_room_1818@domain.example.com/res1' to='bob_markable_property_is_archived_in_room_1818@domain.example.com/res1' xml:lang='en'/>



*** System report during rest_client_SUITE:markable_property_is_archived_in_room/1 in muc 2022-03-04 11:25:15.179 ***
=WARNING REPORT==== 4-Mar-2022::11:25:15.179645 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-03-04 11:25:15.186 ***
REST request:
Code: 200
Req: {<0.28686.1>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b597cb7301ff88cf">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8xODE4QGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:25:14 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1646-393115-186591\"}">>,151,1267}
Params: #{body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_1818@domain.example.com">>,
               <<"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-03-04 11:25:15.187 ***
=WARNING REPORT==== 4-Mar-2022::11:25:15.187901 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-03-04 11:25:15.201 ***
REST request:
Code: 204
Req: {<0.28691.1>,<<"/api/rooms/1646-393115-186591/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"32936c571b03940f">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8xODE4QGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}],
      <<"{\"user\":\"bob_markable_property_is_archived_in_room_1818@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:25:14 GMT">>}],
         <<>>,80,8046}
Params: #{body =>
              <<"{\"user\":\"bob_markable_property_is_archived_in_room_1818@domain.example.com\"}">>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_1818@domain.example.com">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1646-393115-186591/users">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-04 11:25:15.202 ***
bOb_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
<message from='1646-393115-186591@muclight2.domain.example.com' to='bob_markable_property_is_archived_in_room_1818@domain.example.com' id='eb6e63c1-8a7d-413a-83d4-4f6cc2ef4f94' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1646-393115-195451</version>
		<user affiliation='member'>bob_markable_property_is_archived_in_room_1818@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2022-03-04 11:25:15.202 ***
alicE_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
<message from='1646-393115-186591@muclight2.domain.example.com' to='alice_markable_property_is_archived_in_room_1818@domain.example.com' id='eb6e63c1-8a7d-413a-83d4-4f6cc2ef4f94' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1646-393115-186561</prev-version>
		<version>1646-393115-195451</version>
		<user affiliation='member'>bob_markable_property_is_archived_in_room_1818@domain.example.com</user>
	</x>
	<body/>
	<stanza-id by='1646-393115-186591@muclight2.domain.example.com' id='BMB2OJ5BBVO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:markable_property_is_archived_in_room/1 in muc 2022-03-04 11:25:15.203 ***
=WARNING REPORT==== 4-Mar-2022::11:25:15.203083 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-03-04 11:25:15.215 ***
REST request:
Code: 200
Req: {<0.28696.1>,<<"/api/rooms/1646-393115-186591/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f475854e2be2ad01">>},
       {<<"authorization">>,
        <<"Basic Ym9iX21hcmthYmxlX3Byb3BlcnR5X2lzX2FyY2hpdmVkX2luX3Jvb21fMTgxOEBkb21haW4uZXhhbXBsZS5jb206bWFrcm9saWth">>}],
      <<"{\"markable\":true,\"body\":\"Floor is lava!\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:25:14 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"50fb9b57-4fb0-4f2f-8ddd-e2501f9f051f\"}">>,169,7083}
Params: #{body => <<"{\"markable\":true,\"body\":\"Floor is lava!\"}">>,
          creds =>
              {<<"bob_markable_property_is_archived_in_room_1818@domain.example.com">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1646-393115-186591/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}

Could not find element wait_for_parallel_writer in Config.


*** User 2022-03-04 11:25:15.216 ***
alicE_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
<message from='1646-393115-186591@muclight2.domain.example.com/bob_markable_property_is_archived_in_room_1818@domain.example.com' to='alice_markable_property_is_archived_in_room_1818@domain.example.com' id='50fb9b57-4fb0-4f2f-8ddd-e2501f9f051f' type='groupchat'>
	<body>Floor is lava!</body>
	<markable xmlns='urn:xmpp:chat-markers:0'/>
	<stanza-id by='1646-393115-186591@muclight2.domain.example.com' id='BMB2OJ5F0L01' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element archive_wait in Config.


*** User 2022-03-04 11:25:15.216 ***
bOb_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
<message from='1646-393115-186591@muclight2.domain.example.com/bob_markable_property_is_archived_in_room_1818@domain.example.com' to='bob_markable_property_is_archived_in_room_1818@domain.example.com' id='50fb9b57-4fb0-4f2f-8ddd-e2501f9f051f' type='groupchat'>
	<body>Floor is lava!</body>
	<markable xmlns='urn:xmpp:chat-markers:0'/>
	<stanza-id by='1646-393115-186591@muclight2.domain.example.com' id='BMB2OJ5F0L01' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:markable_property_is_archived_in_room/1 in muc 2022-03-04 11:25:15.217 ***
=WARNING REPORT==== 4-Mar-2022::11:25:15.217282 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-03-04 11:25:15.225 ***
REST request:
Code: 200
Req: {<0.28701.1>,<<"/api/rooms/1646-393115-186591/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a33fcb7d71f8ac1e">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8xODE4QGRvbWFpbi5leGFtcGxlLmNvbTptYXR5Z3J5c2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:25:14 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"453">>}],
         <<"[{\"user\":\"bob_markable_property_is_archived_in_room_1818@domain.example.com\",\"type\":\"affiliation\",\"timestamp\":1646393115194,\"id\":\"eb6e63c1-8a7d-413a-83d4-4f6cc2ef4f94\",\"from\":\"1646-393115-186591@muclight2.domain.example.com\",\"affiliation\":\"member\"},{\"type\":\"message\",\"timestamp\":1646393115209,\"markable\":true,\"id\":\"50fb9b57-4fb0-4f2f-8ddd-e2501f9f051f\",\"from\":\"bob_markable_property_is_archived_in_room_1818@domain.example.com\",\"body\":\"Floor is lava!\"}]">>,
         578,2186}
Params: #{body => <<>>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_1818@domain.example.com">>,
               <<"matygrysa">>},
          method => <<"GET">>,
          path => <<"/api/rooms/1646-393115-186591/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-04 11:25:15.225 ***
bOb_markable_property_is_archived_in_room_1818@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:25:15.225 ***
bOb_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:25:15.225 ***
alicE_markable_property_is_archived_in_room_1818@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:25:15.225 ***
alicE_markable_property_is_archived_in_room_1818@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:25:15.228 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_646.html
*** CT 2022-03-04 11:25:15.228 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2525.html



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


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