=== Test case: graphql_muc_light_SUITE:user_kick_user/1 (click for source code)
=== Config value:
[{schema_endpoint,user},
{watchdog,<0.15405.0>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,disabled},
{mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_muc_light_SUITE_data"},
{preset,"ldap_mnesia"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.graphql_muc_light_SUITE.logs/run.2022-03-03_10.31.45/graphql_muc_light_suite.user_kick_user.28290.html"},
{tc_group_properties,[{name,user_muc_light},parallel]},
{tc_group_path,[]},
{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@fdcb4a001941.2022-03-03_10.29.25/big_tests.tests.graphql_muc_light_SUITE.logs/run.2022-03-03_10.31.45/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 => [],mod_sic => [],mod_stream_management => [],
mod_vcard =>
[{backend,ldap},
{host,{prefix,<<"vjud.">>}},
{ldap_base,"ou=Users,dc=esl,dc=com"},
{ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fdcb4a001941.2022-03-03_10.29.25"
=== Started at 2022-03-03 10:31:45
*** User 2022-03-03 10:31:45.401 ***
alicE_user_kick_user_535@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-03-03 10:31:45.402 ***
alicE_user_kick_user_535@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bc1f71415da16f5d' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:31:45.402 ***
alicE_user_kick_user_535@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>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-03 10:31:45.402 ***
alicE_user_kick_user_535@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VzZXJfa2lja191c2VyXzUzNQBtYXR5Z3J5c2E=</auth>
*** User 2022-03-03 10:31:45.404 ***
alicE_user_kick_user_535@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:31:45.404 ***
alicE_user_kick_user_535@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-03-03 10:31:45.405 ***
alicE_user_kick_user_535@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d1dc5e750069918e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:31:45.405 ***
alicE_user_kick_user_535@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-03-03 10:31:45.405 ***
alicE_user_kick_user_535@localhost/res1 out
<iq type='set' id='2aade25e5dfc838881ce8c94ba598286'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:31:45.405 ***
alicE_user_kick_user_535@localhost/res1 in
<iq id='2aade25e5dfc838881ce8c94ba598286' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alicE_user_kick_user_535@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:31:45.405 ***
alicE_user_kick_user_535@localhost/res1 out
<iq type='set' id='0db17a073e9ab0a903dc30d473762e69'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:31:45.406 ***
alicE_user_kick_user_535@localhost/res1 in
<iq type='result' id='0db17a073e9ab0a903dc30d473762e69'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:31:45.406 ***
alicE_user_kick_user_535@localhost/res1 out
<presence/>
*** User 2022-03-03 10:31:45.407 ***
alicE_user_kick_user_535@localhost/res1 in
<presence from='alicE_user_kick_user_535@localhost/res1' to='alice_user_kick_user_535@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:31:45.408 ***
bOb_user_kick_user_535@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-03-03 10:31:45.409 ***
bOb_user_kick_user_535@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf284ba469a0fbf5' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:31:45.409 ***
bOb_user_kick_user_535@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>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-03 10:31:45.409 ***
bOb_user_kick_user_535@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91c2VyX2tpY2tfdXNlcl81MzUAbWFrcm9saWth</auth>
*** User 2022-03-03 10:31:45.411 ***
bOb_user_kick_user_535@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-03 10:31:45.411 ***
bOb_user_kick_user_535@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-03-03 10:31:45.411 ***
bOb_user_kick_user_535@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b355a27da0b2a479' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-03-03 10:31:45.411 ***
bOb_user_kick_user_535@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-03-03 10:31:45.412 ***
bOb_user_kick_user_535@localhost/res1 out
<iq type='set' id='ba0663422524763f40945a8fb15e1c60'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2022-03-03 10:31:45.412 ***
bOb_user_kick_user_535@localhost/res1 in
<iq id='ba0663422524763f40945a8fb15e1c60' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bOb_user_kick_user_535@localhost/res1</jid>
</bind>
</iq>
*** User 2022-03-03 10:31:45.413 ***
bOb_user_kick_user_535@localhost/res1 out
<iq type='set' id='1d35d08e164640293314cc1a9fc82c8b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:31:45.413 ***
bOb_user_kick_user_535@localhost/res1 in
<iq type='result' id='1d35d08e164640293314cc1a9fc82c8b'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2022-03-03 10:31:45.413 ***
bOb_user_kick_user_535@localhost/res1 out
<presence/>
*** User 2022-03-03 10:31:45.415 ***
bOb_user_kick_user_535@localhost/res1 in
<presence from='bOb_user_kick_user_535@localhost/res1' to='bob_user_kick_user_535@localhost/res1' xml:lang='en'/>
*** User 2022-03-03 10:31:45.422 ***
REST request:
Code: 200
Req: {<0.15638.0>,<<"/api/graphql">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3d13efdf946ed8ff">>},
{<<"authorization">>,
<<"Basic Ym9iX3VzZXJfa2lja191c2VyXzUzNUBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"variables\":{\"user\":null,\"room\":\"1646-303505-415833@muclight.localhost\"},\"query\":\"mutation M1($room: JID!, $user: JID)\\n { muc_light { kickUser(room: $room, user: $user)} }\",\"operationName\":\"M1\"}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"vary">>,<<"accept">>},
{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:31:44 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"108">>}],
<<"{\"data\":{\"muc_light\":{\"kickUser\":\"Stanza kicking user bob_user_kick_user_535@localhost sent successfully\"}}}">>,
247,2355}
Params: #{body =>
<<"{\"variables\":{\"user\":null,\"room\":\"1646-303505-415833@muclight.localhost\"},\"query\":\"mutation M1($room: JID!, $user: JID)\\n { muc_light { kickUser(room: $room, user: $user)} }\",\"operationName\":\"M1\"}">>,
creds => {<<"bob_user_kick_user_535@localhost">>,<<"makrolika">>},
method => <<"POST">>,path => <<"/api/graphql">>,port => 5561,
return_headers => true,return_maps => true,
role => {graphql,<<"user">>},
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:31:45.478 ***
REST request:
Code: 200
Req: {<0.15664.0>,<<"/api/graphql">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"22c8cf61f465f0c9">>},
{<<"authorization">>,
<<"Basic Ym9iX3VzZXJfa2lja191c2VyXzUzNUBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"variables\":{\"user\":\"alicE_user_kick_user_535@localhost\",\"room\":\"1646-303505-415833@muclight.localhost\"},\"query\":\"mutation M1($room: JID!, $user: JID)\\n { muc_light { kickUser(room: $room, user: $user)} }\",\"operationName\":\"M1\"}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"vary">>,<<"accept">>},
{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:31:44 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"110">>}],
<<"{\"data\":{\"muc_light\":{\"kickUser\":\"Stanza kicking user alicE_user_kick_user_535@localhost sent successfully\"}}}">>,
249,52369}
Params: #{body =>
<<"{\"variables\":{\"user\":\"alicE_user_kick_user_535@localhost\",\"room\":\"1646-303505-415833@muclight.localhost\"},\"query\":\"mutation M1($room: JID!, $user: JID)\\n { muc_light { kickUser(room: $room, user: $user)} }\",\"operationName\":\"M1\"}">>,
creds => {<<"bob_user_kick_user_535@localhost">>,<<"makrolika">>},
method => <<"POST">>,path => <<"/api/graphql">>,port => 5561,
return_headers => true,return_maps => true,
role => {graphql,<<"user">>},
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:31:45.485 ***
REST request:
Code: 200
Req: {<0.15695.0>,<<"/api/graphql">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"412cef6ae2262299">>},
{<<"authorization">>,
<<"Basic YWxpY2VfdXNlcl9raWNrX3VzZXJfNTM1QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
<<"{\"variables\":{\"user\":\"bOb_user_kick_user_535@localhost\",\"room\":\"1646-303505-415833@muclight.localhost\"},\"query\":\"mutation M1($room: JID!, $user: JID)\\n { muc_light { kickUser(room: $room, user: $user)} }\",\"operationName\":\"M1\"}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"vary">>,<<"accept">>},
{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 03 Mar 2022 10:31:44 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"108">>}],
<<"{\"data\":{\"muc_light\":{\"kickUser\":\"Stanza kicking user bOb_user_kick_user_535@localhost sent successfully\"}}}">>,
247,4549}
Params: #{body =>
<<"{\"variables\":{\"user\":\"bOb_user_kick_user_535@localhost\",\"room\":\"1646-303505-415833@muclight.localhost\"},\"query\":\"mutation M1($room: JID!, $user: JID)\\n { muc_light { kickUser(room: $room, user: $user)} }\",\"operationName\":\"M1\"}">>,
creds => {<<"alice_user_kick_user_535@localhost">>,<<"matygrysa">>},
method => <<"POST">>,path => <<"/api/graphql">>,port => 5561,
return_headers => true,return_maps => true,
role => {graphql,<<"user">>},
server => #{node => mongooseim@localhost}}
*** User 2022-03-03 10:31:45.485 ***
bOb_user_kick_user_535@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:31:45.486 ***
bOb_user_kick_user_535@localhost/res1 in
</stream:stream>
*** User 2022-03-03 10:31:45.486 ***
alicE_user_kick_user_535@localhost/res1 out
</stream:stream>
*** User 2022-03-03 10:31:45.486 ***
alicE_user_kick_user_535@localhost/res1 in
</stream:stream>
=== Ended at 2022-03-03 10:31:45
=== successfully completed test case
=== === Returned value: ok