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

=== Config value:

    [{watchdog,<0.22289.1>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.users_api_SUITE.logs/run.2022-03-03_10.39.53/users_api_suite.user_transaction.84738.html"},
     {tc_group_properties,[{repeat_until_any_fail,3},
                           {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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.users_api_SUITE.logs/run.2022-03-03_10.39.53/log_private/"},
     {riak_auth,false}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39"

=== Started at 2022-03-03 10:39:54


*** CT 2022-03-03 10:39:54.326 *** View log from node mongooseim@localhost when started mongooseim@localhost_5511.html
*** CT 2022-03-03 10:39:54.327 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2378.html

*** User 2022-03-03 10:39:54.329 ***
REST request:
Code: 200
Req: {<0.22297.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"188187afe0610b7c">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:39:53 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"370">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_info_with_mam_963\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_962\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_961\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_960\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_959\",\"host\":\"localhost\"}}],\"count\":5}">>,
         509,1145}
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-03-03 10:39:54.331 ***
REST request:
Code: 204
Req: {<0.22299.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3c85c1b1fb576ffb">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:39:53 GMT">>}],
         <<>>,94,1180}
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-03-03 10:39:54.333 ***
REST request:
Code: 200
Req: {<0.22301.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"634251009357e122">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:39:53 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"422">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_963\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_962\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_961\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_960\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_959\",\"host\":\"localhost\"}}],\"count\":6}">>,
         561,913}
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-03-03 10:39:54.335 ***
REST request:
Code: 204
Req: {<0.22303.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7802206728e1ba38">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:39:53 GMT">>}],
         <<>>,94,1466}
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-03-03 10:39:54.337 ***
REST request:
Code: 200
Req: {<0.22305.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c4da84ddc3b0ca56">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:39:53 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"422">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_963\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_962\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_961\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_960\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_959\",\"host\":\"localhost\"}}],\"count\":6}">>,
         561,784}
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-03-03 10:39:54.338 ***
REST request:
Code: 204
Req: {<0.22307.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"dca42dd94dc4853e">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:39:53 GMT">>}],
         <<>>,94,1113}
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-03-03 10:39:54.340 ***
REST request:
Code: 200
Req: {<0.22309.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"bc757345bfb9f83b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:39:53 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_963\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_962\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_961\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_960\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_959\",\"host\":\"localhost\"}}],\"count\":7}">>,
         614,823}
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-03-03 10:39:54.342 ***
REST request:
Code: 204
Req: {<0.22311.1>,<<"/api/users/host/localhost/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"714046907a0c5f88">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:39:53 GMT">>}],
         <<>>,94,1618}
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-03-03 10:39:54.344 ***
REST request:
Code: 204
Req: {<0.22313.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7c801d045a344e24">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:39:53 GMT">>}],
         <<>>,94,1441}
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-03-03 10:39:54.346 ***
REST request:
Code: 200
Req: {<0.22315.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"99515a8e51a0da7b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:39:53 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"370">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_info_with_mam_963\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_962\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_961\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_960\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_959\",\"host\":\"localhost\"}}],\"count\":5}">>,
         509,795}
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-03-03 10:39:54.347 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2378.html
*** CT 2022-03-03 10:39:54.348 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5511.html



=== Ended at 2022-03-03 10:39:54
=== successfully completed test case
=== === Returned value: ok


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