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

=== Config value:

    [{watchdog,<0.2438.2>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.users_api_SUITE.logs/run.2022-02-02_15.16.25/users_api_suite.user_transaction.109187.html"},
     {tc_group_properties,[{repeat_until_any_fail,2},
                           {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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.users_api_SUITE.logs/run.2022-02-02_15.16.25/log_private/"},
     {riak_auth,false}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:16:26


*** CT 2022-02-02 15:16:26.836 *** View log from node mongooseim@localhost when started mongooseim@localhost_3009.html
*** CT 2022-02-02 15:16:26.837 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_688.html

*** User 2022-02-02 15:16:26.840 ***
REST request:
Code: 200
Req: {<0.2446.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"746b3c7aabb74e9b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:16:26 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"users\":[],\"count\":0}">>,160,1013}
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-02-02 15:16:26.842 ***
REST request:
Code: 204
Req: {<0.2448.2>,<<"/api/users/host/domain.example.com/username/http_guy">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f1814002f89bb525">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:16:26 GMT">>}],
         <<>>,94,1446}
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-02-02 15:16:26.844 ***
REST request:
Code: 200
Req: {<0.2450.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a7cf5d1fb0193b51">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:16:26 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"80">>}],
         <<"{\"users\":{\"user\":{\"username\":\"http_guy\",\"host\":\"domain.example.com\"}},\"count\":1}">>,
         218,677}
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-02-02 15:16:26.846 ***
REST request:
Code: 204
Req: {<0.2452.2>,<<"/api/users/host/domain.example.com/username/http_guy">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f8de97c41c3c8ae9">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:16:26 GMT">>}],
         <<>>,94,1191}
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-02-02 15:16:26.847 ***
REST request:
Code: 200
Req: {<0.2454.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2b122e2a066e9c92">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:16:26 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"80">>}],
         <<"{\"users\":{\"user\":{\"username\":\"http_guy\",\"host\":\"domain.example.com\"}},\"count\":1}">>,
         218,606}
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-02-02 15:16:26.850 ***
REST request:
Code: 204
Req: {<0.2456.2>,<<"/api/users/host/domain.example.com/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"ab6e7034c7088863">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:16:26 GMT">>}],
         <<>>,94,1243}
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-02-02 15:16:26.851 ***
REST request:
Code: 200
Req: {<0.2458.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"671f8c7dda98f9df">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:16:26 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,622}
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-02-02 15:16:26.855 ***
REST request:
Code: 204
Req: {<0.2460.2>,<<"/api/users/host/domain.example.com/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fca05bf17a5f6357">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:16:26 GMT">>}],
         <<>>,94,2831}
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-02-02 15:16:26.858 ***
REST request:
Code: 204
Req: {<0.2462.2>,<<"/api/users/host/domain.example.com/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"42103e09113a7d06">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:16:26 GMT">>}],
         <<>>,94,2306}
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-02-02 15:16:26.859 ***
REST request:
Code: 200
Req: {<0.2464.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"df3ef525d0df3713">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 02 Feb 2022 15:16:26 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"users\":[],\"count\":0}">>,160,583}
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-02-02 15:16:26.862 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_688.html
*** CT 2022-02-02 15:16:26.863 *** View log from node mongooseim@localhost when finished mongooseim@localhost_3009.html



=== Ended at 2022-02-02 15:16:26
=== successfully completed test case
=== === Returned value: ok


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