Skip to Content
Documentation⚙️ Settings

Settings

Below are the configurable settings for Postman4j Interceptors:

Setting NameAllowed ValuesDescription (Default Value)
baseCollectionNameStringThe default name of the collection (default: Generated Collection)
baseCollectionDescriptionStringThe default description of the collection (default: Generated Collection Description)
schemaVersionV2_1_0The schema version of the collection (default: V2_1_0)
requestResponseModeREQUEST_ONLY | REQUEST_AND_RESPONSEThe mode of the request-response logging (default: REQUEST_AND_RESPONSE)
enableRequestBodybooleanWhether to log the request body (default: true)
enableResponseBodybooleanWhether to log the response body (default: true)
logWhenChangedbooleanEnable logging of the collection to stdout when changed (default: true)
itemNamingStrategyCOUNTER, UUID, FROM_HEADERThe naming strategy for the items (default: COUNTER)
outputLocationCONSOLE, FILE, BOTH(not supported yet) The output location for the collection (CONSOLE)
selectedStatusesList<Integer>The selected statuses to save when filtering responses (default: empty list)
selectedHeadersList<String>The selected headers to save when filtering responses (default: empty list)
selectedExceptionsList<String>The selected exceptions to save when filtering responses (default: empty list)
headerNameStringThe header name to use for the request name (default: null)
customStatusFilterPredicate<Integer>The custom status filter function to use when filtering responses (default: null)
foldingStrategyNO_FOLDERS, ONE_FOLDER_PER_REQUEST, CUSTOM(not supported yet) The folding strategy to use when folding items (NO_FOLDERS)
disableOnActuatorbooleanWhether to disable the interceptor for actuator endpoints (default: true)
Last updated on