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

=== Config value:

    [{watchdog,<0.30669.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.75139.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@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:02


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

*** User 2022-05-25 10:54:02.325 ***
REST request:
Code: 200
Req: {<0.30677.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"646928d6eabb8e9c">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:01 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"375">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_info_1209\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_1206\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1210\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1208\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1207\",\"host\":\"localhost\"}}],\"count\":5}">>,
         514,3006}
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:02.329 ***
REST request:
Code: 204
Req: {<0.30679.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f28c1ffc1cae9ce7">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:01 GMT">>}],
         <<>>,94,3268}
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:02.332 ***
REST request:
Code: 200
Req: {<0.30681.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fda477c845690bce">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:01 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"427">>}],
         <<"{\"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\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1208\",\"host\":\"localhost\"}}],\"count\":6}">>,
         566,2543}
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:02.338 ***
REST request:
Code: 204
Req: {<0.30683.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"00b8b290e8b33e1f">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:01 GMT">>}],
         <<>>,94,4481}
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:02.341 ***
REST request:
Code: 200
Req: {<0.30685.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"de89ef19870c7a52">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:01 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"427">>}],
         <<"{\"users\":[{\"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_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,2771}
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:02.348 ***
REST request:
Code: 204
Req: {<0.30687.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6ffee6f190f9f5f6">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:01 GMT">>}],
         <<>>,94,4425}
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:02.357 ***
REST request:
Code: 200
Req: {<0.30689.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f571031a0f3cb199">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:01 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"480">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_info_1209\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_1206\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1210\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1208\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_1207\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy2\",\"host\":\"localhost\"}}],\"count\":7}">>,
         619,7991}
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:02.377 ***
REST request:
Code: 204
Req: {<0.30691.1>,<<"/api/users/host/localhost/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"80671d8da1ad370c">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:01 GMT">>}],
         <<>>,94,15187}
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:02.384 ***
REST request:
Code: 204
Req: {<0.30693.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a9f30790b535da2c">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:01 GMT">>}],
         <<>>,94,5271}
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:02.388 ***
REST request:
Code: 200
Req: {<0.30695.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5774785e9b4586e3">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 25 May 2022 10:54:01 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_features_1207\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_1210\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_1208\",\"host\":\"localhost\"}}],\"count\":5}">>,
         514,3010}
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.438 ***
{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:07.440 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2030.html
*** CT 2022-05-25 10:54:07.441 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5743.html



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


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