allenheltondev/postman-contract-test-generator

Having trouble getting started

tg970 opened this issue · 5 comments

tg970 commented

Hi guys, this project appears to be a wonderful solution for validating our contracts on live APIs from OAS files. We're excited to test it out but having trouble getting started. Would it be possible to post a brief instruction list for how to use, or set up, our test suites? I can't seem to find the right combination of variables and actions to get the tests generated and ran. Any help you can provide is very much appreciated - thanks in advance!!

Same here. Any chance of getting some more detailed setup instructions @allenheltondev?

Hi, same here. I'm looking for a way to generate my tests, but I couldn't find the explanation in the video or the readme.
Thanks

I am happy to help here. Can you all please tell me what you are seeing when you attempt to run it? What are the docs not providing to you and/or what is unclear?

Hi @allenheltondev, I think I find what I need from this video, I think it's related
https://www.postman.com/events/intergalactic/api-contract-testing/

but currently when running the collection (Generator) Contract Tests - OAS3 I'm getting the following error in the terminal TypeError: Cannot read properties of null (reading 'replace')

That happens in the Contract Tests folder, Get Test Request

but currently when running the collection (Generator) Contract Tests - OAS3 I'm getting the following error in the terminal TypeError: Cannot read properties of null (reading 'replace')

I was having the same issue but adding the the x-api-key header and creating a new API Key to use fixed it for me. You might have to add it to every endpoint though.