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

=== Config value:

    [{watchdog,<0.4987.2>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.users_api_SUITE.logs/run.2022-03-07_16.06.45/users_api_suite.user_transaction.106755.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@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.users_api_SUITE.logs/run.2022-03-07_16.06.45/log_private/"},
     {riak_auth,false}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@333794cb5a72.2022-03-07_15.57.24"

=== Started at 2022-03-07 16:06:45


*** CT 2022-03-07 16:06:45.778 *** View log from node mongooseim@localhost when started mongooseim@localhost_2072.html
*** CT 2022-03-07 16:06:45.780 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_584.html

*** User 2022-03-07 16:06:45.783 ***
REST request:
Code: 200
Req: {<0.4995.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b11ef1910dc8b009">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:06:45 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"users\":[],\"count\":0}">>,160,921}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/users/host/domain.example.com">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:06:45.785 ***
REST request:
Code: 204
Req: {<0.4997.2>,<<"/api/users/host/domain.example.com/username/http_guy">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7b84a9a6cfa18c29">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:06:45 GMT">>}],
         <<>>,94,2250}
Params: #{body => <<"{\"user\":{\"password\":\"my_http_password\"}}">>,
          method => <<"PUT">>,
          path => <<"/api/users/host/domain.example.com/username/http_guy">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:06:45.787 ***
REST request:
Code: 200
Req: {<0.4999.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d97032e49d510f07">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:06:45 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"80">>}],
         <<"{\"users\":{\"user\":{\"username\":\"http_guy\",\"host\":\"domain.example.com\"}},\"count\":1}">>,
         218,536}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/users/host/domain.example.com">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:06:45.802 ***
REST request:
Code: 204
Req: {<0.5001.2>,<<"/api/users/host/domain.example.com/username/http_guy">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b286afa33d96ab30">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:06:45 GMT">>}],
         <<>>,94,14358}
Params: #{body => <<"{\"user\":{\"password\":\"some_other_password\"}}">>,
          method => <<"PUT">>,
          path => <<"/api/users/host/domain.example.com/username/http_guy">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:06:45.803 ***
REST request:
Code: 200
Req: {<0.5003.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c42002a5f8512c39">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:06:45 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"80">>}],
         <<"{\"users\":{\"user\":{\"username\":\"http_guy\",\"host\":\"domain.example.com\"}},\"count\":1}">>,
         218,704}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/users/host/domain.example.com">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:06:45.805 ***
REST request:
Code: 204
Req: {<0.5005.2>,<<"/api/users/host/domain.example.com/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"adead0a7de6cfb3e">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:06:45 GMT">>}],
         <<>>,94,1529}
Params: #{body => <<"{\"user\":{\"password\":\"my_http_password\"}}">>,
          method => <<"PUT">>,
          path => <<"/api/users/host/domain.example.com/username/http_guy2">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:06:45.807 ***
REST request:
Code: 200
Req: {<0.5007.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e08ad1f4ae7acd89">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:06:45 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"144">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"http_guy\",\"host\":\"domain.example.com\"}},{\"user\":{\"username\":\"http_guy2\",\"host\":\"domain.example.com\"}}],\"count\":2}">>,
         283,545}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/users/host/domain.example.com">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:06:45.811 ***
REST request:
Code: 204
Req: {<0.5009.2>,<<"/api/users/host/domain.example.com/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"05a85347b5c0482f">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:06:45 GMT">>}],
         <<>>,94,3540}
Params: #{body => <<>>,method => <<"DELETE">>,
          path => <<"/api/users/host/domain.example.com/username/http_guy">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:06:45.816 ***
REST request:
Code: 204
Req: {<0.5011.2>,<<"/api/users/host/domain.example.com/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ef6f52b122119b91">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:06:45 GMT">>}],
         <<>>,94,3826}
Params: #{body => <<>>,method => <<"DELETE">>,
          path => <<"/api/users/host/domain.example.com/username/http_guy2">>,
          port => 5288,return_headers => true,return_maps => true,
          role => client,
          server => #{node => mongooseim@localhost}}


*** User 2022-03-07 16:06:45.817 ***
REST request:
Code: 200
Req: {<0.5013.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d91edf3e4e0d3998">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:06:45 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"users\":[],\"count\":0}">>,160,506}
Params: #{body => <<>>,method => <<"GET">>,
          path => <<"/api/users/host/domain.example.com">>,port => 5288,
          return_headers => true,return_maps => true,role => client,
          server => #{node => mongooseim@localhost}}

*** CT 2022-03-07 16:06:45.819 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_584.html
*** CT 2022-03-07 16:06:45.820 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2072.html



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


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