=== Test case: graphql_muc_SUITE:admin_make_user_enter_room_with_password/1 (click for source code)

=== Config value:

    [{protocol,http},
     {domain_admin,{<<"admin@localhost">>,<<"70a3cbfc167fb8d4">>}},
     {schema_endpoint,domain_admin},
     {watchdog,<0.22361.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"odbc_mssql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_muc_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@38467046e2a2.2024-03-11_11.25.28/big_tests.tests.graphql_muc_SUITE.logs/run.2024-03-11_11.29.31/graphql_muc_suite.admin_make_user_enter_room_with_password.53506.html"},
     {tc_group_properties,[{name,domain_admin_muc}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_muc_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@38467046e2a2.2024-03-11_11.25.28/big_tests.tests.graphql_muc_SUITE.logs/run.2024-03-11_11.29.31/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,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_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              backend => mnesia,buffer_max => 100,ack_freq => 1,
              resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false}}},
     {{saved_modules,mongooseim@localhost,<<"localhost.bis">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,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_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              backend => mnesia,buffer_max => 100,ack_freq => 1,
              resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@38467046e2a2.2024-03-11_11.25.28"

=== Started at 2024-03-11 11:30:07


*** CT 2024-03-11 11:30:07.339 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1745.html

*** User 2024-03-11 11:30:07.348 ***🔗
alicE_admin_make_user_enter_room_with_password_1003@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:30:07.348 ***🔗
alicE_admin_make_user_enter_room_with_password_1003@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ccfcf60d5d1d8d76' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:30:07.349 ***🔗
alicE_admin_make_user_enter_room_with_password_1003@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 2024-03-11 11:30:07.349 ***🔗
alicE_admin_make_user_enter_room_with_password_1003@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkbWluX21ha2VfdXNlcl9lbnRlcl9yb29tX3dpdGhfcGFzc3dvcmRfMTAwMwBtYXR5Z3J5c2E=</auth>



*** User 2024-03-11 11:30:07.350 ***🔗
alicE_admin_make_user_enter_room_with_password_1003@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:30:07.350 ***🔗
alicE_admin_make_user_enter_room_with_password_1003@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:30:07.351 ***🔗
alicE_admin_make_user_enter_room_with_password_1003@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a7de3f1cb91a7a8' from='localhost' version='1.0' xml:lang='en' to='alice_admin_make_user_enter_room_with_password_1003@localhost'>

*** User 2024-03-11 11:30:07.351 ***🔗
alicE_admin_make_user_enter_room_with_password_1003@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 2024-03-11 11:30:07.351 ***🔗
alicE_admin_make_user_enter_room_with_password_1003@localhost/res1 out
<iq type='set' id='38a3ae882f5d1599691795377fa4d70b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:30:07.351 ***🔗
alicE_admin_make_user_enter_room_with_password_1003@localhost/res1 in
<iq id='38a3ae882f5d1599691795377fa4d70b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_admin_make_user_enter_room_with_password_1003@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:30:07.351 ***🔗
alice_admin_make_user_enter_room_with_password_1003@localhost/res1 out
<iq type='set' id='6252972b89a4a4be8fd6d1cd51494981'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:30:07.352 ***🔗
alice_admin_make_user_enter_room_with_password_1003@localhost/res1 in
<iq from='localhost' to='alice_admin_make_user_enter_room_with_password_1003@localhost/res1' id='6252972b89a4a4be8fd6d1cd51494981' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:30:07.352 ***🔗
alice_admin_make_user_enter_room_with_password_1003@localhost/res1 out
<presence/>



*** User 2024-03-11 11:30:07.353 ***🔗
alice_admin_make_user_enter_room_with_password_1003@localhost/res1 in
<presence from='alice_admin_make_user_enter_room_with_password_1003@localhost/res1' to='alice_admin_make_user_enter_room_with_password_1003@localhost/res1'/>



*** User 2024-03-11 11:30:07.354 ***🔗
bOb_admin_make_user_enter_room_with_password_1003@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:30:07.354 ***🔗
bOb_admin_make_user_enter_room_with_password_1003@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5645f16714c513f6' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:30:07.354 ***🔗
bOb_admin_make_user_enter_room_with_password_1003@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 2024-03-11 11:30:07.354 ***🔗
bOb_admin_make_user_enter_room_with_password_1003@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZG1pbl9tYWtlX3VzZXJfZW50ZXJfcm9vbV93aXRoX3Bhc3N3b3JkXzEwMDMAbWFrcm9saWth</auth>



*** User 2024-03-11 11:30:07.356 ***🔗
bOb_admin_make_user_enter_room_with_password_1003@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:30:07.356 ***🔗
bOb_admin_make_user_enter_room_with_password_1003@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:30:07.356 ***🔗
bOb_admin_make_user_enter_room_with_password_1003@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e6ab327b79ac197c' from='localhost' version='1.0' xml:lang='en' to='bob_admin_make_user_enter_room_with_password_1003@localhost'>

*** User 2024-03-11 11:30:07.356 ***🔗
bOb_admin_make_user_enter_room_with_password_1003@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 2024-03-11 11:30:07.356 ***🔗
bOb_admin_make_user_enter_room_with_password_1003@localhost/res1 out
<iq type='set' id='55b3435e5bc77250eeffe6e8d8b02665'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:30:07.356 ***🔗
bOb_admin_make_user_enter_room_with_password_1003@localhost/res1 in
<iq id='55b3435e5bc77250eeffe6e8d8b02665' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_admin_make_user_enter_room_with_password_1003@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:30:07.357 ***🔗
bob_admin_make_user_enter_room_with_password_1003@localhost/res1 out
<iq type='set' id='aecd1410d8ba33e11d9f99bc9ff7def7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:30:07.357 ***🔗
bob_admin_make_user_enter_room_with_password_1003@localhost/res1 in
<iq from='localhost' to='bob_admin_make_user_enter_room_with_password_1003@localhost/res1' id='aecd1410d8ba33e11d9f99bc9ff7def7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:30:07.357 ***🔗
bob_admin_make_user_enter_room_with_password_1003@localhost/res1 out
<presence/>



*** User 2024-03-11 11:30:07.359 ***🔗
bob_admin_make_user_enter_room_with_password_1003@localhost/res1 in
<presence from='bob_admin_make_user_enter_room_with_password_1003@localhost/res1' to='bob_admin_make_user_enter_room_with_password_1003@localhost/res1'/>



*** User 2024-03-11 11:30:07.368 ***🔗
REST request:
Code: 200
Req: {<0.22863.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d4d0ec0b69e7f7fa">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AbG9jYWxob3N0OjcwYTNjYmZjMTY3ZmI4ZDQ=">>}],
      <<"{\"variables\":{\"nick\":\"ali\",\"room\":\"room-alice_admin_make_user_enter_room_with_password_1003@muc.localhost\",\"password\":\"pa5sw0rd\",\"user\":\"alice_admin_make_user_enter_room_with_password_1003@localhost/res1\"},\"query\":\"mutation ($nick: ResourceName!, $password: String, $room: BareJID!, $user: FullJID!) { muc { enterRoom(nick: $nick, password: $password, room: $room, user: $user) } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:30:07 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"72">>}],
         <<"{\"data\":{\"muc\":{\"enterRoom\":\"Entering room message sent successfully\"}}}">>,
         210,8170}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"variables\":{\"nick\":\"ali\",\"room\":\"room-alice_admin_make_user_enter_room_with_password_1003@muc.localhost\",\"password\":\"pa5sw0rd\",\"user\":\"alice_admin_make_user_enter_room_with_password_1003@localhost/res1\"},\"query\":\"mutation ($nick: ResourceName!, $password: String, $room: BareJID!, $user: FullJID!) { muc { enterRoom(nick: $nick, password: $password, room: $room, user: $user) } }\"}">>,
          creds => {<<"admin@localhost">>,<<"70a3cbfc167fb8d4">>},
          role => {graphql,domain_admin},
          method => <<"POST">>,return_maps => true,return_headers => true}


*** User 2024-03-11 11:30:07.378 ***🔗
REST request:
Code: 200
Req: {<0.22865.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"585b2a0cbf60c821">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AbG9jYWxob3N0OjcwYTNjYmZjMTY3ZmI4ZDQ=">>}],
      <<"{\"variables\":{\"nick\":\"Bobek\",\"room\":\"room-alice_admin_make_user_enter_room_with_password_1003@muc.localhost\",\"password\":null,\"user\":\"bob_admin_make_user_enter_room_with_password_1003@localhost/res1\"},\"query\":\"mutation ($nick: ResourceName!, $password: String, $room: BareJID!, $user: FullJID!) { muc { enterRoom(nick: $nick, password: $password, room: $room, user: $user) } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:30:07 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"72">>}],
         <<"{\"data\":{\"muc\":{\"enterRoom\":\"Entering room message sent successfully\"}}}">>,
         210,7683}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"variables\":{\"nick\":\"Bobek\",\"room\":\"room-alice_admin_make_user_enter_room_with_password_1003@muc.localhost\",\"password\":null,\"user\":\"bob_admin_make_user_enter_room_with_password_1003@localhost/res1\"},\"query\":\"mutation ($nick: ResourceName!, $password: String, $room: BareJID!, $user: FullJID!) { muc { enterRoom(nick: $nick, password: $password, room: $room, user: $user) } }\"}">>,
          creds => {<<"admin@localhost">>,<<"70a3cbfc167fb8d4">>},
          role => {graphql,domain_admin},
          method => <<"POST">>,return_maps => true,return_headers => true}


*** User 2024-03-11 11:30:07.388 ***🔗
REST request:
Code: 200
Req: {<0.22867.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"64fd71d222657a78">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AbG9jYWxob3N0OjcwYTNjYmZjMTY3ZmI4ZDQ=">>}],
      <<"{\"variables\":{\"nick\":\"Bobek\",\"room\":\"room-alice_admin_make_user_enter_room_with_password_1003@muc.localhost\",\"password\":\"pa5sw0rd\",\"user\":\"bob_admin_make_user_enter_room_with_password_1003@localhost/res1\"},\"query\":\"mutation ($nick: ResourceName!, $password: String, $room: BareJID!, $user: FullJID!) { muc { enterRoom(nick: $nick, password: $password, room: $room, user: $user) } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:30:07 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"72">>}],
         <<"{\"data\":{\"muc\":{\"enterRoom\":\"Entering room message sent successfully\"}}}">>,
         210,7968}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          body =>
              <<"{\"variables\":{\"nick\":\"Bobek\",\"room\":\"room-alice_admin_make_user_enter_room_with_password_1003@muc.localhost\",\"password\":\"pa5sw0rd\",\"user\":\"bob_admin_make_user_enter_room_with_password_1003@localhost/res1\"},\"query\":\"mutation ($nick: ResourceName!, $password: String, $room: BareJID!, $user: FullJID!) { muc { enterRoom(nick: $nick, password: $password, room: $room, user: $user) } }\"}">>,
          creds => {<<"admin@localhost">>,<<"70a3cbfc167fb8d4">>},
          role => {graphql,domain_admin},
          method => <<"POST">>,return_maps => true,return_headers => true}


*** User 2024-03-11 11:30:07.390 ***🔗
bob_admin_make_user_enter_room_with_password_1003@localhost/res1 out
</stream:stream>

*** User 2024-03-11 11:30:07.390 ***🔗
bob_admin_make_user_enter_room_with_password_1003@localhost/res1 in
</stream:stream>

*** User 2024-03-11 11:30:07.390 ***🔗
alice_admin_make_user_enter_room_with_password_1003@localhost/res1 out
</stream:stream>

*** User 2024-03-11 11:30:07.390 ***🔗
alice_admin_make_user_enter_room_with_password_1003@localhost/res1 in
</stream:stream>
Could not find element wait_for_parallel_writer in Config.


*** User 2024-03-11 11:30:07.396 ***🔗
waiting for room_archive_size is done in 0 miliseconds
*** CT 2024-03-11 11:30:07.399 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1745.html



=== Ended at 2024-03-11 11:30:07
=== successfully completed test case
=== === Returned value: ok


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