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

=== Config value:

    [{watchdog,<0.17426.2>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@c0783a4ae5cf.2022-02-03_16.28.29/big_tests.tests.users_api_SUITE.logs/run.2022-02-03_16.42.06/users_api_suite.user_transaction.117891.html"},
     {tc_group_properties,[{repeat_until_any_fail,6},
                           {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@c0783a4ae5cf.2022-02-03_16.28.29/big_tests.tests.users_api_SUITE.logs/run.2022-02-03_16.42.06/log_private/"},
     {riak_auth,false}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@c0783a4ae5cf.2022-02-03_16.28.29"

=== Started at 2022-02-03 16:42:07


*** CT 2022-02-03 16:42:07.117 *** View log from node mongooseim@localhost when started mongooseim@localhost_6352.html
*** CT 2022-02-03 16:42:07.118 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2412.html

*** User 2022-02-03 16:42:07.121 ***
REST request:
Code: 200
Req: {<0.17434.2>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4db8fb10b4b016da">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Feb 2022 16:42:07 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"users\":[],\"count\":0}">>,160,1131}
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-02-03 16:42:07.123 ***
REST request:
Code: 204
Req: {<0.17436.2>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"dd806e278293231d">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Feb 2022 16:42:07 GMT">>}],
         <<>>,94,1947}
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-02-03 16:42:07.125 ***
REST request:
Code: 200
Req: {<0.17438.2>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e3a2c1050f5f6f59">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Feb 2022 16:42:07 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"71">>}],
         <<"{\"users\":{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},\"count\":1}">>,
         209,745}
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-02-03 16:42:07.127 ***
REST request:
Code: 204
Req: {<0.17440.2>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c8b9c42da800dd5e">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Feb 2022 16:42:07 GMT">>}],
         <<>>,94,2119}
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-02-03 16:42:07.129 ***
REST request:
Code: 200
Req: {<0.17442.2>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"60e24e5ec5125c7d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Feb 2022 16:42:07 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"71">>}],
         <<"{\"users\":{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},\"count\":1}">>,
         209,854}
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-02-03 16:42:07.131 ***
REST request:
Code: 204
Req: {<0.17444.2>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ba5122ca660f3faf">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Feb 2022 16:42:07 GMT">>}],
         <<>>,94,1807}
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-02-03 16:42:07.132 ***
REST request:
Code: 200
Req: {<0.17446.2>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8030b780a2e0f4d9">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Feb 2022 16:42:07 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"126">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy2\",\"host\":\"localhost\"}}],\"count\":2}">>,
         265,775}
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-02-03 16:42:07.137 ***
REST request:
Code: 204
Req: {<0.17448.2>,<<"/api/users/host/localhost/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fdfd02ede575ee54">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Feb 2022 16:42:07 GMT">>}],
         <<>>,94,4223}
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-02-03 16:42:07.142 ***
REST request:
Code: 204
Req: {<0.17450.2>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ba97b2b8f07d252d">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Feb 2022 16:42:07 GMT">>}],
         <<>>,94,4114}
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-02-03 16:42:07.143 ***
REST request:
Code: 200
Req: {<0.17452.2>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d05ea20599522672">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 03 Feb 2022 16:42:07 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"users\":[],\"count\":0}">>,160,885}
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-02-03 16:42:07.146 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2412.html
*** CT 2022-02-03 16:42:07.147 *** View log from node mongooseim@localhost when finished mongooseim@localhost_6352.html



=== Ended at 2022-02-03 16:42:07
=== successfully completed test case
=== === Returned value: ok


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