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

=== Config value:

    [{watchdog,<0.20869.1>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.users_api_SUITE.logs/run.2022-01-27_15.35.31/users_api_suite.user_transaction.84610.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@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.users_api_SUITE.logs/run.2022-01-27_15.35.31/log_private/"},
     {riak_auth,false}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27"

=== Started at 2022-01-27 15:35:32


*** CT 2022-01-27 15:35:32.475 *** View log from node mongooseim@localhost when started mongooseim@localhost_5489.html
*** CT 2022-01-27 15:35:32.476 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2357.html

*** User 2022-01-27 15:35:32.479 ***
REST request:
Code: 200
Req: {<0.20877.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"98620d662a963e63">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"370">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_info_with_mam_808\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_807\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_806\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_805\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_804\",\"host\":\"localhost\"}}],\"count\":5}">>,
         509,1255}
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-01-27 15:35:32.481 ***
REST request:
Code: 204
Req: {<0.20879.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"d38219f11668ea3e">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>}],
         <<>>,94,1409}
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-01-27 15:35:32.483 ***
REST request:
Code: 200
Req: {<0.20881.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"63f9c57c0e4710e2">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"422">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_808\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_807\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_806\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_805\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_804\",\"host\":\"localhost\"}}],\"count\":6}">>,
         561,835}
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-01-27 15:35:32.485 ***
REST request:
Code: 204
Req: {<0.20883.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9690a8d6ae5b5a50">>}],
      <<"{\"user\":{\"password\":\"some_other_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>}],
         <<>>,94,1398}
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-01-27 15:35:32.487 ***
REST request:
Code: 200
Req: {<0.20885.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9d9f8cdbcf1935aa">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"422">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_808\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_807\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_806\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_805\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_804\",\"host\":\"localhost\"}}],\"count\":6}">>,
         561,809}
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-01-27 15:35:32.489 ***
REST request:
Code: 204
Req: {<0.20887.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"765ffd05f3ed38b8">>}],
      <<"{\"user\":{\"password\":\"my_http_password\"}}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>}],
         <<>>,94,1259}
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-01-27 15:35:32.491 ***
REST request:
Code: 200
Req: {<0.20889.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"bed7c7877123e49b">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"475">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"http_guy2\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"http_guy\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_with_mam_808\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_807\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_806\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_805\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_804\",\"host\":\"localhost\"}}],\"count\":7}">>,
         614,842}
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-01-27 15:35:32.493 ***
REST request:
Code: 204
Req: {<0.20891.1>,<<"/api/users/host/localhost/username/http_guy">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"acbd658a4e2aac36">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>}],
         <<>>,94,1657}
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-01-27 15:35:32.496 ***
REST request:
Code: 204
Req: {<0.20893.1>,<<"/api/users/host/localhost/username/http_guy2">>,
      <<"DELETE">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"bde1e06857d2504a">>}],
      <<>>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>}],
         <<>>,94,1596}
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-01-27 15:35:32.497 ***
REST request:
Code: 200
Req: {<0.20895.1>,<<"/api/users/host/localhost">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"489fcbd620795d70">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:35:31 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"370">>}],
         <<"{\"users\":[{\"user\":{\"username\":\"alice_disco_info_with_mam_808\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_info_807\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_with_mam_806\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_features_805\",\"host\":\"localhost\"}},{\"user\":{\"username\":\"alice_disco_service_804\",\"host\":\"localhost\"}}],\"count\":5}">>,
         509,805}
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-01-27 15:35:32.500 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2357.html
*** CT 2022-01-27 15:35:32.500 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5489.html



=== Ended at 2022-01-27 15:35:32
=== successfully completed test case
=== === Returned value: ok


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