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

=== Config value:

    [{watchdog,<0.32371.1>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.users_api_SUITE.logs/run.2022-06-22_08.59.48/users_api_suite.add_user_without_proper_fields.html"},
     {tc_group_properties,[{name,negative},
                           {repeat_until_all_ok,3},
                           {suite,users_api_SUITE}]},
     {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@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.users_api_SUITE.logs/run.2022-06-22_08.59.48/log_private/"},
     {riak_auth,true}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58"

=== Started at 2022-06-22 09:00:40


*** CT 2022-06-22 09:00:40.719 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5144.html
*** CT 2022-06-22 09:00:40.720 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_2021.html

*** User 2022-06-22 09:00:40.722 ***🔗
REST request fails:
Code: 422
Req: {<0.32393.1>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"db7005407b1825d0">>}],
      <<"{\"user\":{\"pazzwourd\":\"my_http_password\"}}">>}
Result: {{<<"422">>,<<"Unprocessable Entity">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 22 Jun 2022 09:00:39 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"0">>}],
         <<>>,155,434}
Params: #{body => <<"{\"user\":{\"pazzwourd\":\"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}}

*** CT 2022-06-22 09:00:40.723 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_2021.html
*** CT 2022-06-22 09:00:40.724 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5144.html



=== Ended at 2022-06-22 09:00:40
=== successfully completed test case
=== === Returned value: ok


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