[30 days of Postman] Day 19 GraphQL Receiving a 404 error code from URL

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 ?

Day 19 - GraphQL

I am looking forward to seeing from you.
Thank you very much.

1 Like

It looks fine on my end:

If it was returning a 404, you might have had an extra whitespace at the end of the URL?

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.

Spotify GraphQL

Day19 on CircleCI

Thank you very much.

The Newman command isn’t picking up the reporter that you had used.

Try checking the syntax of the full command is correct.

1 Like

Thank you for your response.

Do you have a Newman commands that fetch the graphQl schema and run the collection ?

I’m not sure what you mean - I was referring to this image that you shared:

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?

1 Like

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 ?

Same command used on Day 17

My worry is not related to the reporters

The extra space was removed

May you help ?

Without seeing the static JSON file that you’re running with Newman, I don’t know what should be running.

Have you tried exporting the file again, you may have made change that are not on the file.

Have you tried running this using the Postman API to run the latest synced version?

Have the tried using the Postman CLI and the id of the Collection and running it that way?

Trying to debug this using random screenshots, is very difficult as I can’t see what you are actually running.

1 Like

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.

Environment

Day-19 Collection