easygraphql-lt icon indicating copy to clipboard operation
easygraphql-lt copied to clipboard

how make sure that the load test mutation were executed?

Open AugustoCalaca opened this issue 4 years ago • 2 comments

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 avatar Feb 22 '21 18:02 AugustoCalaca

Is viewer on selectedQueries the mutation name?

estrada9166 avatar Apr 17 '21 18:04 estrada9166

the args to mutation are this

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

AugustoCalaca avatar Apr 18 '21 21:04 AugustoCalaca