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

=== Config value:

    [{watchdog,<0.18944.2>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.users_api_SUITE.logs/run.2022-03-04_11.29.23/users_api_suite.user_transaction.html"},
     {tc_group_properties,[{suite,users_api_SUITE},
                           {name,transaction},
                           {repeat_until_any_fail,10}]},
     {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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.users_api_SUITE.logs/run.2022-03-04_11.29.23/log_private/"},
     {riak_auth,false}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:29:24


*** CT 2022-03-04 11:29:24.091 *** View log from node mongooseim@localhost when started mongooseim@localhost_6384.html
*** CT 2022-03-04 11:29:24.092 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2369.html

*** User 2022-03-04 11:29:24.094 ***
REST request:
Code: 200
Req: {<0.18953.2>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3757e2dbc03fdd8d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:29:23 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"users\":[],\"count\":0}">>,160,1070}
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-04 11:29:24.096 ***
REST request:
Code: 204
Req: {<0.18955.2>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"989b47ee832018a7">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:29:23 GMT">>}],
         <<>>,94,1232}
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-04 11:29:24.098 ***
REST request:
Code: 200
Req: {<0.18957.2>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"370b0f0d4c9f4a7f">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:29:23 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"71">>}],
         <<"{\"users\":{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},\"count\":1}">>,
         209,598}
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-04 11:29:24.100 ***
REST request:
Code: 204
Req: {<0.18959.2>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b49be8f93287612d">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:29:23 GMT">>}],
         <<>>,94,1276}
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-04 11:29:24.101 ***
REST request:
Code: 200
Req: {<0.18961.2>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5ce1fa26123dcb6a">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:29:23 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"71">>}],
         <<"{\"users\":{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},\"count\":1}">>,
         209,471}
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-04 11:29:24.102 ***
REST request:
Code: 204
Req: {<0.18963.2>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"13b3b3cf03495aee">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:29:23 GMT">>}],
         <<>>,94,862}
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-04 11:29:24.103 ***
REST request:
Code: 200
Req: {<0.18965.2>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"75a5672f5bc8e52d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:29:23 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"126">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy2\",\"host\":\"localhost\"}}],\"count\":2}">>,
         265,534}
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-04 11:29:24.106 ***
REST request:
Code: 204
Req: {<0.18967.2>,<<"/api/users/host/localhost/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"860c681cfd3a472a">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:29:23 GMT">>}],
         <<>>,94,2132}
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-04 11:29:24.109 ***
REST request:
Code: 204
Req: {<0.18969.2>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"17999d55925eee87">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:29:23 GMT">>}],
         <<>>,94,2141}
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-04 11:29:24.110 ***
REST request:
Code: 200
Req: {<0.18971.2>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9d89c9a67ed8d84d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:29:23 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"users\":[],\"count\":0}">>,160,460}
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-04 11:29:24.113 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2369.html
*** CT 2022-03-04 11:29:24.113 *** View log from node mongooseim@localhost when finished mongooseim@localhost_6384.html



=== Ended at 2022-03-04 11:29:24
=== successfully completed test case
=== === Returned value: ok


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