Replies: 2 comments 1 reply
-
|
hi @thim81, Do you have solution for this case? This really blocked me. And I can't move forward. Actually I see couple of issues here. First, I think we globally defined Pre-Request Scripts should be applied to all the tests Contract, Variation etc. until they are overwritten with the ones defined in lower levels. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you @thim81 for taking this into consideration. Having configuration parameter for down forcing global settings would be very useful addition to Portman, I think. Also I posted my expectation with regards of targeting priorities in Portman configuration blocks in #478 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
How can I define "prerequest" scripts in the Portman configuration that will be generated in the Postman file for Variations tests?
I have created a Portman config for Variation tests and would like to run a token request before each request in the Variation tests in order to use the resulting token in the Variation test request. I'm using the
"operationPreRequestScripts"option, which looks something like this:The above configuration generates
"listening": "prerequest"events with injected script content from the specified file(s) for Contract tests. But there are no"listening": "prerequest"events generated for Variation tests.Please advise.
Beta Was this translation helpful? Give feedback.
All reactions