=== Test case: graphql_sse_SUITE:admin_invalid_operation_type/1 (click for source code)

=== Config value:

    [{protocol,http},
     {schema_endpoint,admin},
     {listener_opts,#{module => mongoose_graphql_handler,
                      path => "/api/graphql",host => "localhost",
                      password => <<"secret">>,username => <<"admin">>,
                      sse_idle_timeout => 3600000,schema_endpoint => admin}},
     {watchdog,<0.14065.0>},
     {preset,"internal_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_sse_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d02a26308542.2024-03-11_11.28.58/big_tests.tests.graphql_sse_SUITE.logs/run.2024-03-11_11.31.00/graphql_sse_suite.admin_invalid_operation_type.16131.html"},
     {tc_group_properties,[{name,admin},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_sse_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@d02a26308542.2024-03-11_11.28.58/big_tests.tests.graphql_sse_SUITE.logs/run.2024-03-11_11.31.00/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d02a26308542.2024-03-11_11.28.58"

=== Started at 2024-03-11 11:31:00


*** CT 2024-03-11 11:31:00.838 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1515.html

*** User 2024-03-11 11:31:00.849 ***🔗
Connect to SSE, port: 5551, path: /api/graphql/sse?query=query+%28%24before%3A+DateTime%2C+%24caller%3A+JID%21%2C+%24limit%3A+PosInt%2C+%24with%3A+JID%29+%7B+stanza+%7B+getLastMessages%28before%3A+%24before%2C+caller%3A+%24caller%2C+limit%3A+%24limit%2C+with%3A+%24with%29+%7B+limit+stanzas+%7B+sender+stanza+stanza_id+timestamp+%7D+%7D+%7D+%7D&variables=%7B%22caller%22%3A%22alice%40localhost%22%7D, creds: {<<"admin">>,
                                                                                                                                                                                                                                                                                                                                                                                                                         <<"secret">>}, extra opts: #{}

*** User 2024-03-11 11:31:00.855 ***🔗
SSE response code: 400, headers: [{<<"content-length">>,<<"142">>},
                                  {<<"date">>,
                                   <<"Mon, 11 Mar 2024 11:31:00 GMT">>},
                                  {<<"server">>,<<"Cowboy">>}], result: #{<<"errors">> =>
                                                                              [#{<<"extensions">> =>
                                                                                     #{<<"code">> =>
                                                                                           <<"unsupported_operation">>},
                                                                                 <<"message">> =>
                                                                                     <<"The sse execution method does not support query operations.">>,
                                                                                 <<"path">> =>
                                                                                     []}]}
*** CT 2024-03-11 11:31:00.858 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1515.html



=== Ended at 2024-03-11 11:31:00
=== successfully completed test case
=== === Returned value: ok