Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how make sure that the load test mutation were executed? #8

Open
AugustoCalaca opened this issue Feb 22, 2021 · 2 comments
Open

how make sure that the load test mutation were executed? #8

AugustoCalaca opened this issue Feb 22, 2021 · 2 comments

Comments

@AugustoCalaca
Copy link

AugustoCalaca commented Feb 22, 2021

I have the withMutations config as true and the mutation on the args but on logs don't show anything about mutation test just Query file: /<path>/easygraphql-load-tester-queries.json, log file (nothing about mutation) and Full report run: "npx artillery report /home/augusto/enfase/stitches/20210222150221.json" (nothing about mutation as well)

{
  "config": {
    "url": "http://localhost:8080/graphql",
    "selectedQueries": ["viewer"],
    "queryFile": true,
    "withMutations": true,
    "withOutput": true,
    "headers": {
      "Authorization": "Bearer <token>"
    }
  },
  "args": {
    "viewer": {
      "name": "Awesome name"
    },
    "createNotification": {
      "input": {
        "message": "test messsage"
      }
    }
  }
}
@AugustoCalaca AugustoCalaca changed the title how make sure that the mutations were executed? how make sure that the load test mutation were executed? Feb 22, 2021
@estrada9166
Copy link
Member

Is viewer on selectedQueries the mutation name?

@AugustoCalaca
Copy link
Author

the args to mutation are this

"createNotification": {
      "input": {
        "message": "test messsage"
      }
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants