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

=== Config value:

    [{watchdog,<0.10459.2>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.users_api_SUITE.logs/run.2022-05-11_09.05.57/users_api_suite.user_transaction.166402.html"},
     {tc_group_properties,[{repeat_until_any_fail,3},
                           {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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.users_api_SUITE.logs/run.2022-05-11_09.05.57/log_private/"},
     {riak_auth,false}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40"

=== Started at 2022-05-11 09:05:58


*** CT 2022-05-11 09:05:58.637 *** View log from node mongooseim@localhost when started mongooseim@localhost_3130.html
*** CT 2022-05-11 09:05:58.638 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_578.html

*** User 2022-05-11 09:05:58.640 ***
REST request:
Code: 200
Req: {<0.10467.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"10a38b9b37145895">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:05:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"users\":[],\"count\":0}">>,160,885}
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-05-11 09:05:58.642 ***
REST request:
Code: 204
Req: {<0.10469.2>,<<"/api/users/host/domain.example.com/username/http_guy">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e464ce37cb17e107">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:05:58 GMT">>}],
         <<>>,94,998}
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-05-11 09:05:58.643 ***
REST request:
Code: 200
Req: {<0.10471.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"17bc0ffca106b2b5">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:05:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"80">>}],
         <<"{\"users\":{\"user\":{\"username\":\"http_guy\",\"host\":\"domain.example.com\"}},\"count\":1}">>,
         218,594}
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-05-11 09:05:58.645 ***
REST request:
Code: 204
Req: {<0.10473.2>,<<"/api/users/host/domain.example.com/username/http_guy">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"7ba419d6b5c0e75c">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:05:58 GMT">>}],
         <<>>,94,958}
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-05-11 09:05:58.646 ***
REST request:
Code: 200
Req: {<0.10475.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"f52ff3423bc40dd7">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:05:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"80">>}],
         <<"{\"users\":{\"user\":{\"username\":\"http_guy\",\"host\":\"domain.example.com\"}},\"count\":1}">>,
         218,482}
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-05-11 09:05:58.648 ***
REST request:
Code: 204
Req: {<0.10477.2>,<<"/api/users/host/domain.example.com/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d6c1a6c572bb9e02">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:05:58 GMT">>}],
         <<>>,94,913}
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-05-11 09:05:58.649 ***
REST request:
Code: 200
Req: {<0.10479.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"b15b0bd3bc152674">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:05:58 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,534}
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-05-11 09:05:58.652 ***
REST request:
Code: 204
Req: {<0.10481.2>,<<"/api/users/host/domain.example.com/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8a6b715c717d33f5">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:05:58 GMT">>}],
         <<>>,94,2287}
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-05-11 09:05:58.655 ***
REST request:
Code: 204
Req: {<0.10483.2>,<<"/api/users/host/domain.example.com/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fbabf49fb6bc29b0">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:05:58 GMT">>}],
         <<>>,94,2334}
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-05-11 09:05:58.656 ***
REST request:
Code: 200
Req: {<0.10485.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"961b4ddb414aa42d">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:05:58 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"22">>}],
         <<"{\"users\":[],\"count\":0}">>,160,547}
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-05-11 09:05:58.659 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_578.html
*** CT 2022-05-11 09:05:58.660 *** View log from node mongooseim@localhost when finished mongooseim@localhost_3130.html



=== Ended at 2022-05-11 09:05:58
=== successfully completed test case
=== === Returned value: ok


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