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

=== Config value:

    [{watchdog,<0.10345.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.165250.html"},
     {tc_group_properties,[{repeat_until_any_fail,6},
                           {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.331 *** View log from node mongooseim@localhost when started mongooseim@localhost_3130.html
*** CT 2022-05-11 09:05:58.332 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_578.html

*** User 2022-05-11 09:05:58.335 ***
REST request:
Code: 200
Req: {<0.10353.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"71807f0b2c529e28">>}],
      <<>>}
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,915}
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.337 ***
REST request:
Code: 204
Req: {<0.10355.2>,<<"/api/users/host/domain.example.com/username/http_guy">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"a134193aa52d1d51">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:05:58 GMT">>}],
         <<>>,94,1588}
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.338 ***
REST request:
Code: 200
Req: {<0.10357.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fdb2bbe4ba33b194">>}],
      <<>>}
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,604}
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.340 ***
REST request:
Code: 204
Req: {<0.10359.2>,<<"/api/users/host/domain.example.com/username/http_guy">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"27aad759b9293a33">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:05:58 GMT">>}],
         <<>>,94,1189}
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.342 ***
REST request:
Code: 200
Req: {<0.10361.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"fa369f72db9a4e3b">>}],
      <<>>}
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,572}
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.343 ***
REST request:
Code: 204
Req: {<0.10363.2>,<<"/api/users/host/domain.example.com/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0f2615b223a30c98">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:05:58 GMT">>}],
         <<>>,94,1101}
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.345 ***
REST request:
Code: 200
Req: {<0.10365.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"15f4281a16e6fcbc">>}],
      <<>>}
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,587}
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.347 ***
REST request:
Code: 204
Req: {<0.10367.2>,<<"/api/users/host/domain.example.com/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"624045ad4a185d19">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:05:58 GMT">>}],
         <<>>,94,2193}
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.350 ***
REST request:
Code: 204
Req: {<0.10369.2>,<<"/api/users/host/domain.example.com/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d1dc18b98b47a6ae">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 11 May 2022 09:05:58 GMT">>}],
         <<>>,94,2371}
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.351 ***
REST request:
Code: 200
Req: {<0.10371.2>,<<"/api/users/host/domain.example.com">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"2b99c0c504211b43">>}],
      <<>>}
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,493}
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.353 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_578.html
*** CT 2022-05-11 09:05:58.354 *** 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