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

=== Config value:

    [{watchdog,<0.22990.1>},
     {muc_light_host,<<"muclight.localhost">>},
     {mam_backend,riak},
     {archive_wait,2500},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.rest_client_SUITE.logs/run.2022-05-25_10.51.25/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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.rest_client_SUITE.logs/run.2022-05-25_10.51.25/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_commands => #{},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              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"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => riak,iqdisc => one_queue,
              riak =>
                  #{bucket_type => <<"rosters">>,
                    version_bucket_type => <<"roster_versions">>},
              store_current_id => false,versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => riak,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,
              riak =>
                  #{bucket_type => <<"vcard">>,search_index => <<"vcard">>},
              search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09"

=== Started at 2022-05-25 10:51:35


*** CT 2022-05-25 10:51:35.364 *** View log from node mongooseim@localhost when started mongooseim@localhost_5313.html
*** CT 2022-05-25 10:51:35.364 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1997.html

*** User 2022-05-25 10:51:35.374 ***
alicE_markable_property_is_archived_in_room_1578@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-05-25 10:51:35.374 ***
alicE_markable_property_is_archived_in_room_1578@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='92eb7b0c17be2dd2' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:51:35.374 ***
alicE_markable_property_is_archived_in_room_1578@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-05-25 10:51:35.374 ***
alicE_markable_property_is_archived_in_room_1578@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21hcmthYmxlX3Byb3BlcnR5X2lzX2FyY2hpdmVkX2luX3Jvb21fMTU3OABtYXR5Z3J5c2E=</auth>



*** User 2022-05-25 10:51:35.376 ***
alicE_markable_property_is_archived_in_room_1578@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:51:35.376 ***
alicE_markable_property_is_archived_in_room_1578@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-05-25 10:51:35.377 ***
alicE_markable_property_is_archived_in_room_1578@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='231084a798d54068' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:51:35.377 ***
alicE_markable_property_is_archived_in_room_1578@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-05-25 10:51:35.377 ***
alicE_markable_property_is_archived_in_room_1578@localhost/res1 out
<iq type='set' id='05eab77a8c8948901c3b4bedaece1763'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:51:35.377 ***
alicE_markable_property_is_archived_in_room_1578@localhost/res1 in
<iq id='05eab77a8c8948901c3b4bedaece1763' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_markable_property_is_archived_in_room_1578@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:51:35.377 ***
alice_markable_property_is_archived_in_room_1578@localhost/res1 out
<iq type='set' id='b8aa617784eaf010e7a4b70b1c5bc2c3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:51:35.378 ***
alice_markable_property_is_archived_in_room_1578@localhost/res1 in
<iq type='result' id='b8aa617784eaf010e7a4b70b1c5bc2c3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:51:35.378 ***
alice_markable_property_is_archived_in_room_1578@localhost/res1 out
<presence/>



*** User 2022-05-25 10:51:35.382 ***
alice_markable_property_is_archived_in_room_1578@localhost/res1 in
<presence from='alice_markable_property_is_archived_in_room_1578@localhost/res1' to='alice_markable_property_is_archived_in_room_1578@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:51:35.382 ***
bOb_markable_property_is_archived_in_room_1578@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-05-25 10:51:35.382 ***
bOb_markable_property_is_archived_in_room_1578@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d73a48bd596d0832' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:51:35.383 ***
bOb_markable_property_is_archived_in_room_1578@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-05-25 10:51:35.383 ***
bOb_markable_property_is_archived_in_room_1578@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tYXJrYWJsZV9wcm9wZXJ0eV9pc19hcmNoaXZlZF9pbl9yb29tXzE1NzgAbWFrcm9saWth</auth>



*** User 2022-05-25 10:51:35.384 ***
bOb_markable_property_is_archived_in_room_1578@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:51:35.384 ***
bOb_markable_property_is_archived_in_room_1578@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-05-25 10:51:35.385 ***
bOb_markable_property_is_archived_in_room_1578@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3867d4d7af2d0612' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:51:35.385 ***
bOb_markable_property_is_archived_in_room_1578@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-05-25 10:51:35.385 ***
bOb_markable_property_is_archived_in_room_1578@localhost/res1 out
<iq type='set' id='48bdc6cb0052140e264ba0123b33396a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:51:35.385 ***
bOb_markable_property_is_archived_in_room_1578@localhost/res1 in
<iq id='48bdc6cb0052140e264ba0123b33396a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_markable_property_is_archived_in_room_1578@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:51:35.385 ***
bob_markable_property_is_archived_in_room_1578@localhost/res1 out
<iq type='set' id='6001097a975ecb6b1921750f6af75807'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:51:35.386 ***
bob_markable_property_is_archived_in_room_1578@localhost/res1 in
<iq type='result' id='6001097a975ecb6b1921750f6af75807'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:51:35.386 ***
bob_markable_property_is_archived_in_room_1578@localhost/res1 out
<presence/>



*** User 2022-05-25 10:51:35.389 ***
bob_markable_property_is_archived_in_room_1578@localhost/res1 in
<presence from='bob_markable_property_is_archived_in_room_1578@localhost/res1' to='bob_markable_property_is_archived_in_room_1578@localhost/res1' xml:lang='en'/>



*** System report during rest_client_SUITE:markable_property_is_archived_in_room/1 in muc 2022-05-25 10:51:35.390 ***
=WARNING REPORT==== 25-May-2022::10:51:35.390592 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-05-25 10:51:35.399 ***
REST request:
Code: 200
Req: {<0.23514.1>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"30dbaf80480d9167">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8xNTc4QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:51:34 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1653-475895-399450\"}">>,151,2781}
Params: #{body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_1578@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-05-25 10:51:35.401 ***
=WARNING REPORT==== 25-May-2022::10:51:35.401520 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-05-25 10:51:35.419 ***
REST request:
Code: 204
Req: {<0.23519.1>,<<"/api/rooms/1653-475895-399450/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"31c92ea7370f4965">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8xNTc4QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
      <<"{\"user\":\"bob_markable_property_is_archived_in_room_1578@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:51:34 GMT">>}],
         <<>>,80,9670}
Params: #{body =>
              <<"{\"user\":\"bob_markable_property_is_archived_in_room_1578@localhost\"}">>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_1578@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1653-475895-399450/users">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-25 10:51:35.419 ***
bob_markable_property_is_archived_in_room_1578@localhost/res1 in
<message from='1653-475895-399450@muclight.localhost' to='bob_markable_property_is_archived_in_room_1578@localhost' id='299bd388-17f0-416e-bb5f-cdc60ac0e5bc' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1653-475895-413404</version>
		<user affiliation='member'>bob_markable_property_is_archived_in_room_1578@localhost</user>
	</x>
	<body/>
</message>



*** User 2022-05-25 10:51:35.419 ***
alice_markable_property_is_archived_in_room_1578@localhost/res1 in
<message from='1653-475895-399450@muclight.localhost' to='alice_markable_property_is_archived_in_room_1578@localhost' id='299bd388-17f0-416e-bb5f-cdc60ac0e5bc' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<prev-version>1653-475895-399385</prev-version>
		<version>1653-475895-413404</version>
		<user affiliation='member'>bob_markable_property_is_archived_in_room_1578@localhost</user>
	</x>
	<body/>
	<stanza-id by='1653-475895-399450@muclight.localhost' id='BNUJRDI0B7O1' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:markable_property_is_archived_in_room/1 in muc 2022-05-25 10:51:35.420 ***
=WARNING REPORT==== 25-May-2022::10:51:35.420916 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-05-25 10:51:35.440 ***
REST request:
Code: 200
Req: {<0.23524.1>,<<"/api/rooms/1653-475895-399450/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"adcc4b2baa392d62">>},
       {<<"authorization">>,
        <<"Basic Ym9iX21hcmthYmxlX3Byb3BlcnR5X2lzX2FyY2hpdmVkX2luX3Jvb21fMTU3OEBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
      <<"{\"markable\":true,\"body\":\"Floor is lava!\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:51:34 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"a44e7905-4b0a-499c-85d8-d3d32096928b\"}">>,169,8867}
Params: #{body => <<"{\"markable\":true,\"body\":\"Floor is lava!\"}">>,
          creds =>
              {<<"bob_markable_property_is_archived_in_room_1578@localhost">>,
               <<"makrolika">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1653-475895-399450/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-25 10:51:35.440 ***
alice_markable_property_is_archived_in_room_1578@localhost/res1 in
<message from='1653-475895-399450@muclight.localhost/bob_markable_property_is_archived_in_room_1578@localhost' to='alice_markable_property_is_archived_in_room_1578@localhost' id='a44e7905-4b0a-499c-85d8-d3d32096928b' type='groupchat'>
	<body>Floor is lava!</body>
	<markable xmlns='urn:xmpp:chat-markers:0'/>
	<stanza-id by='1653-475895-399450@muclight.localhost' id='BNUJRDI5IP01' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element wait_for_parallel_writer in Config.


*** User 2022-05-25 10:51:35.440 ***
bob_markable_property_is_archived_in_room_1578@localhost/res1 in
<message from='1653-475895-399450@muclight.localhost/bob_markable_property_is_archived_in_room_1578@localhost' to='bob_markable_property_is_archived_in_room_1578@localhost' id='a44e7905-4b0a-499c-85d8-d3d32096928b' type='groupchat'>
	<body>Floor is lava!</body>
	<markable xmlns='urn:xmpp:chat-markers:0'/>
	<stanza-id by='1653-475895-399450@muclight.localhost' id='BNUJRDI5IP01' xmlns='urn:xmpp:sid:0'/>
</message>



*** System report during rest_client_SUITE:markable_property_is_archived_in_room/1 in muc 2022-05-25 10:51:37.942 ***
=WARNING REPORT==== 25-May-2022::10:51:37.942359 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-05-25 10:51:37.964 ***
REST request:
Code: 200
Req: {<0.23529.1>,<<"/api/rooms/1653-475895-399450/messages">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"76356a34bc31e4a2">>},
       {<<"authorization">>,
        <<"Basic YWxpY2VfbWFya2FibGVfcHJvcGVydHlfaXNfYXJjaGl2ZWRfaW5fcm9vbV8xNTc4QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:51:37 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"425">>}],
         <<"[{\"user\":\"bob_markable_property_is_archived_in_room_1578@localhost\",\"type\":\"affiliation\",\"timestamp\":1653475895412,\"id\":\"299bd388-17f0-416e-bb5f-cdc60ac0e5bc\",\"from\":\"1653-475895-399450@muclight.localhost\",\"affiliation\":\"member\"},{\"type\":\"message\",\"timestamp\":1653475895433,\"markable\":true,\"id\":\"a44e7905-4b0a-499c-85d8-d3d32096928b\",\"from\":\"bob_markable_property_is_archived_in_room_1578@localhost\",\"body\":\"Floor is lava!\"}]">>,
         550,14212}
Params: #{body => <<>>,
          creds =>
              {<<"alice_markable_property_is_archived_in_room_1578@localhost">>,
               <<"matygrysa">>},
          method => <<"GET">>,
          path => <<"/api/rooms/1653-475895-399450/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-25 10:51:37.965 ***
bob_markable_property_is_archived_in_room_1578@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:51:37.965 ***
bob_markable_property_is_archived_in_room_1578@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:51:37.965 ***
alice_markable_property_is_archived_in_room_1578@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:51:37.966 ***
alice_markable_property_is_archived_in_room_1578@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:51:37.968 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1997.html
*** CT 2022-05-25 10:51:37.969 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5313.html



=== Ended at 2022-05-25 10:51:37
=== successfully completed test case
=== === Returned value: ok


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