=== Test case: graphql_session_SUITE:domain_admin_list_users_with_status/1 (click for source code) === Config value: [{protocol,http}, {domain_admin,{<<"admin@localhost">>,<<"0e8b061ea67ee355">>}}, {schema_endpoint,domain_admin}, {watchdog,<0.28270.0>}, {{ejabberd_cwd,mongooseim@localhost}, "/home/circleci/project/_build/mim1/rel/mongooseim"}, {preset,"pgsql_mnesia"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_session_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@243f6524d2ce.2024-03-11_11.24.14/big_tests.tests.graphql_session_SUITE.logs/run.2024-03-11_11.28.46/graphql_session_suite.domain_admin_list_users_with_status.html"}, {tc_group_properties,[{name,domain_admin_session}]}, {tc_group_path,[]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_session_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@243f6524d2ce.2024-03-11_11.24.14/big_tests.tests.graphql_session_SUITE.logs/run.2024-03-11_11.28.46/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 => rdbms,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 => rdbms, host => {prefix,<<"vjud.">>}, iqdisc => parallel,matches => 30,search => true}}}, {escalus_users,[{alice,[{username,<<"alicE">>}, {server,<<"localhost">>}, {password,<<"matygrysa">>}]}, {alice_bis,[{username,<<"alicE">>}, {server,<<"localhost.bis">>}, {host,<<"localhost">>}, {password,<<"matygrysa">>}]}, {bob,[{username,<<"bOb">>}, {server,<<"localhost">>}, {password,<<"makrolika">>}]}]}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@243f6524d2ce.2024-03-11_11.24.14" === Started at 2024-03-11 11:28:55
*** User 2024-03-11 11:28:55.823 ***🔗 alicE_domain_admin_list_users_with_status_1259@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:28:55.823 ***🔗 alicE_domain_admin_list_users_with_status_1259@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b68b66193958bb62' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:28:55.823 ***🔗 alicE_domain_admin_list_users_with_status_1259@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:28:55.824 ***🔗 alicE_domain_admin_list_users_with_status_1259@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RvbWFpbl9hZG1pbl9saXN0X3VzZXJzX3dpdGhfc3RhdHVzXzEyNTkAbWF0eWdyeXNh</auth>
*** User 2024-03-11 11:28:55.824 ***🔗 alicE_domain_admin_list_users_with_status_1259@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:28:55.824 ***🔗 alicE_domain_admin_list_users_with_status_1259@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:28:55.825 ***🔗 alicE_domain_admin_list_users_with_status_1259@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b5db190862f8b34c' from='localhost' version='1.0' xml:lang='en' to='alice_domain_admin_list_users_with_status_1259@localhost'>
*** User 2024-03-11 11:28:55.825 ***🔗 alicE_domain_admin_list_users_with_status_1259@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:28:55.825 ***🔗 alicE_domain_admin_list_users_with_status_1259@localhost/res1 out <iq type='set' id='20bdb924928ad723a4df4672c6df50a9'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-03-11 11:28:55.825 ***🔗 alicE_domain_admin_list_users_with_status_1259@localhost/res1 in <iq id='20bdb924928ad723a4df4672c6df50a9' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_domain_admin_list_users_with_status_1259@localhost/res1</jid> </bind> </iq>
*** User 2024-03-11 11:28:55.825 ***🔗 alice_domain_admin_list_users_with_status_1259@localhost/res1 out <iq type='set' id='10f4092b51c0a56d72066436da015549'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-11 11:28:55.825 ***🔗 alice_domain_admin_list_users_with_status_1259@localhost/res1 in <iq from='localhost' to='alice_domain_admin_list_users_with_status_1259@localhost/res1' id='10f4092b51c0a56d72066436da015549' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-11 11:28:55.825 ***🔗 alice_domain_admin_list_users_with_status_1259@localhost/res1 out <presence/>
*** User 2024-03-11 11:28:55.826 ***🔗 alice_domain_admin_list_users_with_status_1259@localhost/res1 in <presence from='alice_domain_admin_list_users_with_status_1259@localhost/res1' to='alice_domain_admin_list_users_with_status_1259@localhost/res1'/>
*** User 2024-03-11 11:28:55.826 ***🔗 alicE_domain_admin_list_users_with_status_1259@localhost.bis/res1 out <stream:stream to='localhost.bis' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-11 11:28:55.827 ***🔗 alicE_domain_admin_list_users_with_status_1259@localhost.bis/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ea7e223d3830b9a3' from='localhost.bis' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:28:55.827 ***🔗 alicE_domain_admin_list_users_with_status_1259@localhost.bis/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:28:55.827 ***🔗 alicE_domain_admin_list_users_with_status_1259@localhost.bis/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RvbWFpbl9hZG1pbl9saXN0X3VzZXJzX3dpdGhfc3RhdHVzXzEyNTkAbWF0eWdyeXNh</auth>
*** User 2024-03-11 11:28:55.828 ***🔗 alicE_domain_admin_list_users_with_status_1259@localhost.bis/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:28:55.828 ***🔗 alicE_domain_admin_list_users_with_status_1259@localhost.bis/res1 out <stream:stream to='localhost.bis' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-11 11:28:55.828 ***🔗 alicE_domain_admin_list_users_with_status_1259@localhost.bis/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d47338d2ae4ed6a2' from='localhost.bis' version='1.0' xml:lang='en' to='alice_domain_admin_list_users_with_status_1259@localhost.bis'>
*** User 2024-03-11 11:28:55.828 ***🔗 alicE_domain_admin_list_users_with_status_1259@localhost.bis/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:28:55.828 ***🔗 alicE_domain_admin_list_users_with_status_1259@localhost.bis/res1 out <iq type='set' id='51d2b2995e81eb5fc2328f7ce3dbef00'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-03-11 11:28:55.828 ***🔗 alicE_domain_admin_list_users_with_status_1259@localhost.bis/res1 in <iq id='51d2b2995e81eb5fc2328f7ce3dbef00' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_domain_admin_list_users_with_status_1259@localhost.bis/res1</jid> </bind> </iq>
*** User 2024-03-11 11:28:55.828 ***🔗 alice_domain_admin_list_users_with_status_1259@localhost.bis/res1 out <iq type='set' id='791d6b4beb4bc1ac6e944e6ceb98fa77'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-11 11:28:55.829 ***🔗 alice_domain_admin_list_users_with_status_1259@localhost.bis/res1 in <iq from='localhost.bis' to='alice_domain_admin_list_users_with_status_1259@localhost.bis/res1' id='791d6b4beb4bc1ac6e944e6ceb98fa77' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-03-11 11:28:55.829 ***🔗 alice_domain_admin_list_users_with_status_1259@localhost.bis/res1 out <presence/>
*** User 2024-03-11 11:28:55.829 ***🔗 alice_domain_admin_list_users_with_status_1259@localhost.bis/res1 in <presence from='alice_domain_admin_list_users_with_status_1259@localhost.bis/res1' to='alice_domain_admin_list_users_with_status_1259@localhost.bis/res1'/>
*** User 2024-03-11 11:28:55.829 ***🔗 alice_domain_admin_list_users_with_status_1259@localhost/res1 out <presence> <show>away</show> </presence>
*** User 2024-03-11 11:28:55.836 ***🔗 REST request fails: Code: 401 Req: {<0.28410.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"dc5357238f33d2c7">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0OjBlOGIwNjFlYTY3ZWUzNTU=">>}], <<"{\"variables\":{\"status\":\"away\",\"domain\":null},\"query\":\"query ($domain: DomainName, $status: NonEmptyString!) { session { listUsersWithStatus(domain: $domain, status: $status) { priority text user } } }\"}">>} Result: {{<<"401">>,<<"Unauthorized">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 11 Mar 2024 11:28:55 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"212">>}], <<"{\"errors\":[{\"path\":[\"ROOT\",\"session\",\"listUsersWithStatus\"],\"message\":\"Cannot execute query ROOT without permissions to the given domain. Args with invalid value: domain\",\"extensions\":{\"code\":\"no_permissions\"}}]}">>, 361,5700} Params: #{body => <<"{\"variables\":{\"status\":\"away\",\"domain\":null},\"query\":\"query ($domain: DomainName, $status: NonEmptyString!) { session { listUsersWithStatus(domain: $domain, status: $status) { priority text user } } }\"}">>, creds => {<<"admin@localhost">>,<<"0e8b061ea67ee355">>}, method => <<"POST">>,path => <<"/api/graphql">>,port => 5541, return_headers => true,return_maps => true, role => {graphql,domain_admin}, server => #{node => mongooseim@localhost}}
*** User 2024-03-11 11:28:55.843 ***🔗 REST request: Code: 200 Req: {<0.28412.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"e99389de65571d3a">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0OjBlOGIwNjFlYTY3ZWUzNTU=">>}], <<"{\"variables\":{\"status\":\"away\",\"domain\":\"localhost\"},\"query\":\"query ($domain: DomainName, $status: NonEmptyString!) { session { listUsersWithStatus(domain: $domain, status: $status) { priority text user } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 11 Mar 2024 11:28:55 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"142">>}], <<"{\"data\":{\"session\":{\"listUsersWithStatus\":[{\"user\":\"alice_domain_admin_list_users_with_status_1259@localhost/res1\",\"text\":\"\",\"priority\":0}]}}}">>, 281,5697} Params: #{body => <<"{\"variables\":{\"status\":\"away\",\"domain\":\"localhost\"},\"query\":\"query ($domain: DomainName, $status: NonEmptyString!) { session { listUsersWithStatus(domain: $domain, status: $status) { priority text user } } }\"}">>, creds => {<<"admin@localhost">>,<<"0e8b061ea67ee355">>}, method => <<"POST">>,path => <<"/api/graphql">>,port => 5541, return_headers => true,return_maps => true, role => {graphql,domain_admin}, server => #{node => mongooseim@localhost}}
*** User 2024-03-11 11:28:55.849 ***🔗 REST request: Code: 200 Req: {<0.28414.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"b0717f517e1d6a90">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0OjBlOGIwNjFlYTY3ZWUzNTU=">>}], <<"{\"variables\":{\"status\":\"away\",\"domain\":\"Localhost\"},\"query\":\"query ($domain: DomainName, $status: NonEmptyString!) { session { listUsersWithStatus(domain: $domain, status: $status) { priority text user } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 11 Mar 2024 11:28:55 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"142">>}], <<"{\"data\":{\"session\":{\"listUsersWithStatus\":[{\"user\":\"alice_domain_admin_list_users_with_status_1259@localhost/res1\",\"text\":\"\",\"priority\":0}]}}}">>, 281,5659} Params: #{body => <<"{\"variables\":{\"status\":\"away\",\"domain\":\"Localhost\"},\"query\":\"query ($domain: DomainName, $status: NonEmptyString!) { session { listUsersWithStatus(domain: $domain, status: $status) { priority text user } } }\"}">>, creds => {<<"admin@localhost">>,<<"0e8b061ea67ee355">>}, method => <<"POST">>,path => <<"/api/graphql">>,port => 5541, return_headers => true,return_maps => true, role => {graphql,domain_admin}, server => #{node => mongooseim@localhost}}
*** User 2024-03-11 11:28:55.856 ***🔗 REST request fails: Code: 401 Req: {<0.28416.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"566603a3fedf0cc8">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0OjBlOGIwNjFlYTY3ZWUzNTU=">>}], <<"{\"variables\":{\"status\":\"away\",\"domain\":\"localhost.bis\"},\"query\":\"query ($domain: DomainName, $status: NonEmptyString!) { session { listUsersWithStatus(domain: $domain, status: $status) { priority text user } } }\"}">>} Result: {{<<"401">>,<<"Unauthorized">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 11 Mar 2024 11:28:55 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"212">>}], <<"{\"errors\":[{\"path\":[\"ROOT\",\"session\",\"listUsersWithStatus\"],\"message\":\"Cannot execute query ROOT without permissions to the given domain. Args with invalid value: domain\",\"extensions\":{\"code\":\"no_permissions\"}}]}">>, 361,5581} Params: #{body => <<"{\"variables\":{\"status\":\"away\",\"domain\":\"localhost.bis\"},\"query\":\"query ($domain: DomainName, $status: NonEmptyString!) { session { listUsersWithStatus(domain: $domain, status: $status) { priority text user } } }\"}">>, creds => {<<"admin@localhost">>,<<"0e8b061ea67ee355">>}, method => <<"POST">>,path => <<"/api/graphql">>,port => 5541, return_headers => true,return_maps => true, role => {graphql,domain_admin}, server => #{node => mongooseim@localhost}}
*** User 2024-03-11 11:28:55.856 ***🔗 alice_domain_admin_list_users_with_status_1259@localhost/res1 out <presence> <show>dnd</show> </presence>
*** User 2024-03-11 11:28:55.863 ***🔗 REST request fails: Code: 401 Req: {<0.28418.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"20501c6bea9b785f">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0OjBlOGIwNjFlYTY3ZWUzNTU=">>}], <<"{\"variables\":{\"status\":\"dnd\",\"domain\":null},\"query\":\"query ($domain: DomainName, $status: NonEmptyString!) { session { listUsersWithStatus(domain: $domain, status: $status) { priority text user } } }\"}">>} Result: {{<<"401">>,<<"Unauthorized">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 11 Mar 2024 11:28:55 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"212">>}], <<"{\"errors\":[{\"path\":[\"ROOT\",\"session\",\"listUsersWithStatus\"],\"message\":\"Cannot execute query ROOT without permissions to the given domain. Args with invalid value: domain\",\"extensions\":{\"code\":\"no_permissions\"}}]}">>, 361,5547} Params: #{body => <<"{\"variables\":{\"status\":\"dnd\",\"domain\":null},\"query\":\"query ($domain: DomainName, $status: NonEmptyString!) { session { listUsersWithStatus(domain: $domain, status: $status) { priority text user } } }\"}">>, creds => {<<"admin@localhost">>,<<"0e8b061ea67ee355">>}, method => <<"POST">>,path => <<"/api/graphql">>,port => 5541, return_headers => true,return_maps => true, role => {graphql,domain_admin}, server => #{node => mongooseim@localhost}}
*** User 2024-03-11 11:28:55.869 ***🔗 REST request: Code: 200 Req: {<0.28420.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"564ecc1806485724">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0OjBlOGIwNjFlYTY3ZWUzNTU=">>}], <<"{\"variables\":{\"status\":\"dnd\",\"domain\":\"localhost\"},\"query\":\"query ($domain: DomainName, $status: NonEmptyString!) { session { listUsersWithStatus(domain: $domain, status: $status) { priority text user } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 11 Mar 2024 11:28:55 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"142">>}], <<"{\"data\":{\"session\":{\"listUsersWithStatus\":[{\"user\":\"alice_domain_admin_list_users_with_status_1259@localhost/res1\",\"text\":\"\",\"priority\":0}]}}}">>, 281,5730} Params: #{body => <<"{\"variables\":{\"status\":\"dnd\",\"domain\":\"localhost\"},\"query\":\"query ($domain: DomainName, $status: NonEmptyString!) { session { listUsersWithStatus(domain: $domain, status: $status) { priority text user } } }\"}">>, creds => {<<"admin@localhost">>,<<"0e8b061ea67ee355">>}, method => <<"POST">>,path => <<"/api/graphql">>,port => 5541, return_headers => true,return_maps => true, role => {graphql,domain_admin}, server => #{node => mongooseim@localhost}}
*** User 2024-03-11 11:28:55.876 ***🔗 REST request fails: Code: 401 Req: {<0.28422.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"4dd42a2a66420234">>}, {<<"authorization">>, <<"Basic YWRtaW5AbG9jYWxob3N0OjBlOGIwNjFlYTY3ZWUzNTU=">>}], <<"{\"variables\":{\"status\":\"away\",\"domain\":\"localhost.bis\"},\"query\":\"query ($domain: DomainName, $status: NonEmptyString!) { session { listUsersWithStatus(domain: $domain, status: $status) { priority text user } } }\"}">>} Result: {{<<"401">>,<<"Unauthorized">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 11 Mar 2024 11:28:55 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"212">>}], <<"{\"errors\":[{\"path\":[\"ROOT\",\"session\",\"listUsersWithStatus\"],\"message\":\"Cannot execute query ROOT without permissions to the given domain. Args with invalid value: domain\",\"extensions\":{\"code\":\"no_permissions\"}}]}">>, 361,5597} Params: #{body => <<"{\"variables\":{\"status\":\"away\",\"domain\":\"localhost.bis\"},\"query\":\"query ($domain: DomainName, $status: NonEmptyString!) { session { listUsersWithStatus(domain: $domain, status: $status) { priority text user } } }\"}">>, creds => {<<"admin@localhost">>,<<"0e8b061ea67ee355">>}, method => <<"POST">>,path => <<"/api/graphql">>,port => 5541, return_headers => true,return_maps => true, role => {graphql,domain_admin}, server => #{node => mongooseim@localhost}}
*** User 2024-03-11 11:28:55.876 ***🔗 alice_domain_admin_list_users_with_status_1259@localhost.bis/res1 out </stream:stream>
*** User 2024-03-11 11:28:55.876 ***🔗 alice_domain_admin_list_users_with_status_1259@localhost.bis/res1 in </stream:stream>
*** User 2024-03-11 11:28:55.876 ***🔗 alice_domain_admin_list_users_with_status_1259@localhost/res1 out </stream:stream>
*** User 2024-03-11 11:28:55.877 ***🔗 alice_domain_admin_list_users_with_status_1259@localhost/res1 in </stream:stream>
=== Ended at 2024-03-11 11:28:55 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result