=== Test case: graphql_muc_SUITE:user_member_set_user_affiliation/1 (click for source code)
=== Config value:
[{watchdog,<0.15373.0>},
{schema_endpoint,user},
{{ejabberd_cwd,mongooseim@localhost},
"/home/circleci/project/_build/mim1/rel/mongooseim"},
{preset,"ldap_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@10142ef37af8.2023-11-16_10.13.42/big_tests.tests.graphql_muc_SUITE.logs/run.2023-11-16_10.15.38/graphql_muc_suite.user_member_set_user_affiliation.12420.html"},
{tc_group_properties,[{name,user_muc_configured},parallel]},
{tc_group_path,[[{name,user}]]},
{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@10142ef37af8.2023-11-16_10.13.42/big_tests.tests.graphql_muc_SUITE.logs/run.2023-11-16_10.15.38/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_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_presence => #{},
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 => mnesia,iqdisc => one_queue,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 => ldap,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,
ldap =>
#{base => <<"ou=Users,dc=esl,dc=com">>,
binary_search_fields => [],deref => never,
filter => <<"(objectClass=inetOrgPerson)">>,
pool_tag => default,
search_fields =>
[{<<"User">>,<<"%u">>},
{<<"Full Name">>,<<"displayName">>},
{<<"Given Name">>,<<"givenName">>},
{<<"Middle Name">>,<<"initials">>},
{<<"Family Name">>,<<"sn">>},
{<<"Nickname">>,<<"%u">>},
{<<"Birthday">>,<<"birthDay">>},
{<<"Country">>,<<"c">>},
{<<"City">>,<<"l">>},
{<<"Email">>,<<"mail">>},
{<<"Organization Name">>,<<"o">>},
{<<"Organization Unit">>,<<"ou">>}],
search_operator => 'and',
search_reported =>
[{<<"Full Name">>,<<"FN">>},
{<<"Given Name">>,<<"FIRST">>},
{<<"Middle Name">>,<<"MIDDLE">>},
{<<"Family Name">>,<<"LAST">>},
{<<"Nickname">>,<<"NICK">>},
{<<"Birthday">>,<<"BDAY">>},
{<<"Country">>,<<"CTRY">>},
{<<"City">>,<<"LOCALITY">>},
{<<"Email">>,<<"EMAIL">>},
{<<"Organization Name">>,<<"ORGNAME">>},
{<<"Organization Unit">>,<<"ORGUNIT">>}],
uids => [{<<"uid">>,<<"%u">>}],
vcard_map =>
[{<<"NICKNAME">>,<<"%u">>,[]},
{<<"FN">>,<<"%s">>,[<<"displayName">>]},
{<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
{<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
{<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
{<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
{<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
{<<"CTRY">>,<<"%s">>,[<<"c">>]},
{<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
{<<"STREET">>,<<"%s">>,[<<"street">>]},
{<<"REGION">>,<<"%s">>,[<<"st">>]},
{<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
{<<"TITLE">>,<<"%s">>,[<<"title">>]},
{<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
{<<"DESC">>,<<"%s">>,[<<"description">>]},
{<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
{<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
{<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
{<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
{<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}]},
matches => 30,search => true}}},
{{saved_modules,mongooseim@localhost,<<"localhost.bis">>},
#{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_disco =>
#{extra_domains => [],iqdisc => one_queue,server_info => [],
users_can_see_hidden_services => false},
mod_presence => #{},
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 => mnesia,iqdisc => one_queue,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 => ldap,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,
ldap =>
#{base => <<"ou=Users,dc=esl,dc=com">>,
binary_search_fields => [],deref => never,
filter => <<"(objectClass=inetOrgPerson)">>,
pool_tag => default,
search_fields =>
[{<<"User">>,<<"%u">>},
{<<"Full Name">>,<<"displayName">>},
{<<"Given Name">>,<<"givenName">>},
{<<"Middle Name">>,<<"initials">>},
{<<"Family Name">>,<<"sn">>},
{<<"Nickname">>,<<"%u">>},
{<<"Birthday">>,<<"birthDay">>},
{<<"Country">>,<<"c">>},
{<<"City">>,<<"l">>},
{<<"Email">>,<<"mail">>},
{<<"Organization Name">>,<<"o">>},
{<<"Organization Unit">>,<<"ou">>}],
search_operator => 'and',
search_reported =>
[{<<"Full Name">>,<<"FN">>},
{<<"Given Name">>,<<"FIRST">>},
{<<"Middle Name">>,<<"MIDDLE">>},
{<<"Family Name">>,<<"LAST">>},
{<<"Nickname">>,<<"NICK">>},
{<<"Birthday">>,<<"BDAY">>},
{<<"Country">>,<<"CTRY">>},
{<<"City">>,<<"LOCALITY">>},
{<<"Email">>,<<"EMAIL">>},
{<<"Organization Name">>,<<"ORGNAME">>},
{<<"Organization Unit">>,<<"ORGUNIT">>}],
uids => [{<<"uid">>,<<"%u">>}],
vcard_map =>
[{<<"NICKNAME">>,<<"%u">>,[]},
{<<"FN">>,<<"%s">>,[<<"displayName">>]},
{<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
{<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
{<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
{<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
{<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
{<<"CTRY">>,<<"%s">>,[<<"c">>]},
{<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
{<<"STREET">>,<<"%s">>,[<<"street">>]},
{<<"REGION">>,<<"%s">>,[<<"st">>]},
{<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
{<<"TITLE">>,<<"%s">>,[<<"title">>]},
{<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
{<<"DESC">>,<<"%s">>,[<<"description">>]},
{<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
{<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
{<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
{<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
{<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}]},
matches => 30,search => true}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@10142ef37af8.2023-11-16_10.13.42"
=== Started at 2023-11-16 10:15:38
*** User 2023-11-16 10:15:38.919 ***🔗
alicE_user_member_set_user_affiliation_688@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
Could not find element wait_for_parallel_writer in Config.
*** User 2023-11-16 10:15:38.920 ***🔗
alicE_user_member_set_user_affiliation_688@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='100778cdcc48fbc9' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 10:15:38.920 ***🔗
alicE_user_member_set_user_affiliation_688@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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-16 10:15:38.921 ***🔗
alicE_user_member_set_user_affiliation_688@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VzZXJfbWVtYmVyX3NldF91c2VyX2FmZmlsaWF0aW9uXzY4OABtYXR5Z3J5c2E=</auth>
*** User 2023-11-16 10:15:38.923 ***🔗
alicE_user_member_set_user_affiliation_688@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 10:15:38.923 ***🔗
alicE_user_member_set_user_affiliation_688@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-16 10:15:38.925 ***🔗
alicE_user_member_set_user_affiliation_688@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c5240319a42f68a7' from='localhost' version='1.0' xml:lang='en' to='alice_user_member_set_user_affiliation_688@localhost'>
*** User 2023-11-16 10:15:38.925 ***🔗
alicE_user_member_set_user_affiliation_688@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-16 10:15:38.925 ***🔗
alicE_user_member_set_user_affiliation_688@localhost/res1 out
<iq type='set' id='a625a97a70c0051ef65c51096f9c7c3c'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 10:15:38.926 ***🔗
alicE_user_member_set_user_affiliation_688@localhost/res1 in
<iq id='a625a97a70c0051ef65c51096f9c7c3c' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_user_member_set_user_affiliation_688@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 10:15:38.926 ***🔗
alice_user_member_set_user_affiliation_688@localhost/res1 out
<iq type='set' id='bac354e84650698e12a0b0b77453fdb8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 10:15:38.927 ***🔗
alice_user_member_set_user_affiliation_688@localhost/res1 in
<iq from='localhost' to='alice_user_member_set_user_affiliation_688@localhost/res1' id='bac354e84650698e12a0b0b77453fdb8' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 10:15:38.927 ***🔗
alice_user_member_set_user_affiliation_688@localhost/res1 out
<presence/>
*** User 2023-11-16 10:15:38.928 ***🔗
alice_user_member_set_user_affiliation_688@localhost/res1 in
<presence from='alice_user_member_set_user_affiliation_688@localhost/res1' to='alice_user_member_set_user_affiliation_688@localhost/res1'/>
*** User 2023-11-16 10:15:38.928 ***🔗
bOb_user_member_set_user_affiliation_688@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-16 10:15:38.930 ***🔗
bOb_user_member_set_user_affiliation_688@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5883d23ce413a5da' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 10:15:38.930 ***🔗
bOb_user_member_set_user_affiliation_688@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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-16 10:15:38.930 ***🔗
bOb_user_member_set_user_affiliation_688@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91c2VyX21lbWJlcl9zZXRfdXNlcl9hZmZpbGlhdGlvbl82ODgAbWFrcm9saWth</auth>
*** User 2023-11-16 10:15:38.932 ***🔗
bOb_user_member_set_user_affiliation_688@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 10:15:38.933 ***🔗
bOb_user_member_set_user_affiliation_688@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-16 10:15:38.933 ***🔗
bOb_user_member_set_user_affiliation_688@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f9628797b498418e' from='localhost' version='1.0' xml:lang='en' to='bob_user_member_set_user_affiliation_688@localhost'>
*** User 2023-11-16 10:15:38.933 ***🔗
bOb_user_member_set_user_affiliation_688@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-16 10:15:38.934 ***🔗
bOb_user_member_set_user_affiliation_688@localhost/res1 out
<iq type='set' id='983ce5084ec9a96511b6ef8347a4b26e'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 10:15:38.934 ***🔗
bOb_user_member_set_user_affiliation_688@localhost/res1 in
<iq id='983ce5084ec9a96511b6ef8347a4b26e' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_user_member_set_user_affiliation_688@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 10:15:38.934 ***🔗
bob_user_member_set_user_affiliation_688@localhost/res1 out
<iq type='set' id='4c75cacad1226e23ba2106728beca0f7'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 10:15:38.935 ***🔗
bob_user_member_set_user_affiliation_688@localhost/res1 in
<iq from='localhost' to='bob_user_member_set_user_affiliation_688@localhost/res1' id='4c75cacad1226e23ba2106728beca0f7' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 10:15:38.936 ***🔗
bob_user_member_set_user_affiliation_688@localhost/res1 out
<presence/>
*** User 2023-11-16 10:15:38.937 ***🔗
bob_user_member_set_user_affiliation_688@localhost/res1 in
<presence from='bob_user_member_set_user_affiliation_688@localhost/res1' to='bob_user_member_set_user_affiliation_688@localhost/res1'/>
*** User 2023-11-16 10:15:38.939 ***🔗
kate_user_member_set_user_affiliation_688@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-16 10:15:38.940 ***🔗
kate_user_member_set_user_affiliation_688@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f672aae3bbbc4cbc' from='localhost' version='1.0' xml:lang='en'>
*** User 2023-11-16 10:15:38.940 ***🔗
kate_user_member_set_user_affiliation_688@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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2023-11-16 10:15:38.940 ***🔗
kate_user_member_set_user_affiliation_688@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfdXNlcl9tZW1iZXJfc2V0X3VzZXJfYWZmaWxpYXRpb25fNjg4AG1ha3Jvd2U7cA==</auth>
*** User 2023-11-16 10:15:38.942 ***🔗
kate_user_member_set_user_affiliation_688@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2023-11-16 10:15:38.943 ***🔗
kate_user_member_set_user_affiliation_688@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-16 10:15:38.943 ***🔗
kate_user_member_set_user_affiliation_688@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='afa8cccc43512857' from='localhost' version='1.0' xml:lang='en' to='kate_user_member_set_user_affiliation_688@localhost'>
*** User 2023-11-16 10:15:38.944 ***🔗
kate_user_member_set_user_affiliation_688@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-16 10:15:38.944 ***🔗
kate_user_member_set_user_affiliation_688@localhost/res1 out
<iq type='set' id='8c89d82b77dad1fd37c9294b9652c63d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2023-11-16 10:15:38.944 ***🔗
kate_user_member_set_user_affiliation_688@localhost/res1 in
<iq id='8c89d82b77dad1fd37c9294b9652c63d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>kate_user_member_set_user_affiliation_688@localhost/res1</jid>
</bind>
</iq>
*** User 2023-11-16 10:15:38.944 ***🔗
kate_user_member_set_user_affiliation_688@localhost/res1 out
<iq type='set' id='ad604fc46e16b8c5821d5cd04e558248'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 10:15:38.945 ***🔗
kate_user_member_set_user_affiliation_688@localhost/res1 in
<iq from='localhost' to='kate_user_member_set_user_affiliation_688@localhost/res1' id='ad604fc46e16b8c5821d5cd04e558248' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2023-11-16 10:15:38.945 ***🔗
kate_user_member_set_user_affiliation_688@localhost/res1 out
<presence/>
*** User 2023-11-16 10:15:38.946 ***🔗
kate_user_member_set_user_affiliation_688@localhost/res1 in
<presence from='kate_user_member_set_user_affiliation_688@localhost/res1' to='kate_user_member_set_user_affiliation_688@localhost/res1'/>
*** User 2023-11-16 10:15:38.949 ***🔗
REST request:
Code: 200
Req: {<0.15974.0>,<<"/api/graphql">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"f9d381743dd1c3e9">>},
{<<"authorization">>,
<<"Basic YWxpY2VfdXNlcl9tZW1iZXJfc2V0X3VzZXJfYWZmaWxpYXRpb25fNjg4QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
<<"{\"variables\":{\"user\":\"bob_user_member_set_user_affiliation_688@localhost\",\"room\":\"room-alice_user_member_set_user_affiliation_688@muc.localhost\",\"affiliation\":\"MEMBER\"},\"query\":\"mutation ($affiliation: MUCAffiliation!, $room: BareJID!, $user: JID!) { muc { setUserAffiliation(affiliation: $affiliation, room: $room, user: $user) } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"vary">>,<<"accept">>},
{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 10:15:38 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"70">>}],
<<"{\"data\":{\"muc\":{\"setUserAffiliation\":\"Affiliation set successfully\"}}}">>,
208,1411}
Params: #{body =>
<<"{\"variables\":{\"user\":\"bob_user_member_set_user_affiliation_688@localhost\",\"room\":\"room-alice_user_member_set_user_affiliation_688@muc.localhost\",\"affiliation\":\"MEMBER\"},\"query\":\"mutation ($affiliation: MUCAffiliation!, $room: BareJID!, $user: JID!) { muc { setUserAffiliation(affiliation: $affiliation, room: $room, user: $user) } }\"}">>,
creds =>
{<<"alice_user_member_set_user_affiliation_688@localhost">>,
<<"matygrysa">>},
method => <<"POST">>,path => <<"/api/graphql">>,port => 5561,
return_headers => true,return_maps => true,
role => {graphql,user},
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 10:15:38.952 ***🔗
REST request:
Code: 200
Req: {<0.15983.0>,<<"/api/graphql">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"f8800c9df48d0d9c">>},
{<<"authorization">>,
<<"Basic Ym9iX3VzZXJfbWVtYmVyX3NldF91c2VyX2FmZmlsaWF0aW9uXzY4OEBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"variables\":{\"user\":\"kate_user_member_set_user_affiliation_688@localhost\",\"room\":\"room-alice_user_member_set_user_affiliation_688@muc.localhost\",\"affiliation\":\"MEMBER\"},\"query\":\"mutation ($affiliation: MUCAffiliation!, $room: BareJID!, $user: JID!) { muc { setUserAffiliation(affiliation: $affiliation, room: $room, user: $user) } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"vary">>,<<"accept">>},
{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 10:15:38 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"278">>}],
<<"{\"errors\":[{\"path\":[\"muc\",\"setUserAffiliation\"],\"message\":\"Given user does not have permission to set the member affiliation\",\"extensions\":{\"room\":\"room-alice_user_member_set_user_affiliation_688@muc.localhost\",\"code\":\"not_allowed\"}}],\"data\":{\"muc\":{\"setUserAffiliation\":null}}}">>,
417,1449}
Params: #{body =>
<<"{\"variables\":{\"user\":\"kate_user_member_set_user_affiliation_688@localhost\",\"room\":\"room-alice_user_member_set_user_affiliation_688@muc.localhost\",\"affiliation\":\"MEMBER\"},\"query\":\"mutation ($affiliation: MUCAffiliation!, $room: BareJID!, $user: JID!) { muc { setUserAffiliation(affiliation: $affiliation, room: $room, user: $user) } }\"}">>,
creds =>
{<<"bob_user_member_set_user_affiliation_688@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/graphql">>,port => 5561,
return_headers => true,return_maps => true,
role => {graphql,user},
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 10:15:38.954 ***🔗
REST request:
Code: 200
Req: {<0.15990.0>,<<"/api/graphql">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"62cb173bf58078db">>},
{<<"authorization">>,
<<"Basic Ym9iX3VzZXJfbWVtYmVyX3NldF91c2VyX2FmZmlsaWF0aW9uXzY4OEBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"variables\":{\"user\":\"kate_user_member_set_user_affiliation_688@localhost\",\"room\":\"room-alice_user_member_set_user_affiliation_688@muc.localhost\",\"affiliation\":\"ADMIN\"},\"query\":\"mutation ($affiliation: MUCAffiliation!, $room: BareJID!, $user: JID!) { muc { setUserAffiliation(affiliation: $affiliation, room: $room, user: $user) } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"vary">>,<<"accept">>},
{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 10:15:38 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"277">>}],
<<"{\"errors\":[{\"path\":[\"muc\",\"setUserAffiliation\"],\"message\":\"Given user does not have permission to set the admin affiliation\",\"extensions\":{\"room\":\"room-alice_user_member_set_user_affiliation_688@muc.localhost\",\"code\":\"not_allowed\"}}],\"data\":{\"muc\":{\"setUserAffiliation\":null}}}">>,
416,1353}
Params: #{body =>
<<"{\"variables\":{\"user\":\"kate_user_member_set_user_affiliation_688@localhost\",\"room\":\"room-alice_user_member_set_user_affiliation_688@muc.localhost\",\"affiliation\":\"ADMIN\"},\"query\":\"mutation ($affiliation: MUCAffiliation!, $room: BareJID!, $user: JID!) { muc { setUserAffiliation(affiliation: $affiliation, room: $room, user: $user) } }\"}">>,
creds =>
{<<"bob_user_member_set_user_affiliation_688@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/graphql">>,port => 5561,
return_headers => true,return_maps => true,
role => {graphql,user},
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 10:15:39.018 ***🔗
REST request:
Code: 200
Req: {<0.15998.0>,<<"/api/graphql">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"df340184bd29b69f">>},
{<<"authorization">>,
<<"Basic Ym9iX3VzZXJfbWVtYmVyX3NldF91c2VyX2FmZmlsaWF0aW9uXzY4OEBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"variables\":{\"user\":\"kate_user_member_set_user_affiliation_688@localhost\",\"room\":\"room-alice_user_member_set_user_affiliation_688@muc.localhost\",\"affiliation\":\"OWNER\"},\"query\":\"mutation ($affiliation: MUCAffiliation!, $room: BareJID!, $user: JID!) { muc { setUserAffiliation(affiliation: $affiliation, room: $room, user: $user) } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"vary">>,<<"accept">>},
{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 10:15:38 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"277">>}],
<<"{\"errors\":[{\"path\":[\"muc\",\"setUserAffiliation\"],\"message\":\"Given user does not have permission to set the owner affiliation\",\"extensions\":{\"room\":\"room-alice_user_member_set_user_affiliation_688@muc.localhost\",\"code\":\"not_allowed\"}}],\"data\":{\"muc\":{\"setUserAffiliation\":null}}}">>,
416,1707}
Params: #{body =>
<<"{\"variables\":{\"user\":\"kate_user_member_set_user_affiliation_688@localhost\",\"room\":\"room-alice_user_member_set_user_affiliation_688@muc.localhost\",\"affiliation\":\"OWNER\"},\"query\":\"mutation ($affiliation: MUCAffiliation!, $room: BareJID!, $user: JID!) { muc { setUserAffiliation(affiliation: $affiliation, room: $room, user: $user) } }\"}">>,
creds =>
{<<"bob_user_member_set_user_affiliation_688@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/graphql">>,port => 5561,
return_headers => true,return_maps => true,
role => {graphql,user},
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 10:15:39.021 ***🔗
REST request:
Code: 200
Req: {<0.16006.0>,<<"/api/graphql">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"6d2a45e0e065d0e6">>},
{<<"authorization">>,
<<"Basic YWxpY2VfdXNlcl9tZW1iZXJfc2V0X3VzZXJfYWZmaWxpYXRpb25fNjg4QGxvY2FsaG9zdDptYXR5Z3J5c2E=">>}],
<<"{\"variables\":{\"user\":\"kate_user_member_set_user_affiliation_688@localhost\",\"room\":\"room-alice_user_member_set_user_affiliation_688@muc.localhost\",\"affiliation\":\"MEMBER\"},\"query\":\"mutation ($affiliation: MUCAffiliation!, $room: BareJID!, $user: JID!) { muc { setUserAffiliation(affiliation: $affiliation, room: $room, user: $user) } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"vary">>,<<"accept">>},
{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 10:15:38 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"70">>}],
<<"{\"data\":{\"muc\":{\"setUserAffiliation\":\"Affiliation set successfully\"}}}">>,
208,1579}
Params: #{body =>
<<"{\"variables\":{\"user\":\"kate_user_member_set_user_affiliation_688@localhost\",\"room\":\"room-alice_user_member_set_user_affiliation_688@muc.localhost\",\"affiliation\":\"MEMBER\"},\"query\":\"mutation ($affiliation: MUCAffiliation!, $room: BareJID!, $user: JID!) { muc { setUserAffiliation(affiliation: $affiliation, room: $room, user: $user) } }\"}">>,
creds =>
{<<"alice_user_member_set_user_affiliation_688@localhost">>,
<<"matygrysa">>},
method => <<"POST">>,path => <<"/api/graphql">>,port => 5561,
return_headers => true,return_maps => true,
role => {graphql,user},
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 10:15:39.023 ***🔗
REST request:
Code: 200
Req: {<0.16013.0>,<<"/api/graphql">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"f0455048faace921">>},
{<<"authorization">>,
<<"Basic Ym9iX3VzZXJfbWVtYmVyX3NldF91c2VyX2FmZmlsaWF0aW9uXzY4OEBsb2NhbGhvc3Q6bWFrcm9saWth">>}],
<<"{\"variables\":{\"user\":\"kate_user_member_set_user_affiliation_688@localhost\",\"room\":\"room-alice_user_member_set_user_affiliation_688@muc.localhost\",\"affiliation\":\"NONE\"},\"query\":\"mutation ($affiliation: MUCAffiliation!, $room: BareJID!, $user: JID!) { muc { setUserAffiliation(affiliation: $affiliation, room: $room, user: $user) } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"vary">>,<<"accept">>},
{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 16 Nov 2023 10:15:38 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"276">>}],
<<"{\"errors\":[{\"path\":[\"muc\",\"setUserAffiliation\"],\"message\":\"Given user does not have permission to set the none affiliation\",\"extensions\":{\"room\":\"room-alice_user_member_set_user_affiliation_688@muc.localhost\",\"code\":\"not_allowed\"}}],\"data\":{\"muc\":{\"setUserAffiliation\":null}}}">>,
415,1460}
Params: #{body =>
<<"{\"variables\":{\"user\":\"kate_user_member_set_user_affiliation_688@localhost\",\"room\":\"room-alice_user_member_set_user_affiliation_688@muc.localhost\",\"affiliation\":\"NONE\"},\"query\":\"mutation ($affiliation: MUCAffiliation!, $room: BareJID!, $user: JID!) { muc { setUserAffiliation(affiliation: $affiliation, room: $room, user: $user) } }\"}">>,
creds =>
{<<"bob_user_member_set_user_affiliation_688@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/graphql">>,port => 5561,
return_headers => true,return_maps => true,
role => {graphql,user},
server => #{node => mongooseim@localhost}}
*** User 2023-11-16 10:15:39.023 ***🔗
kate_user_member_set_user_affiliation_688@localhost/res1 out
</stream:stream>
*** User 2023-11-16 10:15:39.024 ***🔗
kate_user_member_set_user_affiliation_688@localhost/res1 in
</stream:stream>
*** User 2023-11-16 10:15:39.024 ***🔗
bob_user_member_set_user_affiliation_688@localhost/res1 out
</stream:stream>
*** User 2023-11-16 10:15:39.024 ***🔗
bob_user_member_set_user_affiliation_688@localhost/res1 in
</stream:stream>
*** User 2023-11-16 10:15:39.024 ***🔗
alice_user_member_set_user_affiliation_688@localhost/res1 out
</stream:stream>
*** User 2023-11-16 10:15:39.024 ***🔗
alice_user_member_set_user_affiliation_688@localhost/res1 in
</stream:stream>
*** User 2023-11-16 10:15:39.025 ***🔗
waiting for room_archive_size is done in 0 miliseconds
=== Ended at 2023-11-16 10:15:39
=== successfully completed test case
=== === Returned value: ok