[HN Gopher] Show HN: New way to test APIs with OpenAPI and Postman
       ___________________________________________________________________
        
       Show HN: New way to test APIs with OpenAPI and Postman
        
       Author : gertjandewilde
       Score  : 65 points
       Date   : 2021-07-15 15:19 UTC (7 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | crucialfelix wrote:
       | We have fully generated open API for our backend and public API.
       | I've used cypress to test API endpoints but this requires manual
       | setup and lots of work to collect examples.
       | 
       | I look forward to checking this out. We had a breakage in our
       | public API this week because we didn't have full test coverage.
        
         | exdsq wrote:
         | You can get some free coverage through automated fuzzing tools
         | that use OpenAPI to generate tests
         | 
         | https://github.com/microsoft/rest-api-fuzz-testing
        
       | nytgop77 wrote:
       | curl
        
       | palijer wrote:
       | This seems really cool, but I'm curious about the ethics of
       | creating a tool that seems to replace Postman's paid offerings
       | while leveraging all the free features of Postman.
       | 
       | I'm new to software development though, and I don't have an exact
       | understanding of how open and sharing things are, and while I do
       | understand we are all standing on the shoulders if giants, I
       | wonder how far that goes.
       | 
       | Maybe I'm misunderstanding though, but this seems to be solving a
       | lot of the collaboration issues that exist on the free tier, that
       | they sell for Enterprise postman.
       | 
       | But once again, I'm new to the culture.
        
         | gertjandewilde wrote:
         | Hi! Interesting point. At Apideck we're a happy (paying)
         | Postman customer. We're not aware of any collaboration limits
         | on the free tier. We created Portman with the intention to
         | scratch our own itch by using OpenAPI as the canonical format
         | to drive our API lifecycle and test automation.
        
       | pan69 wrote:
       | I've started using Restclient, a VS Code plugin [1]. It allows me
       | to easily add test scripts/requests to my normal GitHub workflow
       | and share them with team mates.
       | 
       | [1] https://github.com/Huachao/vscode-restclient
        
       | gertjandewilde wrote:
       | Read the full blog post at https://blog.apideck.com/announcing-
       | portman
        
       | tomlagier wrote:
       | Very cool! We use Postman collections extensively to internally
       | document our APIs and make handoff between frontend and backend
       | easier. We're waffling a bit on backend schema (currently using
       | Yup & Typescript to export request/response types, but no formal
       | definition), but seeing this makes me think it might be worth
       | investing in a migration to OpenAPI, just to ease documentation.
        
         | patricklovesoj wrote:
         | What are the most biggest challenges with frontend/backend
         | hand-off? I'm exploring this area to build products, so curious
         | to hear what you and your team experience.
        
       | gravypod wrote:
       | I've been very interested in using containers to have
       | reproducable test environments in the past. I've built something
       | for this: https://bunt.build
       | 
       | I am interested in seeing the configuration leveraging happening
       | in your project though. Very cool.
        
       ___________________________________________________________________
       (page generated 2021-07-15 23:01 UTC)