matryer / silk

Markdown based document-driven RESTful API testing.
http://silktest.org/
GNU General Public License v2.0
942 stars 69 forks source link

Postman export support #12

Closed krolow closed 8 years ago

krolow commented 8 years ago

Hey found silk quite interesting! I'm looking for to give a try in my next microservice project.

By the way while reading i was thinking in postman as far i know several people using for QA and test (not automated) purpose.

So i was think if make sense to add support for that in this project, if is that something that you are willing for to have into core, or might be some a part, a command that we run pointing the markdown that generates that?

I'm asking because i was thinking in give a try and implement that. :beers:

matryer commented 8 years ago

What would 'support' look like?

krolow commented 8 years ago

I was thinking to start some support only export the requests as one XML file to be imported in postman...

It would be some argument in command line like:

silk -silk.url="{endpoint}" {testfiles} --output-postman="{file-to-be-created}"

so it would run tests and generate one output as postman XML file to be imported in XML...

does that make any sense?

matryer commented 8 years ago

I'd prefer if this was an external tool (you are free to use the parse package from within silk to process the Silk files)?

joyrexus commented 8 years ago

Silk markdown descriptions seem similar to Blueprints (see #35). If Silk descriptions can be converted into Blueprint-style descriptions, you could then easily convert them into Postman collections or almost any other common API description format.

I think it's a little bit of a shame that Silk is introducing a slightly varying Markdown format for describing APIs, but perhaps there are some compelling reasons to do so?

matryer commented 8 years ago

see conversation in https://github.com/matryer/silk/issues/35