Hi @nicholas.DiPiazza, you cannot directly run a Java program from your Postman collection. But you can expose a local server which executes the program when a particular endpoint is hit. You can then trigger that endpoint conditionally in your collection. For more details, see this thread:
kaustavdm
(Kaustav)
4
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Pre-request Execution from external call | 5 | 1465 | January 27, 2023 | |
| Use Existing Postman Request in Pre/Post Script | 11 | 56961 | November 3, 2023 | |
| Is it possible to execute an external program from Postman? | 10 | 25189 | November 18, 2022 | |
| Pre-request scripts not working for me | 5 | 7781 | March 30, 2026 | |
| Run multiple Pre-request scripts sequentially in postman | 0 | 1001 | January 10, 2022 |