Announcing Postman.jl

Postman.jl is a simple parser/runner of Postman collections with minimal coverage of the Postman collection format.

The primary purpose of this project is to allow the reuse of Postman’s manually created requests for unit tests of Julia-based web services and web applications.

using Postman
using HTTP

collection = Postman.load("postman_collection.json")

for item in collection
    @info "Process item: " * item.name # filter by name if required

    @time response::HTTP.Messages.Response = Postman.run(
        item, variables=Dict("port" => PORT)
    )

    dump(response)
end
7 Likes