VNG-Realisatie / api-test-platform

6 stars 3 forks source link

Add link to the published version of the Postman collection on the detail page of the provider run #252

Closed HenriKorver closed 4 years ago

HenriKorver commented 5 years ago

Taak

For instance add this link to the the detail page of the provider run "ZGW-provider test voor Melding Openbare Ruimte":

https://documenter.getpostman.com/view/1681967/SVSPo7S3?version=latest

afbeelding

The challenge is to generate this documention website with the appropriate environment variables such that you can run it directly in Postman.

afbeelding

See also #231

HenriKorver commented 5 years ago

If we have the Pro version of Postman the pages can also be published within the domain of api-test.nl.

afbeelding

HenriKorver commented 5 years ago

The question is whether we can use this functionality via the command-line API of Newman.

HenriKorver commented 5 years ago

The same link must be added to the corresponding info-page

alextreme commented 5 years ago

Een link naar getpostman kan nu geplaatst worden, maar hoe dit wordt weergegeven is niet helemaal logisch.

Ik zou verwachten dat in plaats van 'Info' dat er zou staan 'Published Postman collection' of iets dergelijks (met een Postman logo), zodat het duidelijk is waar ik naar toe ga.

alextreme commented 5 years ago

Link naar bijbehorende environment variabelen toevoegen

stevenbal commented 5 years ago

Link naar bijbehorende environment variabelen toevoegen

Ik heb even gekeken of dit kan, maar links naar environment variablen zijn alleen toegankelijk voor mensen die bij Postman in dezelfde workspace zitten, dus die kun je niet individueel publiceren. Wel kun je bij het publiceren van een collectie aangeven welke environment variabelen erbij horen, en die zijn dan zichtbaar op de pagina van de gepubliceerde collection

alextreme commented 5 years ago

Besproken. Ik krijg nog een 404, dubbel-check de postman collection:

https://api-test.nl/server/testscenario/12/

Daarna mag dit door naar Henri ter review

stevenbal commented 5 years ago

@alextreme @HenriKorver ik heb de link geupdate, als het goed is werkt hij nu weer: https://api-test.nl/server/testscenario/12/

alextreme commented 5 years ago

Yes thanks!