=== Test case: users_api_SUITE:user_transaction/1 (click for source code)

=== Config value:

    [{watchdog,<0.29744.1>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@8dd706b7fd53.2022-05-18_09.59.49/big_tests.tests.users_api_SUITE.logs/run.2022-05-18_10.15.25/users_api_suite.user_transaction.96386.html"},
     {tc_group_properties,[{repeat_until_any_fail,6},
                           {suite,users_api_SUITE},
                           {name,transaction}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/users_api_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@8dd706b7fd53.2022-05-18_09.59.49/big_tests.tests.users_api_SUITE.logs/run.2022-05-18_10.15.25/log_private/"},
     {riak_auth,true}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@8dd706b7fd53.2022-05-18_09.59.49"

=== Started at 2022-05-18 10:15:46


*** CT 2022-05-18 10:15:46.283 *** View log from node mongooseim@localhost when started mongooseim@localhost_5734.html
*** CT 2022-05-18 10:15:46.283 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2023.html

*** User 2022-05-18 10:15:46.288 ***
REST request:
Code: 200
Req: {<0.29752.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fbc49dc208221a7d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 18 May 2022 10:15:45 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"375">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_features_with_mam_1198\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1197\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1199\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_1196\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1200\",\"host\":\"localhost\"}}],\"count\":5}">>,
         514,3128}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/users/host/localhost">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-18 10:15:46.291 ***
REST request:
Code: 204
Req: {<0.29754.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"cadadbb0bef7a63c">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 18 May 2022 10:15:45 GMT">>}],
         <<>>,94,2522}
Params: #{body => <<"{\"user\":{\"password\":\"my_http_password\"}}">>,
          method => <<"PUT">>,
          path => <<"/api/users/host/localhost/username/http_guy">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-18 10:15:46.294 ***
REST request:
Code: 200
Req: {<0.29756.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"90b13218d0716ad6">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 18 May 2022 10:15:45 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"427">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_features_with_mam_1198\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1197\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_1196\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1199\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1200\",\"host\":\"localhost\"}}],\"count\":6}">>,
         566,2338}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/users/host/localhost">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-18 10:15:46.298 ***
REST request:
Code: 204
Req: {<0.29758.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2917926f4d293c5a">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 18 May 2022 10:15:45 GMT">>}],
         <<>>,94,3395}
Params: #{body => <<"{\"user\":{\"password\":\"some_other_password\"}}">>,
          method => <<"PUT">>,
          path => <<"/api/users/host/localhost/username/http_guy">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-18 10:15:46.301 ***
REST request:
Code: 200
Req: {<0.29760.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0591b8180fa141bd">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 18 May 2022 10:15:45 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"427">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_features_1197\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1198\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1199\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1200\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_1196\",\"host\":\"localhost\"}}],\"count\":6}">>,
         566,1977}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/users/host/localhost">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-18 10:15:46.303 ***
REST request:
Code: 204
Req: {<0.29762.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a3352c3c1984ce57">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 18 May 2022 10:15:45 GMT">>}],
         <<>>,94,2198}
Params: #{body => <<"{\"user\":{\"password\":\"my_http_password\"}}">>,
          method => <<"PUT">>,
          path => <<"/api/users/host/localhost/username/http_guy2">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-18 10:15:46.306 ***
REST request:
Code: 200
Req: {<0.29764.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"84ec3b7383ad388a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 18 May 2022 10:15:45 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"480">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_features_1197\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1198\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1199\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_1196\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1200\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy2\",\"host\":\"localhost\"}}],\"count\":7}">>,
         619,2346}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/users/host/localhost">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-18 10:15:46.311 ***
REST request:
Code: 204
Req: {<0.29766.1>,<<"/api/users/host/localhost/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"785290f7598682a1">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 18 May 2022 10:15:45 GMT">>}],
         <<>>,94,4458}
Params: #{body => <<>>,method => <<"DELETE">>,
          path => <<"/api/users/host/localhost/username/http_guy">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-18 10:15:46.321 ***
REST request:
Code: 204
Req: {<0.29768.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"989f8678cc0cd085">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 18 May 2022 10:15:45 GMT">>}],
         <<>>,94,9608}
Params: #{body => <<>>,method => <<"DELETE">>,
          path => <<"/api/users/host/localhost/username/http_guy2">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-18 10:15:46.351 ***
REST request:
Code: 200
Req: {<0.29770.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4d239a71d92ac7a4">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 18 May 2022 10:15:45 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"375">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_service_1196\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1198\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1197\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1199\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1200\",\"host\":\"localhost\"}}],\"count\":5}">>,
         514,29290}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/users/host/localhost">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-05-18 10:15:51.402 ***
{rpc,0,
    [{times,50,
         {error,
             {badrpc,
                 {'EXIT',
                     {undef,
                         [{ejabberd_auth_riak,get_vh_registered_users_number,
                              [<<"localhost">>],
                              []}]}}},
             [{distributed_helper,rpc,
                  [#{node => mongooseim@localhost},
                   ejabberd_auth_riak,get_vh_registered_users_number,
                   [<<"localhost">>]],
                  [{file,
                       "/home/circleci/project/big_tests/tests/distributed_helper.erl"},
                   {line,117}]},
              {mongoose_helper,do_wait_until,2,
                  [{file,
                       "/home/circleci/project/big_tests/tests/mongoose_helper.erl"},
                   {line,374}]},
              {users_api_SUITE,wait_for_user_removal,1,
                  [{file,
                       "/home/circleci/project/big_tests/tests/users_api_SUITE.erl"},
                   {line,147}]},
              {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1783}]},
              {test_server,run_test_case_eval1,6,
                  [{file,"test_server.erl"},{line,1292}]},
              {test_server,run_test_case_eval,9,
                  [{file,"test_server.erl"},{line,1224}]}]}}]}
*** CT 2022-05-18 10:15:51.403 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2023.html
*** CT 2022-05-18 10:15:51.404 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5734.html



=== Ended at 2022-05-18 10:15:51
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result