trustification / scale-testing

Utilities for testing trustification at scale
Apache License 2.0
0 stars 4 forks source link

Getting 405 when trying to hit graphql endpoint #29

Closed helio-frota closed 2 weeks ago

helio-frota commented 2 weeks ago
12:52:34 [INFO] launching user 4 from GraphQLUser...
12:52:35 [INFO] launching user 5 from GraphQLUser...
12:52:36 [INFO] launching user 6 from GraphQLUser...
2024-10-08T12:53:16.622871Z  INFO ThreadId(20) actix_web::middleware::logger: ::1 "POST /graphql HTTP/1.1" 405 64 "-" "goose/0.17.3-dev" 0.004955
2024-10-08T12:53:16.731767Z  INFO ThreadId(21) actix_web::middleware::logger: ::1 "POST /graphql HTTP/1.1" 405 64 "-" "goose/0.17.3-dev" 0.001884
2024-10-08T12:53:16.738658Z  INFO ThreadId(22) actix_web::middleware::logger: ::1 "POST /graphql HTTP/1.1" 405 64 "-" "goose/0.17.3-dev" 0.002426
2024-10-08T12:53:17.399475Z  INFO ThreadId(23) actix_web::middleware::logger: ::1 "POST /graphql HTTP/1.1" 405 64 "-" "goose/0.17.3-dev" 0.002043

when running curl I can see this

➜  scale-testing git:(main) ✗ curl -X POST \
                                  -H "Content-Type: application/json" \
                                  -d '{"query": "{ hello }"}' \
                                  http://localhost:8080/graphql
This resource only supports GET and HEAD.⏎