=== Test case: inbox_SUITE:rest_api_bin_flush_user_errors/1 (click for source code) === Config value: [{watchdog,<0.35249.0>}, {inbox_opts,#{backend => rdbms_async,max_result_limit => infinity, iqdisc => no_queue, groupchat => [muclight], boxes => [<<"inbox">>,<<"archive">>,<<"bin">>,<<"other">>], delete_domain_limit => infinity,bin_ttl => 30, bin_clean_after => 3600000, async_writer => #{pool_size => 1}, reset_markers => [<<"displayed">>], aff_changes => true,remove_on_kicked => true}}, {preset,"odbc_mssql_mnesia"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/inbox_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.inbox_SUITE.logs/run.2023-11-17_15.17.37/inbox_suite.rest_api_bin_flush_user_errors.html"}, {tc_group_properties,[{name,bin}]}, {tc_group_path,[[{name,async_pools}]]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/inbox_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.inbox_SUITE.logs/run.2023-11-17_15.17.37/log_private/"}, {{saved_modules,mongooseim@localhost,<<"test type">>}, #{mod_vcard => #{matches => 30, host => {prefix,<<"vjud.">>}, search => true,backend => rdbms,iqdisc => parallel}, mod_roster => #{backend => rdbms,iqdisc => one_queue,versioning => false, store_current_id => false}, mod_amp => #{}, 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_sic => #{iqdisc => one_queue}, mod_presence => #{}, mod_disco => #{iqdisc => one_queue,users_can_see_hidden_services => false, server_info => [],extra_domains => []}, 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_bosh => #{backend => mnesia,inactivity => 30,max_pause => 120, max_wait => infinity,server_acks => false}, mod_cache_users => #{strategy => fifo,number_of_segments => 5,time_to_live => 2}, mod_carboncopy => #{iqdisc => no_queue}}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@9f12fc69b406.2023-11-17_15.10.18" === Started at 2023-11-17 15:17:43
*** User 2023-11-17 15:17:43.039 ***🔗 REST request fails: Code: 400 Req: {<0.35316.0>, <<"/api/inbox/domain.example.com/alicE_rest_api_bin_flush_user_errors_1447/x/bin">>, <<"DELETE">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"2d8bef585669821b">>}], <<>>} Result: {{<<"400">>,<<"Bad Request">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 17 Nov 2023 15:17:42 GMT">>}, {<<"content-type">>,<<"text/html">>}, {<<"content-length">>,<<"24">>}], <<"\"Invalid number of days\"">>,150,603} Params: #{path => <<"/api/inbox/domain.example.com/alicE_rest_api_bin_flush_user_errors_1447/x/bin">>, server => #{node => mongooseim@localhost}, method => <<"DELETE">>,body => <<>>,role => admin, return_headers => true}
*** User 2023-11-17 15:17:43.040 ***🔗 REST request fails: Code: 400 Req: {<0.35318.0>,<<"/api/inbox/domain.example.com/@/0/bin">>,<<"DELETE">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"66fb57421dd98555">>}], <<>>} Result: {{<<"400">>,<<"Bad Request">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 17 Nov 2023 15:17:42 GMT">>}, {<<"content-type">>,<<"text/html">>}, {<<"content-length">>,<<"13">>}], <<"\"Invalid JID\"">>,139,448} Params: #{path => <<"/api/inbox/domain.example.com/@/0/bin">>, server => #{node => mongooseim@localhost}, method => <<"DELETE">>,body => <<>>,role => admin, return_headers => true}
*** User 2023-11-17 15:17:43.042 ***🔗 REST request fails: Code: 404 Req: {<0.35320.0>, <<"/api/inbox/baddomain/alicE_rest_api_bin_flush_user_errors_1447/0/bin">>, <<"DELETE">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"abfd3eb2aad4b258">>}], <<>>} Result: {{<<"404">>,<<"Not Found">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 17 Nov 2023 15:17:42 GMT">>}, {<<"content-type">>,<<"text/html">>}, {<<"content-length">>,<<"18">>}], <<"\"Domain not found\"">>,142,484} Params: #{path => <<"/api/inbox/baddomain/alicE_rest_api_bin_flush_user_errors_1447/0/bin">>, server => #{node => mongooseim@localhost}, method => <<"DELETE">>,body => <<>>,role => admin, return_headers => true}
*** User 2023-11-17 15:17:43.043 ***🔗 REST request fails: Code: 404 Req: {<0.35322.0>,<<"/api/inbox/domain.example.com/baduser/0/bin">>, <<"DELETE">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"1b15d66ffe313e72">>}], <<>>} Result: {{<<"404">>,<<"Not Found">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 17 Nov 2023 15:17:42 GMT">>}, {<<"content-type">>,<<"text/html">>}, {<<"content-length">>,<<"48">>}], <<"\"User baduser@domain.example.com does not exist\"">>,172,927} Params: #{path => <<"/api/inbox/domain.example.com/baduser/0/bin">>, server => #{node => mongooseim@localhost}, method => <<"DELETE">>,body => <<>>,role => admin, return_headers => true}
=== Ended at 2023-11-17 15:17:43 === successfully completed test case === === Returned value: {{<<"404">>,<<"Not Found">>}, <<"User baduser@domain.example.com does not exist">>}
Test run history | Top level test index | Latest test result