=== Test case: graphql_token_SUITE:admin_revoke_token_test_unprep/1 (click for source code) === Config value: [{protocol,http}, {domain_admin,{<<"admin@domain.example.com">>,<<"a22baa99eb288a1f">>}}, {schema_endpoint,domain_admin}, {watchdog,<0.31269.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_token_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d8170e2cb8d4.2024-04-23_11.32.52/big_tests.tests.graphql_token_SUITE.logs/run.2024-04-23_11.38.59/graphql_token_suite.admin_revoke_token_test_unprep.html"}, {tc_group_properties,[{name,domain_admin}]}, {tc_group_path,[]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_token_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@d8170e2cb8d4.2024-04-23_11.32.52/big_tests.tests.graphql_token_SUITE.logs/run.2024-04-23_11.38.59/log_private/"}, {{saved_modules,mongooseim@localhost,<<"test type">>}, #{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_sic => #{iqdisc => one_queue}, 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_amp => #{}, mod_disco => #{iqdisc => one_queue,server_info => [],extra_domains => [], users_can_see_hidden_services => false}, mod_presence => #{}, mod_stream_management => #{buffer => true,ack => true,backend => mnesia, 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_cache_users => #{strategy => fifo,number_of_segments => 5,time_to_live => 2}, mod_bosh => #{backend => mnesia,inactivity => 30,max_pause => 120, max_wait => infinity,server_acks => false}, mod_carboncopy => #{iqdisc => no_queue}}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d8170e2cb8d4.2024-04-23_11.32.52" === Started at 2024-04-23 11:39:00
*** User 2024-04-23 11:39:00.224 ***🔗 alicE_admin_revoke_token_test_unprep_1393@domain.example.com/res1 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-23 11:39:00.224 ***🔗 alicE_admin_revoke_token_test_unprep_1393@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ad12c4e74b7f56e9' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:39:00.224 ***🔗 alicE_admin_revoke_token_test_unprep_1393@domain.example.com/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> <mechanism>X-OAUTH</mechanism> </mechanisms> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2024-04-23 11:39:00.225 ***🔗 alicE_admin_revoke_token_test_unprep_1393@domain.example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkbWluX3Jldm9rZV90b2tlbl90ZXN0X3VucHJlcF8xMzkzAG1hdHlncnlzYQ==</auth>
*** User 2024-04-23 11:39:00.226 ***🔗 alicE_admin_revoke_token_test_unprep_1393@domain.example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:39:00.226 ***🔗 alicE_admin_revoke_token_test_unprep_1393@domain.example.com/res1 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-23 11:39:00.226 ***🔗 alicE_admin_revoke_token_test_unprep_1393@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4b54ca6162753802' from='domain.example.com' version='1.0' xml:lang='en' to='alice_admin_revoke_token_test_unprep_1393@domain.example.com'>
*** User 2024-04-23 11:39:00.226 ***🔗 alicE_admin_revoke_token_test_unprep_1393@domain.example.com/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-04-23 11:39:00.227 ***🔗 alicE_admin_revoke_token_test_unprep_1393@domain.example.com/res1 out <iq type='set' id='e0bc084b218c9782e670f294e0732735'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-23 11:39:00.227 ***🔗 alicE_admin_revoke_token_test_unprep_1393@domain.example.com/res1 in <iq id='e0bc084b218c9782e670f294e0732735' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_admin_revoke_token_test_unprep_1393@domain.example.com/res1</jid> </bind> </iq>
*** User 2024-04-23 11:39:00.227 ***🔗 alice_admin_revoke_token_test_unprep_1393@domain.example.com/res1 out <iq type='set' id='3d7b9640801bc489d742ed8d0ac77640'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-23 11:39:00.228 ***🔗 alice_admin_revoke_token_test_unprep_1393@domain.example.com/res1 in <iq from='domain.example.com' to='alice_admin_revoke_token_test_unprep_1393@domain.example.com/res1' id='3d7b9640801bc489d742ed8d0ac77640' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-23 11:39:00.228 ***🔗 alice_admin_revoke_token_test_unprep_1393@domain.example.com/res1 out <presence/>
*** User 2024-04-23 11:39:00.229 ***🔗 alice_admin_revoke_token_test_unprep_1393@domain.example.com/res1 in <presence from='alice_admin_revoke_token_test_unprep_1393@domain.example.com/res1' to='alice_admin_revoke_token_test_unprep_1393@domain.example.com/res1'/>
*** User 2024-04-23 11:39:00.244 ***🔗 REST request: Code: 200 Req: {<0.31362.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"6a235e8a17a3a4ab">>}, {<<"authorization">>, <<"Basic YWRtaW5AZG9tYWluLmV4YW1wbGUuY29tOmEyMmJhYTk5ZWIyODhhMWY=">>}], <<"{\"variables\":{\"user\":\"Alice_admin_revoke_token_test_unprep_1393@domain.example.com\"},\"query\":\"mutation ($user: JID!) { token { requestToken(user: $user) { access refresh } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 23 Apr 2024 11:38:59 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"452">>}], <<"{\"data\":{\"token\":{\"requestToken\":{\"refresh\":\"refresh\\u0000alice_admin_revoke_token_test_unprep_1393@domain.example.com\\u000063881177940\\u00001\\u00001682c85566040f42727d1952c56315f7509ec3f36687105939ea71ff0464d1b0dd12eea232c1edd5948fd7041c838430\",\"access\":\"access\\u0000alice_admin_revoke_token_test_unprep_1393@domain.example.com\\u000063881095140\\u000089205d8d202f0c86344669755c5c91555b42bd959cae0668ff1d969d90be5a22b17471ab11c4eaad167ba1a98d01fa3a\"}}}}">>, 591,13907} Params: #{port => 5541,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, creds => {<<"admin@domain.example.com">>,<<"a22baa99eb288a1f">>}, method => <<"POST">>, body => <<"{\"variables\":{\"user\":\"Alice_admin_revoke_token_test_unprep_1393@domain.example.com\"},\"query\":\"mutation ($user: JID!) { token { requestToken(user: $user) { access refresh } } }\"}">>, role => {graphql,domain_admin}, return_maps => true,return_headers => true}
*** User 2024-04-23 11:39:00.259 ***🔗 REST request: Code: 200 Req: {<0.31364.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"72bcad6aca73f58b">>}, {<<"authorization">>, <<"Basic YWRtaW5AZG9tYWluLmV4YW1wbGUuY29tOmEyMmJhYTk5ZWIyODhhMWY=">>}], <<"{\"variables\":{\"user\":\"Alice_admin_revoke_token_test_unprep_1393@domain.example.com\"},\"query\":\"mutation ($user: JID!) { token { revokeToken(user: $user) } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 23 Apr 2024 11:38:59 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"44">>}], <<"{\"data\":{\"token\":{\"revokeToken\":\"Revoked\"}}}">>,182,12634} Params: #{port => 5541,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, creds => {<<"admin@domain.example.com">>,<<"a22baa99eb288a1f">>}, method => <<"POST">>, body => <<"{\"variables\":{\"user\":\"Alice_admin_revoke_token_test_unprep_1393@domain.example.com\"},\"query\":\"mutation ($user: JID!) { token { revokeToken(user: $user) } }\"}">>, role => {graphql,domain_admin}, return_maps => true,return_headers => true}
*** User 2024-04-23 11:39:00.260 ***🔗 alice_admin_revoke_token_test_unprep_1393@domain.example.com/res1 out </stream:stream>
*** User 2024-04-23 11:39:00.260 ***🔗 alice_admin_revoke_token_test_unprep_1393@domain.example.com/res1 in </stream:stream>
=== Ended at 2024-04-23 11:39:00 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result