Meveoman is a Meveo script that can also be used as a standalone java app to execute a Postman 2.1 collection.
- Only Bearer and Basic authentication is implemented
- Javascript events are executed with Graal js engine but no js library are included.
- the pm variable used in events (i.e tests) is partly emulated, you can use :
pm.info.eventName
pm.info.iteration
pm.info.iterationCount
pm.info.requestName
pm.info.requestId pm.environment pm.test
pm.response.text
pm.response.json
pm.response.to.have.status
pm.response.to.be.oneOf
- clone the repo
- use maven to build (you can easily complie from intelIJ idea)
- execute the jar meveoman.jar (containing the class org.meveo.postman.PostmanRunnerScript)
usage : java -jar meveoman.jar [trustAllCertificates]
: filename (including path) of the postman 2.1 collection json file.
: filename (including path) the postmane environment json file to load and initialize the context.
trustAllCertificates: if this param is set then ssl certificates are not checked.
- install and run meveo
- log in meveo admin console and create a Script "org.meveo.postman.PostmanRunnerScript" and copy the content of the class in it.
- Use this script through ScriptingJob or Rest Enpoint,...