We have just released version 5.41.0. Here is a list of the changes that came with the release:
Features
- Random mixed case strings of a fixed length can now be generated using
{{ randomValue length=10 type='ALPHANUMERIC' mixedcase=true }}
- Header values can now be set in Handlebars scripts using
{{ modifyResponse 'headerValue' 'header-name' 'header-value' }}
- New simplified OpenAPI mock import
-
Enable in trafficparrot.properties by setting:
trafficparrot.openapi.import.mode=SELECT_RESPONSE_STATUS trafficparrot.openapi.skeletons.mode=SELECT_RESPONSE_STATUS
- When OpenAPI response examples are present, they are used directly as mock responses
- Otherwise, OpenAPI schema data types and field structures are used to generate a valid mock response
- The request header x-traffic-parrot-select-response-status can be set to a numeric response code to select which response to return
- The default response returned is the success response
- The request body is not included in matching, to simplify the response selection
- The request URL is used for matching, including checking for mandatory path and query parameters
-
Enable in trafficparrot.properties by setting:
- Role based UI access to allow defining some read only UI users that are allowed view permissions but not edit permissions
- Enable in trafficparrot.properties by setting:
trafficparrot.gui.security.mode=LOGIN_PROPERTIES
- Define users in trafficparrot.gui.login.properties by setting:
admin=password,traffic-parrot-gui-role,traffic-parrot-gui-edit-role readonly=password,traffic-parrot-gui-role
- HTTP basic authentication popup prompts users to specify a username and password
- Enable in trafficparrot.properties by setting:
- Allow loading gRPC existing proto set files in proto-bin with .set.bin extension (e.g. as output by gRPCurl)
- Added a UI page with instructions on how to provide the required JAR files when working with IBM® MQ
Fixes
- Library upgrades to fix OWASP issues
- {{ evaluate 'variable' }} now recognizes a variable that was set using {{#assign 'variable'}}value{{/assign}}
- Fixed an issue with the default permissions of the lib/external folder on Linux
- Fixed an issue with saving very large XML body mappings in the UI
Changes
- Upgraded protoc from 3.21.9 to 3.23.4
- Upgraded gRPC from 1.51.0 to 1.56.1
No comments:
Post a Comment