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

=== Config value:

    [{watchdog,<0.27099.1>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@37839f4a29ed.2022-03-18_09.02.26/big_tests.tests.users_api_SUITE.logs/run.2022-03-18_09.17.54/users_api_suite.user_transaction.94210.html"},
     {tc_group_properties,[{repeat_until_any_fail,4},
                           {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@37839f4a29ed.2022-03-18_09.02.26/big_tests.tests.users_api_SUITE.logs/run.2022-03-18_09.17.54/log_private/"},
     {riak_auth,true}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@37839f4a29ed.2022-03-18_09.02.26"

=== Started at 2022-03-18 09:18:26


*** CT 2022-03-18 09:18:26.180 *** View log from node mongooseim@localhost when started mongooseim@localhost_5351.html
*** CT 2022-03-18 09:18:26.181 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2253.html

*** User 2022-03-18 09:18:26.185 ***
REST request:
Code: 200
Req: {<0.27107.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c338a4512d8f97a2">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 09:18:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"375">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_features_1115\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_1114\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1116\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1118\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1117\",\"host\":\"localhost\"}}],\"count\":5}">>,
         514,3227}
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-03-18 09:18:26.189 ***
REST request:
Code: 204
Req: {<0.27109.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ccd35ff78d0f86ad">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 09:18:25 GMT">>}],
         <<>>,94,3175}
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-03-18 09:18:26.194 ***
REST request:
Code: 200
Req: {<0.27111.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c9487ef5c2b07f7d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 09:18:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"427">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_service_1114\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1115\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1116\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1118\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1117\",\"host\":\"localhost\"}}],\"count\":6}">>,
         566,3792}
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-03-18 09:18:26.199 ***
REST request:
Code: 204
Req: {<0.27113.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e080b98e0236d579">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 09:18:25 GMT">>}],
         <<>>,94,4320}
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-03-18 09:18:26.203 ***
REST request:
Code: 200
Req: {<0.27115.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4486a2cb6750bb75">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 09:18:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"427">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_service_1114\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1115\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1118\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1116\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1117\",\"host\":\"localhost\"}}],\"count\":6}">>,
         566,3097}
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-03-18 09:18:26.208 ***
REST request:
Code: 204
Req: {<0.27117.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3d33074b65c9ca39">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 09:18:25 GMT">>}],
         <<>>,94,3222}
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-03-18 09:18:26.217 ***
REST request:
Code: 200
Req: {<0.27119.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0482d0a2e490e21e">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 09:18:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"480">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_service_1114\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1115\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1116\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1118\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1117\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy2\",\"host\":\"localhost\"}}],\"count\":7}">>,
         619,8604}
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-03-18 09:18:26.233 ***
REST request:
Code: 204
Req: {<0.27121.1>,<<"/api/users/host/localhost/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1f60a6b8e648167f">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 09:18:25 GMT">>}],
         <<>>,94,14494}
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-03-18 09:18:26.240 ***
REST request:
Code: 204
Req: {<0.27123.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8fb8ec14e3d7dde3">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 09:18:25 GMT">>}],
         <<>>,94,5920}
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-03-18 09:18:26.244 ***
REST request:
Code: 200
Req: {<0.27125.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"52c5b5438e231d9b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 18 Mar 2022 09:18:25 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"375">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_service_1114\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1115\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1118\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1116\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1117\",\"host\":\"localhost\"}}],\"count\":5}">>,
         514,3324}
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-03-18 09:18:31.295 ***
{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-03-18 09:18:31.297 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2253.html
*** CT 2022-03-18 09:18:31.298 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5351.html



=== Ended at 2022-03-18 09:18:31
=== successfully completed test case
=== === Returned value: ok


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