Dear All,
I am writing unto you regarding the GraphQL schema used in Day 19.
Last time I ran that test, it was operating appropriately. That could be a URL issue. I believe the schema was properly fetched before sending the request. May you help ?
From my part, that is operating at this point in time.
I generated a job on CircleCI. That is not the outcome
I hope for. However it is enough to apprehend whether
it fails.
This is showing that the reporter " " couldn’t be found so to me that suggests that there is something wrong with your syntax on the newman command that you have used in the pipeline file.
I also don’t really know what you’re trying to do, is that even related to the Day 19 task?
Thank you for your response.
There was an extra space whilst I was using the cli and the json reporters. However my issue is not there. I am unable to check the executed requests and the test scripts through the cli reporter. There are both set to 0. An issue with GraphQL ?
Thank you for your response.
You may find the collection and the environment files that I used in this message. I will then keep up investigating through the Postman CLI and will let you know.
From my part, there is an issue with the reporters regarding solely that collection. All tests passed therefore all my assertions should pass.
However I see failures. Are there false negatives ?
To sump up, newman was unable to send unto me an appropriate report for that collection. All counters return 0. With the Postman CLI, that looks like false negatives. What is your take ?
I don’t know as I can’t see everything that you have in the files you’re using.
What’s being set at the environment level to have that as part of the command? Why are you using the iteration flag when you’re not using a datafile?
Does the Collection use Collection Variables?
There are too many unknowns and those questions cannot be answered by looking at static screenshots or something that has previously run.
The Collection was never designed to be run like that so there is likely inconsistencies between running it where it should be and extracting that away and using it with the CLI.
Just always comes back to the “I don’t understand why you’re doing that” question.
The collection does not use collection variables. When I tried to get rid off the environment with collection variables , I don’t go through the submission step.
The collection was not designed to work like that, do you mean that I cannot run a collection using a GraphQL schema with the postman CLI or newman?
I automated that challenge through newman and CircleCI. In theory, I shall not have problems with that collection.
Whether it is the postman CLI or newman the reports are confusing. For this command, below it is the output:
You’re not running a collection in the last image, unless you have changed the collection name to an environment file name.
Why are you run one with the id (the most up to date saved version of the Collection) and one with a static file (A snapshot of the Collection at the point in time that it was exported)?