Comments (1)
Heya, you should be able to add a property to each query, debug: true
, and see in the process output what is happening (this is not supported for wrk2
atm, only k6
and autocannon
):
graphql-bench/app/queries/src/executors/autocannon/index.ts
Lines 108 to 110 in 0098bef
graphql-bench/app/queries/src/executors/k6/index.ts
Lines 178 to 179 in 0098bef
So it would look like:
url: 'http://linksplatform.ddns.net:29018/graphql'
queries:
- name: GetSingleLink
debug: true
tools: [k6, autocannon]
execution_strategy: REQUESTS_PER_SECOND
rps: 100
duration: 10s
query: |
query {
links(where: {
from_id: { _eq: 2 },
to_id: { _eq: 1 }
}) {
id
from_id
to_id
}
}
Maybe you need Content-Type: application/json
in headers?
url: 'http://linksplatform.ddns.net:29018/graphql'
headers:
Content-Type: "application/json"
queries:
- name: GetSingleLink
# ...
from graphql-bench.
Related Issues (13)
- Error while accessing graph from browser HOT 2
- Package 'libssl1.0.2' has no installation candidate
- Extra requests being sent during benchmark
- Roadmap Queries Mutations and Subscriptions
- Can't generate histograms on the assertion_bucket error when running example HOT 3
- [graphql-bench] "run_docker_query_bench" command in makefile HOT 1
- [graphql-bench] Custom benchmark config options for queries HOT 1
- Enhancements to make this more valuable to GraphQL backend developers HOT 2
- Add option to have Subscriptions benchmark send pre-written mutations at selected intervals, so that it can calculate latency without needing to store records
- Add option to define header for authentication
- Authorization tokens not being encoded properly HOT 1
- Connection refused when running Docker image in Windows 10 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-bench.