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

=== Config value:

    [{watchdog,<0.20639.1>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.users_api_SUITE.logs/run.2022-01-27_15.35.31/users_api_suite.user_transaction.html"},
     {tc_group_properties,[{suite,users_api_SUITE},
                           {name,transaction},
                           {repeat_until_any_fail,10}]},
     {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@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.users_api_SUITE.logs/run.2022-01-27_15.35.31/log_private/"},
     {riak_auth,false}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27"

=== Started at 2022-01-27 15:35:31


*** CT 2022-01-27 15:35:31.867 *** View log from node mongooseim@localhost when started mongooseim@localhost_5488.html
*** CT 2022-01-27 15:35:31.868 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2357.html

*** User 2022-01-27 15:35:31.870 ***
REST request:
Code: 200
Req: {<0.20648.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fa3b0e592b82119f">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"370">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_info_with_mam_808\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_807\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_806\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_805\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_804\",\"host\":\"localhost\"}}],\"count\":5}">>,
         509,1275}
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-01-27 15:35:31.872 ***
REST request:
Code: 204
Req: {<0.20650.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"14f79434209a920a">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>}],
         <<>>,94,1348}
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-01-27 15:35:31.874 ***
REST request:
Code: 200
Req: {<0.20652.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ea84f13f392243c5">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"422">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_808\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_807\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_806\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_805\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_804\",\"host\":\"localhost\"}}],\"count\":6}">>,
         561,982}
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-01-27 15:35:31.876 ***
REST request:
Code: 204
Req: {<0.20654.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3eafc7f8aa17f96f">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>}],
         <<>>,94,1625}
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-01-27 15:35:31.878 ***
REST request:
Code: 200
Req: {<0.20656.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"04837900512a8c16">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"422">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_808\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_807\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_806\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_805\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_804\",\"host\":\"localhost\"}}],\"count\":6}">>,
         561,822}
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-01-27 15:35:31.880 ***
REST request:
Code: 204
Req: {<0.20658.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3fe6c0981268c943">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>}],
         <<>>,94,1366}
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-01-27 15:35:31.881 ***
REST request:
Code: 200
Req: {<0.20660.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6530668651fea46a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"475">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"http_guy2\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_808\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_807\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_806\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_805\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_804\",\"host\":\"localhost\"}}],\"count\":7}">>,
         614,826}
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-01-27 15:35:31.888 ***
REST request:
Code: 204
Req: {<0.20662.1>,<<"/api/users/host/localhost/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"997ad5df186d945b">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>}],
         <<>>,94,5627}
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-01-27 15:35:31.890 ***
REST request:
Code: 204
Req: {<0.20664.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ea6ba142ea7c2c0b">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>}],
         <<>>,94,1582}
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-01-27 15:35:31.891 ***
REST request:
Code: 200
Req: {<0.20666.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"55b90b77f8755504">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"370">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_info_with_mam_808\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_807\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_806\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_805\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_804\",\"host\":\"localhost\"}}],\"count\":5}">>,
         509,785}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/users/host/localhost">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}

*** CT 2022-01-27 15:35:31.894 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2357.html
*** CT 2022-01-27 15:35:31.896 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5488.html



=== Ended at 2022-01-27 15:35:31
=== successfully completed test case
=== === Returned value: ok


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