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

=== Config value:

    [{watchdog,<0.21890.2>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.users_api_SUITE.logs/run.2022-04-04_15.16.45/users_api_suite.user_transaction.198530.html"},
     {tc_group_properties,[{repeat_until_any_fail,4},
                           {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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.users_api_SUITE.logs/run.2022-04-04_15.16.45/log_private/"},
     {riak_auth,false}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36"

=== Started at 2022-04-04 15:16:46


*** CT 2022-04-04 15:16:46.062 *** View log from node mongooseim@localhost when started mongooseim@localhost_5531.html
*** CT 2022-04-04 15:16:46.063 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2002.html

*** User 2022-04-04 15:16:46.066 ***
REST request:
Code: 200
Req: {<0.21898.2>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b1a8fac1a90343af">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 04 Apr 2022 15:16:45 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"users\":[],\"count\":0}">>,160,1204}
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-04-04 15:16:46.069 ***
REST request:
Code: 204
Req: {<0.21900.2>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"78999c1ee3c25da5">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 04 Apr 2022 15:16:45 GMT">>}],
         <<>>,94,2140}
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-04-04 15:16:46.070 ***
REST request:
Code: 200
Req: {<0.21902.2>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"181597b253a29663">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 04 Apr 2022 15:16:45 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"71">>}],
         <<"{\"users\":{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},\"count\":1}">>,
         209,753}
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-04-04 15:16:46.072 ***
REST request:
Code: 204
Req: {<0.21904.2>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d60620c877632bb5">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 04 Apr 2022 15:16:45 GMT">>}],
         <<>>,94,1613}
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-04-04 15:16:46.074 ***
REST request:
Code: 200
Req: {<0.21906.2>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2f440c4b02595dbc">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 04 Apr 2022 15:16:45 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"71">>}],
         <<"{\"users\":{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},\"count\":1}">>,
         209,785}
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-04-04 15:16:46.076 ***
REST request:
Code: 204
Req: {<0.21908.2>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4cfbb7e69cc3d1be">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 04 Apr 2022 15:16:45 GMT">>}],
         <<>>,94,1419}
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-04-04 15:16:46.077 ***
REST request:
Code: 200
Req: {<0.21910.2>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8dd907b774b80ceb">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 04 Apr 2022 15:16:45 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"126">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy2\",\"host\":\"localhost\"}}],\"count\":2}">>,
         265,796}
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-04-04 15:16:46.082 ***
REST request:
Code: 204
Req: {<0.21912.2>,<<"/api/users/host/localhost/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"80485522434a9740">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 04 Apr 2022 15:16:45 GMT">>}],
         <<>>,94,4199}
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-04-04 15:16:46.087 ***
REST request:
Code: 204
Req: {<0.21914.2>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c5b7cf0501488916">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 04 Apr 2022 15:16:45 GMT">>}],
         <<>>,94,3843}
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-04-04 15:16:46.088 ***
REST request:
Code: 200
Req: {<0.21916.2>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f9b34595ec804b7b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 04 Apr 2022 15:16:45 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"users\":[],\"count\":0}">>,160,697}
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-04-04 15:16:46.090 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2002.html
*** CT 2022-04-04 15:16:46.091 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5531.html



=== Ended at 2022-04-04 15:16:46
=== successfully completed test case
=== === Returned value: ok


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