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

=== Config value:

    [{watchdog,<0.30707.1>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.users_api_SUITE.logs/run.2022-05-25_10.53.46/users_api_suite.user_transaction.75523.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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.users_api_SUITE.logs/run.2022-05-25_10.53.46/log_private/"},
     {riak_auth,true}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09"

=== Started at 2022-05-25 10:54:07


*** CT 2022-05-25 10:54:07.515 *** View log from node mongooseim@localhost when started mongooseim@localhost_5743.html
*** CT 2022-05-25 10:54:07.515 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2030.html

*** User 2022-05-25 10:54:07.520 ***
REST request:
Code: 200
Req: {<0.30715.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1f1cf485472a6a4e">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:06 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"375">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_info_with_mam_1210\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_1206\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1209\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1207\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1208\",\"host\":\"localhost\"}}],\"count\":5}">>,
         514,2843}
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-25 10:54:07.524 ***
REST request:
Code: 204
Req: {<0.30717.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c6d3a9aa4c686fc5">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:06 GMT">>}],
         <<>>,94,3143}
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-25 10:54:07.528 ***
REST request:
Code: 200
Req: {<0.30719.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7fa5cdedc7d46454">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:06 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"427">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_features_1207\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_1206\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1209\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1208\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1210\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}}],\"count\":6}">>,
         566,3351}
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-25 10:54:07.533 ***
REST request:
Code: 204
Req: {<0.30721.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7811afa2fe5ce983">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:06 GMT">>}],
         <<>>,94,4218}
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-25 10:54:07.537 ***
REST request:
Code: 200
Req: {<0.30723.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5900e1efed6080e9">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:06 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"427">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_features_1207\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_1206\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1209\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1210\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1208\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}}],\"count\":6}">>,
         566,3267}
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-25 10:54:07.541 ***
REST request:
Code: 204
Req: {<0.30725.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e087a5d992f8fd57">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:06 GMT">>}],
         <<>>,94,2970}
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-25 10:54:07.546 ***
REST request:
Code: 200
Req: {<0.30727.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4a47a7adf7ec804b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:06 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"480">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_service_1206\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1209\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1210\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1207\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1208\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy2\",\"host\":\"localhost\"}}],\"count\":7}">>,
         619,3906}
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-25 10:54:07.558 ***
REST request:
Code: 204
Req: {<0.30729.1>,<<"/api/users/host/localhost/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9ea1cda3add3da2f">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:06 GMT">>}],
         <<>>,94,11199}
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-25 10:54:07.580 ***
REST request:
Code: 204
Req: {<0.30731.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"44b79c4b68da7622">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:06 GMT">>}],
         <<>>,94,20954}
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-25 10:54:07.583 ***
REST request:
Code: 200
Req: {<0.30733.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7e83890e33f86ca5">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:06 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"375">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_service_1206\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_1209\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1210\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1207\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1208\",\"host\":\"localhost\"}}],\"count\":5}">>,
         514,2589}
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-25 10:54:12.634 ***
{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-25 10:54:12.636 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2030.html
*** CT 2022-05-25 10:54:12.637 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5743.html



=== Ended at 2022-05-25 10:54:12
=== successfully completed test case
=== === Returned value: ok


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