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

=== Config value:

    [{watchdog,<0.22137.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.83586.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@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:53


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

*** User 2022-03-03 10:39:53.952 ***
REST request:
Code: 200
Req: {<0.22145.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2babbf524d19810e">>}],
      <<>>}
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,1148}
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:53.954 ***
REST request:
Code: 204
Req: {<0.22147.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"6807e5fe3fd9bfe2">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:39:53 GMT">>}],
         <<>>,94,1199}
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:53.955 ***
REST request:
Code: 200
Req: {<0.22149.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"98083bd79de6d00a">>}],
      <<>>}
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,817}
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:53.957 ***
REST request:
Code: 204
Req: {<0.22151.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"13074e91c1244370">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:39:53 GMT">>}],
         <<>>,94,1463}
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:53.958 ***
REST request:
Code: 200
Req: {<0.22153.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e00a8c0f4ccbeccf">>}],
      <<>>}
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,805}
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:53.960 ***
REST request:
Code: 204
Req: {<0.22155.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"899959225dddab5a">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:39:53 GMT">>}],
         <<>>,94,1196}
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:53.961 ***
REST request:
Code: 200
Req: {<0.22157.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"cd9aeb7944076479">>}],
      <<>>}
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,837}
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:53.963 ***
REST request:
Code: 204
Req: {<0.22159.1>,<<"/api/users/host/localhost/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"97141104e5d15644">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:39:53 GMT">>}],
         <<>>,94,1614}
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:53.965 ***
REST request:
Code: 204
Req: {<0.22161.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3cacdb833410bd0d">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Mar 2022 10:39:53 GMT">>}],
         <<>>,94,1494}
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:53.966 ***
REST request:
Code: 200
Req: {<0.22163.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ad64234e6970ff53">>}],
      <<>>}
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,839}
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:53.969 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2378.html
*** CT 2022-03-03 10:39:53.969 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5511.html



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


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