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

=== Config value:

    [{watchdog,<0.32105.1>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.users_api_SUITE.logs/run.2022-06-22_08.59.48/users_api_suite.user_transaction.61827.html"},
     {tc_group_properties,[{repeat_until_any_fail,7},
                           {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@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.users_api_SUITE.logs/run.2022-06-22_08.59.48/log_private/"},
     {riak_auth,true}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58"

=== Started at 2022-06-22 09:00:04


*** CT 2022-06-22 09:00:04.287 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5144.html
*** CT 2022-06-22 09:00:04.287 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_2021.html

*** User 2022-06-22 09:00:04.291 ***🔗
REST request:
Code: 200
Req: {<0.32113.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e5aca071539b0c1e">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:00:03 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"375">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_service_1337\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1338\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1339\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1341\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1340\",\"host\":\"localhost\"}}],\"count\":5}">>,
         514,2614}
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-06-22 09:00:04.294 ***🔗
REST request:
Code: 204
Req: {<0.32115.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"55d435092a9c71ca">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:00:03 GMT">>}],
         <<>>,94,2596}
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-06-22 09:00:04.297 ***🔗
REST request:
Code: 200
Req: {<0.32117.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"56e215229d6806ff">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:00:03 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"427">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_service_1337\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1341\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1338\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1339\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1340\",\"host\":\"localhost\"}}],\"count\":6}">>,
         566,2534}
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-06-22 09:00:04.301 ***🔗
REST request:
Code: 204
Req: {<0.32119.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7bd44d2a257b7be1">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:00:03 GMT">>}],
         <<>>,94,3236}
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-06-22 09:00:04.304 ***🔗
REST request:
Code: 200
Req: {<0.32121.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9f16c5f0f614e8de">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:00:03 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"427">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_service_1337\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1341\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1338\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1339\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1340\",\"host\":\"localhost\"}}],\"count\":6}">>,
         566,2053}
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-06-22 09:00:04.307 ***🔗
REST request:
Code: 204
Req: {<0.32123.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8914df224b5631ae">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:00:03 GMT">>}],
         <<>>,94,2302}
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-06-22 09:00:04.315 ***🔗
REST request:
Code: 200
Req: {<0.32125.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"62af2d39f855791f">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:00:03 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"480">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_service_1337\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1338\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1341\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1339\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy2\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1340\",\"host\":\"localhost\"}}],\"count\":7}">>,
         619,7337}
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-06-22 09:00:04.358 ***🔗
REST request:
Code: 204
Req: {<0.32127.1>,<<"/api/users/host/localhost/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5fd161836641116d">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:00:03 GMT">>}],
         <<>>,94,43028}
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-06-22 09:00:04.363 ***🔗
REST request:
Code: 204
Req: {<0.32129.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2c5e00d9ae4ece83">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:00:03 GMT">>}],
         <<>>,94,3940}
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-06-22 09:00:04.365 ***🔗
REST request:
Code: 200
Req: {<0.32131.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"cb885a94e1afd737">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:00:03 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"375">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_info_with_mam_1341\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1339\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1338\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_1337\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1340\",\"host\":\"localhost\"}}],\"count\":5}">>,
         514,2082}
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-06-22 09:00:09.416 ***🔗
{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-06-22 09:00:09.417 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_2021.html
*** CT 2022-06-22 09:00:09.418 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5144.html



=== Ended at 2022-06-22 09:00:09
=== successfully completed test case
=== === Returned value: ok


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