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

=== Config value:

    [{watchdog,<0.28112.1>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.users_api_SUITE.logs/run.2022-04-05_07.59.45/users_api_suite.user_transaction.67075.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@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.users_api_SUITE.logs/run.2022-04-05_07.59.45/log_private/"},
     {riak_auth,true}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@22b4515d438b.2022-04-05_07.43.19"

=== Started at 2022-04-05 08:00:07


*** CT 2022-04-05 08:00:07.165 *** View log from node mongooseim@localhost when started mongooseim@localhost_5489.html
*** CT 2022-04-05 08:00:07.165 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2034.html

*** User 2022-04-05 08:00:07.180 ***
REST request:
Code: 200
Req: {<0.28120.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e3a90b476de83f3c">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 05 Apr 2022 08:00:06 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"375">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_service_1183\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1184\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1185\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1187\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1186\",\"host\":\"localhost\"}}],\"count\":5}">>,
         514,12286}
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-04-05 08:00:07.190 ***
REST request:
Code: 204
Req: {<0.28122.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"aa7b6a5581a34c83">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 05 Apr 2022 08:00:06 GMT">>}],
         <<>>,94,8266}
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-04-05 08:00:07.197 ***
REST request:
Code: 200
Req: {<0.28124.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fcec454eee7e0b09">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 05 Apr 2022 08:00:06 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"427">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_service_1183\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1184\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1187\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1185\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1186\",\"host\":\"localhost\"}}],\"count\":6}">>,
         566,5584}
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-04-05 08:00:07.207 ***
REST request:
Code: 204
Req: {<0.28126.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"68f4639a6eb74693">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 05 Apr 2022 08:00:06 GMT">>}],
         <<>>,94,8521}
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-04-05 08:00:07.214 ***
REST request:
Code: 200
Req: {<0.28128.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a8b992eab99db5cb">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 05 Apr 2022 08:00:06 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"427">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_info_with_mam_1187\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_1183\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1184\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1185\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1186\",\"host\":\"localhost\"}}],\"count\":6}">>,
         566,5707}
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-04-05 08:00:07.225 ***
REST request:
Code: 204
Req: {<0.28130.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3781d8bd752d9d22">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 05 Apr 2022 08:00:06 GMT">>}],
         <<>>,94,8296}
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-04-05 08:00:07.236 ***
REST request:
Code: 200
Req: {<0.28132.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e8acf8bbf54ca91e">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 05 Apr 2022 08:00:06 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"480">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_features_with_mam_1185\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_1183\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1186\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy2\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1187\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1184\",\"host\":\"localhost\"}}],\"count\":7}">>,
         619,9535}
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-04-05 08:00:07.274 ***
REST request:
Code: 204
Req: {<0.28134.1>,<<"/api/users/host/localhost/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"899d24d0a0a871e2">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 05 Apr 2022 08:00:06 GMT">>}],
         <<>>,94,15411}
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-04-05 08:00:07.290 ***
REST request:
Code: 204
Req: {<0.28136.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8b92e5d9b9c72b1b">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 05 Apr 2022 08:00:06 GMT">>}],
         <<>>,94,14323}
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-04-05 08:00:07.310 ***
REST request:
Code: 200
Req: {<0.28138.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"70c74b1b21ce43cd">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 05 Apr 2022 08:00:06 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"375">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_features_with_mam_1185\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_1183\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1186\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1184\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1187\",\"host\":\"localhost\"}}],\"count\":5}">>,
         514,19338}
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-04-05 08:00:12.367 ***
{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-04-05 08:00:12.370 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2034.html
*** CT 2022-04-05 08:00:12.371 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5489.html



=== Ended at 2022-04-05 08:00:12
=== successfully completed test case
=== === Returned value: ok


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