=== Test case: graphql_muc_light_SUITE:admin_send_message_to_room_errors/1 (click for source code)

=== Config value:

    [{muc_light_host,<<"muclight.localhost">>},
     {secondary_muc_light_host,<<"muclight.localhost.bis">>},
     {watchdog,<0.23952.0>},
     {protocol,cli},
     {schema_endpoint,admin},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_muc_light_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.graphql_muc_light_SUITE.logs/run.2023-11-17_15.13.49/graphql_muc_light_suite.admin_send_message_to_room_errors.40195.html"},
     {tc_group_properties,[{name,admin_muc_light}]},
     {tc_group_path,[[{name,admin_cli}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_muc_light_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.graphql_muc_light_SUITE.logs/run.2023-11-17_15.13.49/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => cets,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}},
     {{saved_modules,mongooseim@localhost,<<"localhost.bis">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => cets,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => cets,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15"

=== Started at 2023-11-17 15:14:01


*** CT 2023-11-17 15:14:01.435 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1722.html

*** User 2023-11-17 15:14:01.439 ***🔗
alicE_admin_send_message_to_room_errors_1073@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:14:01.440 ***🔗
alicE_admin_send_message_to_room_errors_1073@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4cd9eb7f96372084' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:14:01.440 ***🔗
alicE_admin_send_message_to_room_errors_1073@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:14:01.440 ***🔗
alicE_admin_send_message_to_room_errors_1073@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkbWluX3NlbmRfbWVzc2FnZV90b19yb29tX2Vycm9yc18xMDczAG1hdHlncnlzYQ==</auth>



*** User 2023-11-17 15:14:01.441 ***🔗
alicE_admin_send_message_to_room_errors_1073@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:14:01.441 ***🔗
alicE_admin_send_message_to_room_errors_1073@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:14:01.441 ***🔗
alicE_admin_send_message_to_room_errors_1073@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='873a7f16e88a1870' from='localhost' version='1.0' xml:lang='en' to='alice_admin_send_message_to_room_errors_1073@localhost'>

*** User 2023-11-17 15:14:01.441 ***🔗
alicE_admin_send_message_to_room_errors_1073@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:14:01.441 ***🔗
alicE_admin_send_message_to_room_errors_1073@localhost/res1 out
<iq type='set' id='195ed0dcd7e1ceb0e5b5fc1851bfdc6d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:14:01.442 ***🔗
alicE_admin_send_message_to_room_errors_1073@localhost/res1 in
<iq id='195ed0dcd7e1ceb0e5b5fc1851bfdc6d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_admin_send_message_to_room_errors_1073@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:14:01.442 ***🔗
alice_admin_send_message_to_room_errors_1073@localhost/res1 out
<iq type='set' id='5c1a93e6da174f062a9ea82cd9b35916'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:14:01.442 ***🔗
alice_admin_send_message_to_room_errors_1073@localhost/res1 in
<iq from='localhost' to='alice_admin_send_message_to_room_errors_1073@localhost/res1' id='5c1a93e6da174f062a9ea82cd9b35916' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:14:01.443 ***🔗
alice_admin_send_message_to_room_errors_1073@localhost/res1 out
<presence/>



*** User 2023-11-17 15:14:01.444 ***🔗
alice_admin_send_message_to_room_errors_1073@localhost/res1 in
<presence from='alice_admin_send_message_to_room_errors_1073@localhost/res1' to='alice_admin_send_message_to_room_errors_1073@localhost/res1'/>



*** User 2023-11-17 15:14:01.444 ***🔗
bOb_admin_send_message_to_room_errors_1073@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:14:01.445 ***🔗
bOb_admin_send_message_to_room_errors_1073@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='33129805dbc79f52' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:14:01.445 ***🔗
bOb_admin_send_message_to_room_errors_1073@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:14:01.445 ***🔗
bOb_admin_send_message_to_room_errors_1073@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZG1pbl9zZW5kX21lc3NhZ2VfdG9fcm9vbV9lcnJvcnNfMTA3MwBtYWtyb2xpa2E=</auth>



*** User 2023-11-17 15:14:01.446 ***🔗
bOb_admin_send_message_to_room_errors_1073@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:14:01.446 ***🔗
bOb_admin_send_message_to_room_errors_1073@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:14:01.446 ***🔗
bOb_admin_send_message_to_room_errors_1073@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ca78ed93a5eac4b9' from='localhost' version='1.0' xml:lang='en' to='bob_admin_send_message_to_room_errors_1073@localhost'>

*** User 2023-11-17 15:14:01.446 ***🔗
bOb_admin_send_message_to_room_errors_1073@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:14:01.446 ***🔗
bOb_admin_send_message_to_room_errors_1073@localhost/res1 out
<iq type='set' id='9f20f4f0d2a76f6366dba9449d4dd061'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:14:01.446 ***🔗
bOb_admin_send_message_to_room_errors_1073@localhost/res1 in
<iq id='9f20f4f0d2a76f6366dba9449d4dd061' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_admin_send_message_to_room_errors_1073@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:14:01.446 ***🔗
bob_admin_send_message_to_room_errors_1073@localhost/res1 out
<iq type='set' id='b6c90e782a107fdda16e575f7f6f2e10'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:14:01.447 ***🔗
bob_admin_send_message_to_room_errors_1073@localhost/res1 in
<iq from='localhost' to='bob_admin_send_message_to_room_errors_1073@localhost/res1' id='b6c90e782a107fdda16e575f7f6f2e10' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:14:01.447 ***🔗
bob_admin_send_message_to_room_errors_1073@localhost/res1 out
<presence/>



*** User 2023-11-17 15:14:01.448 ***🔗
bob_admin_send_message_to_room_errors_1073@localhost/res1 in
<presence from='bob_admin_send_message_to_room_errors_1073@localhost/res1' to='bob_admin_send_message_to_room_errors_1073@localhost/res1'/>



*** User 2023-11-17 15:14:01.704 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  muc_light sendMessageToRoom --body Hello there! --from alice_admin_send_message_to_room_errors_1073@localhost --room 1700-234041-448901@not-existing-domain
Result "{\n  \"errors\" : [\n    {\n      \"path\" : [\n        \"muc_light\",\n        \"sendMessageToRoom\"\n      ],\n      \"message\" : \"MUC Light server not found\",\n      \"extensions\" : {\n        \"room\" : \"1700-234041-448901@not-existing-domain\",\n        \"from\" : \"alice_admin_send_message_to_room_errors_1073@localhost\",\n        \"code\" : \"muc_server_not_found\"\n      }\n    }\n  ],\n  \"data\" : {\n    \"muc_light\" : {\n      \"sendMessageToRoom\" : null\n    }\n  }\n}\n"
ExitStatus 1

*** User 2023-11-17 15:14:01.704 ***🔗
ResultString:
{
  "errors" : [
    {
      "path" : [
        "muc_light",
        "sendMessageToRoom"
      ],
      "message" : "MUC Light server not found",
      "extensions" : {
        "room" : "1700-234041-448901@not-existing-domain",
        "from" : "alice_admin_send_message_to_room_errors_1073@localhost",
        "code" : "muc_server_not_found"
      }
    }
  ],
  "data" : {
    "muc_light" : {
      "sendMessageToRoom" : null
    }
  }
}


*** User 2023-11-17 15:14:01.975 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  muc_light sendMessageToRoom --body Hello there! --from bob_admin_send_message_to_room_errors_1073@localhost --room 1700-234041-448901@muclight.localhost
Result "{\n  \"errors\" : [\n    {\n      \"path\" : [\n        \"muc_light\",\n        \"sendMessageToRoom\"\n      ],\n      \"message\" : \"Given user does not occupy this room\",\n      \"extensions\" : {\n        \"room\" : \"1700-234041-448901@muclight.localhost\",\n        \"from\" : \"bob_admin_send_message_to_room_errors_1073@localhost\",\n        \"code\" : \"not_room_member\"\n      }\n    }\n  ],\n  \"data\" : {\n    \"muc_light\" : {\n      \"sendMessageToRoom\" : null\n    }\n  }\n}\n"
ExitStatus 1

*** User 2023-11-17 15:14:01.975 ***🔗
ResultString:
{
  "errors" : [
    {
      "path" : [
        "muc_light",
        "sendMessageToRoom"
      ],
      "message" : "Given user does not occupy this room",
      "extensions" : {
        "room" : "1700-234041-448901@muclight.localhost",
        "from" : "bob_admin_send_message_to_room_errors_1073@localhost",
        "code" : "not_room_member"
      }
    }
  ],
  "data" : {
    "muc_light" : {
      "sendMessageToRoom" : null
    }
  }
}


*** User 2023-11-17 15:14:02.237 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  muc_light sendMessageToRoom --body Hello there! --from bob_admin_send_message_to_room_errors_1073@localhost --room 1700-234041-448901@muclight.localhost
Result "{\n  \"errors\" : [\n    {\n      \"path\" : [\n        \"muc_light\",\n        \"sendMessageToRoom\"\n      ],\n      \"message\" : \"Given user does not occupy this room\",\n      \"extensions\" : {\n        \"room\" : \"1700-234041-448901@muclight.localhost\",\n        \"from\" : \"bob_admin_send_message_to_room_errors_1073@localhost\",\n        \"code\" : \"not_room_member\"\n      }\n    }\n  ],\n  \"data\" : {\n    \"muc_light\" : {\n      \"sendMessageToRoom\" : null\n    }\n  }\n}\n"
ExitStatus 1

*** User 2023-11-17 15:14:02.237 ***🔗
ResultString:
{
  "errors" : [
    {
      "path" : [
        "muc_light",
        "sendMessageToRoom"
      ],
      "message" : "Given user does not occupy this room",
      "extensions" : {
        "room" : "1700-234041-448901@muclight.localhost",
        "from" : "bob_admin_send_message_to_room_errors_1073@localhost",
        "code" : "not_room_member"
      }
    }
  ],
  "data" : {
    "muc_light" : {
      "sendMessageToRoom" : null
    }
  }
}


*** User 2023-11-17 15:14:02.237 ***🔗
bob_admin_send_message_to_room_errors_1073@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:14:02.238 ***🔗
bob_admin_send_message_to_room_errors_1073@localhost/res1 in
</stream:stream>

*** User 2023-11-17 15:14:02.238 ***🔗
alice_admin_send_message_to_room_errors_1073@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:14:02.239 ***🔗
alice_admin_send_message_to_room_errors_1073@localhost/res1 in
</stream:stream>
*** CT 2023-11-17 15:14:02.241 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1722.html



=== Ended at 2023-11-17 15:14:02
=== successfully completed test case
=== === Returned value: ok


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