=== 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">>,<<"f32fd425f2cdbc3e">>}}, {schema_endpoint,domain_admin}, {watchdog,<0.32195.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_token_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@441570a56cc3.2024-04-23_06.45.55/big_tests.tests.graphql_token_SUITE.logs/run.2024-04-23_06.51.10/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@441570a56cc3.2024-04-23_06.45.55/big_tests.tests.graphql_token_SUITE.logs/run.2024-04-23_06.51.10/log_private/"}, {{saved_modules,mongooseim@localhost,<<"test type">>}, #{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}}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@441570a56cc3.2024-04-23_06.45.55" === Started at 2024-04-23 06:51:10
*** User 2024-04-23 06:51:10.946 ***🔗 alicE_admin_revoke_token_test_unprep_1379@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 06:51:10.946 ***🔗 alicE_admin_revoke_token_test_unprep_1379@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='080721c39abb5baf' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-04-23 06:51:10.946 ***🔗 alicE_admin_revoke_token_test_unprep_1379@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 06:51:10.946 ***🔗 alicE_admin_revoke_token_test_unprep_1379@domain.example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkbWluX3Jldm9rZV90b2tlbl90ZXN0X3VucHJlcF8xMzc5AG1hdHlncnlzYQ==</auth>
*** User 2024-04-23 06:51:10.947 ***🔗 alicE_admin_revoke_token_test_unprep_1379@domain.example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 06:51:10.947 ***🔗 alicE_admin_revoke_token_test_unprep_1379@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 06:51:10.948 ***🔗 alicE_admin_revoke_token_test_unprep_1379@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f8173958fdb4eadd' from='domain.example.com' version='1.0' xml:lang='en' to='alice_admin_revoke_token_test_unprep_1379@domain.example.com'>
*** User 2024-04-23 06:51:10.948 ***🔗 alicE_admin_revoke_token_test_unprep_1379@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 06:51:10.948 ***🔗 alicE_admin_revoke_token_test_unprep_1379@domain.example.com/res1 out <iq type='set' id='a6651f3e505db1f753435f7f0451dd1a'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-04-23 06:51:10.948 ***🔗 alicE_admin_revoke_token_test_unprep_1379@domain.example.com/res1 in <iq id='a6651f3e505db1f753435f7f0451dd1a' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_admin_revoke_token_test_unprep_1379@domain.example.com/res1</jid> </bind> </iq>
*** User 2024-04-23 06:51:10.948 ***🔗 alice_admin_revoke_token_test_unprep_1379@domain.example.com/res1 out <iq type='set' id='1c89b07784b86e2022928926794f3469'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-23 06:51:10.949 ***🔗 alice_admin_revoke_token_test_unprep_1379@domain.example.com/res1 in <iq from='domain.example.com' to='alice_admin_revoke_token_test_unprep_1379@domain.example.com/res1' id='1c89b07784b86e2022928926794f3469' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-04-23 06:51:10.949 ***🔗 alice_admin_revoke_token_test_unprep_1379@domain.example.com/res1 out <presence/>
*** User 2024-04-23 06:51:10.950 ***🔗 alice_admin_revoke_token_test_unprep_1379@domain.example.com/res1 in <presence from='alice_admin_revoke_token_test_unprep_1379@domain.example.com/res1' to='alice_admin_revoke_token_test_unprep_1379@domain.example.com/res1'/>
*** User 2024-04-23 06:51:10.960 ***🔗 REST request: Code: 200 Req: {<0.32288.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"3b82eb955890a5b0">>}, {<<"authorization">>, <<"Basic YWRtaW5AZG9tYWluLmV4YW1wbGUuY29tOmYzMmZkNDI1ZjJjZGJjM2U=">>}], <<"{\"variables\":{\"user\":\"Alice_admin_revoke_token_test_unprep_1379@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 06:51:10 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"452">>}], <<"{\"data\":{\"token\":{\"requestToken\":{\"refresh\":\"refresh\\u0000alice_admin_revoke_token_test_unprep_1379@domain.example.com\\u000063881160670\\u00001\\u0000d3f9320e2bfa495573580c8522ed8d965af724cf93566c0b02b527fbfb41e2ed84086c35bb9a3d0804c5a8d4986d36a0\",\"access\":\"access\\u0000alice_admin_revoke_token_test_unprep_1379@domain.example.com\\u000063881077870\\u00008d7521f4565c40d3f946074a3e7c241b410685aeb68252fe1b79b322cd45fb02e0d9702e3c49d739f3331d0bb3d13716\"}}}}">>, 591,7746} Params: #{body => <<"{\"variables\":{\"user\":\"Alice_admin_revoke_token_test_unprep_1379@domain.example.com\"},\"query\":\"mutation ($user: JID!) { token { requestToken(user: $user) { access refresh } } }\"}">>, creds => {<<"admin@domain.example.com">>,<<"f32fd425f2cdbc3e">>}, method => <<"POST">>,path => <<"/api/graphql">>,port => 5541, return_headers => true,return_maps => true, role => {graphql,domain_admin}, server => #{node => mongooseim@localhost}}
*** User 2024-04-23 06:51:10.969 ***🔗 REST request: Code: 200 Req: {<0.32290.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"fbc9b44a8010ae11">>}, {<<"authorization">>, <<"Basic YWRtaW5AZG9tYWluLmV4YW1wbGUuY29tOmYzMmZkNDI1ZjJjZGJjM2U=">>}], <<"{\"variables\":{\"user\":\"Alice_admin_revoke_token_test_unprep_1379@domain.example.com\"},\"query\":\"mutation ($user: JID!) { token { revokeToken(user: $user) } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 23 Apr 2024 06:51:10 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"44">>}], <<"{\"data\":{\"token\":{\"revokeToken\":\"Revoked\"}}}">>,182,8080} Params: #{body => <<"{\"variables\":{\"user\":\"Alice_admin_revoke_token_test_unprep_1379@domain.example.com\"},\"query\":\"mutation ($user: JID!) { token { revokeToken(user: $user) } }\"}">>, creds => {<<"admin@domain.example.com">>,<<"f32fd425f2cdbc3e">>}, method => <<"POST">>,path => <<"/api/graphql">>,port => 5541, return_headers => true,return_maps => true, role => {graphql,domain_admin}, server => #{node => mongooseim@localhost}}
*** User 2024-04-23 06:51:10.969 ***🔗 alice_admin_revoke_token_test_unprep_1379@domain.example.com/res1 out </stream:stream>
*** User 2024-04-23 06:51:10.970 ***🔗 alice_admin_revoke_token_test_unprep_1379@domain.example.com/res1 in </stream:stream>
=== Ended at 2024-04-23 06:51:10 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result