Postman (Newman) Executor with SSL cert

658 views
Skip to first unread message

Yann Mathieu

unread,
Jul 12, 2021, 5:04:02 PM7/12/21
to codename-taurus
Hello,

How do you pass SSL cert info to the Executor?

my Newman qurey is:

newman run "api_testing.postman_collection.json" -e "dev.postman_environment.json" --ssl-client-cert "myapps-com.pem" --ssl-client-key "myapps-com.key" --ssl-client-passphrase "password"

my YAML script looks like this right now:
execution:
- executor: newman
  scenario: simple

scenarios:
  simple:
    script: testing.postman_collection.json
    environment: dev.postman_environment.json

grey....@gmail.com

unread,
Jul 17, 2021, 6:19:56 AM7/17/21
to codename-taurus
Hi Yann.
Sorry, it isn't implemented for newman.

---
Taras

Yann Mathieu

unread,
Jul 20, 2021, 4:11:58 PM7/20/21
to codename-taurus
Is there any way to add it to the queue? How complex is it to add more param to the Newman executor?
Here is the newman doc for these options:

grey....@gmail.com

unread,
Jul 26, 2021, 3:19:10 AM7/26/21
to codename-taurus
Hello.
I doubt it's extra complicated. But our team is very limited and postman improvements aren't so important for us at the moment.
On other hand if you're really need it and can implement it in Python - PRs are strongly appreciated)

---
Taras

Yann Mathieu

unread,
Oct 27, 2021, 5:23:38 PM10/27/21
to codename-taurus
Hi Taras,

I can try to submit a Pull Request the code change seems very simple. See below my changes.

I'm not a python developer however, do you have a quick guide on how I can test locally, run the test coverage etc before I submit the PR?

Thanks
Yann

Taras Swirynouski

unread,
Nov 19, 2021, 3:04:14 AM11/19/21
to codename-taurus
Hi.
Sorry for waiting.
1. You should make PR to four repo. (Blazemeter/taurus)
2. unittests can be found in tests/unit directory, functional ones in examples/all_executors.yaml

---
Taras

четверг, 28 октября 2021 г. в 00:23:38 UTC+3, mathie...@gmail.com:
Reply all
Reply to author
Forward
0 new messages