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

=== Config value:

    [{watchdog,<0.17018.2>},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.users_api_SUITE.logs/run.2022-01-27_15.38.36/users_api_suite.add_malformed_user.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.users_api_SUITE.logs/run.2022-01-27_15.38.36/log_private/"},
     {riak_auth,false}]

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

=== Started at 2022-01-27 15:38:37


*** CT 2022-01-27 15:38:37.625 *** View log from node mongooseim@localhost when started mongooseim@localhost_6305.html
*** CT 2022-01-27 15:38:37.626 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2422.html

*** User 2022-01-27 15:38:37.628 ***
REST request fails:
Code: 400
Req: {<0.17026.2>,<<"/api/users/host/localhost/username/http_guy">>,<<"PUT">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"226d53a9ae914df2">>}],
      <<"{\n                        \"user\": {\n                            \"password\": \"my_http_password\"\n                  }">>}
Result: {{<<"400">>,<<"Bad Request">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Thu, 27 Jan 2022 15:38:37 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"0">>}],
         <<>>,146,444}
Params: #{body =>
              <<"{\n                        \"user\": {\n                            \"password\": \"my_http_password\"\n                  }">>,
          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-01-27 15:38:37.630 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2422.html
*** CT 2022-01-27 15:38:37.631 *** View log from node mongooseim@localhost when finished mongooseim@localhost_6305.html



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


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