=== Test case: graphql_gdpr_SUITE:admin_gdpr_no_user_test/1 (click for source code)

=== Config value:

    [{protocol,http},
     {domain_admin,{<<"admin@domain.example.com">>,<<"e8b287528213ec83">>}},
     {schema_endpoint,domain_admin},
     {watchdog,<0.30731.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"odbc_mssql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_gdpr_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a21fc9dcd843.2024-02-27_10.07.42/big_tests.tests.graphql_gdpr_SUITE.logs/run.2024-02-27_10.15.02/graphql_gdpr_suite.admin_gdpr_no_user_test.16645.html"},
     {tc_group_properties,[{name,domain_admin_gdpr}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_gdpr_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@a21fc9dcd843.2024-02-27_10.07.42/big_tests.tests.graphql_gdpr_SUITE.logs/run.2024-02-27_10.15.02/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a21fc9dcd843.2024-02-27_10.07.42"

=== Started at 2024-02-27 10:15:06


*** CT 2024-02-27 10:15:06.536 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1866.html

*** User 2024-02-27 10:15:06.549 ***🔗
REST request:
Code: 200
Req: {<0.30763.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"e833f9e5cfcc082b">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AZG9tYWluLmV4YW1wbGUuY29tOmU4YjI4NzUyODIxM2VjODM=">>}],
      <<"{\"query\":\"query ($domain: DomainName!, $resultFilepath: String!, $username: UserName!) { gdpr { retrievePersonalData(domain: $domain, resultFilepath: $resultFilepath, username: $username) } }\",\"variables\":{\"username\":\"AAAA\",\"resultFilepath\":\"AAA\",\"domain\":\"domain.example.com\"}}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 27 Feb 2024 10:15:06 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"225">>}],
         <<"{\"errors\":[{\"path\":[\"gdpr\",\"retrievePersonalData\"],\"message\":\"User does not exist\",\"extensions\":{\"user\":\"aaaa\",\"domain\":\"domain.example.com\",\"code\":\"user_does_not_exist_error\"}}],\"data\":{\"gdpr\":{\"retrievePersonalData\":null}}}">>,
         364,10518}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds => {<<"admin@domain.example.com">>,<<"e8b287528213ec83">>},
          body =>
              <<"{\"query\":\"query ($domain: DomainName!, $resultFilepath: String!, $username: UserName!) { gdpr { retrievePersonalData(domain: $domain, resultFilepath: $resultFilepath, username: $username) } }\",\"variables\":{\"username\":\"AAAA\",\"resultFilepath\":\"AAA\",\"domain\":\"domain.example.com\"}}">>,
          role => {graphql,domain_admin},
          return_maps => true,return_headers => true}

*** CT 2024-02-27 10:15:06.551 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1866.html



=== Ended at 2024-02-27 10:15:06
=== successfully completed test case
=== === Returned value: ok


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