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

=== Config value:

    [{watchdog,<0.3819.2>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.users_api_SUITE.logs/run.2022-03-04_11.26.29/users_api_suite.user_transaction.166530.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.users_api_SUITE.logs/run.2022-03-04_11.26.29/log_private/"},
     {riak_auth,false}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:26:30


*** CT 2022-03-04 11:26:30.218 *** View log from node mongooseim@localhost when started mongooseim@localhost_3112.html
*** CT 2022-03-04 11:26:30.218 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_704.html

*** User 2022-03-04 11:26:30.221 ***
REST request:
Code: 200
Req: {<0.3827.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"1a0746f935de9ea1">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:26:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"users\":[],\"count\":0}">>,160,1185}
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-04 11:26:30.224 ***
REST request:
Code: 204
Req: {<0.3829.2>,<<"/api/users/host/domain.example.com/username/http_guy">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"63e56dd76c050291">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:26:30 GMT">>}],
         <<>>,94,1969}
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-04 11:26:30.225 ***
REST request:
Code: 200
Req: {<0.3831.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"3c947deb4f3a02d6">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:26:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"80">>}],
         <<"{\"users\":{\"user\":{\"username\":\"http_guy\",\"host\":\"domain.example.com\"}},\"count\":1}">>,
         218,599}
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-04 11:26:30.227 ***
REST request:
Code: 204
Req: {<0.3833.2>,<<"/api/users/host/domain.example.com/username/http_guy">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2902ece73842b94d">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:26:30 GMT">>}],
         <<>>,94,1679}
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-04 11:26:30.228 ***
REST request:
Code: 200
Req: {<0.3835.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"633be94bcc748f5c">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:26:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"80">>}],
         <<"{\"users\":{\"user\":{\"username\":\"http_guy\",\"host\":\"domain.example.com\"}},\"count\":1}">>,
         218,533}
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-04 11:26:30.231 ***
REST request:
Code: 204
Req: {<0.3837.2>,<<"/api/users/host/domain.example.com/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7c28d60a8272d510">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:26:30 GMT">>}],
         <<>>,94,1466}
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-04 11:26:30.232 ***
REST request:
Code: 200
Req: {<0.3839.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ce3e78a62efd2b88">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:26:30 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,548}
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-04 11:26:30.236 ***
REST request:
Code: 204
Req: {<0.3841.2>,<<"/api/users/host/domain.example.com/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"821110a0596724f1">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:26:30 GMT">>}],
         <<>>,94,3555}
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-04 11:26:30.240 ***
REST request:
Code: 204
Req: {<0.3843.2>,<<"/api/users/host/domain.example.com/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"aa35b1dc4412f097">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:26:30 GMT">>}],
         <<>>,94,3457}
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-04 11:26:30.241 ***
REST request:
Code: 200
Req: {<0.3845.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"14ffbb2b9258687d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Fri, 04 Mar 2022 11:26:30 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"users\":[],\"count\":0}">>,160,537}
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-04 11:26:30.243 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_704.html
*** CT 2022-03-04 11:26:30.244 *** View log from node mongooseim@localhost when finished mongooseim@localhost_3112.html



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


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