Closed akhot09 closed 4 months ago
we are working on scripting feature(pre & post) and it will be released as part of next release. Regarding vault integrations we are building connectors for free version with which you can seamlessly integrate with vault to store or retrieve environment variables. We will update this thread once we release a new version.
@akhot09 Beta version has been released for scripting with V#1.0.47 .
@launchiamenterprise --
Can you please point us to docs/documentation which brief us with commands, syntax to be used to add scripts in "Pre-Script" and "Post-Script" Scripts section which can help to perform post validations or capture values during chaining of requests.
Below screen shot is from v1.0.50 KeyRunner extension installed part of Visual Studio Code :
We are in the process of updating documentation and will update this thread once we document the usage. Hopefully by end of this week.
please see the below documentation and let us know if you are running into any issues. This is still beta and we will improvise the functionality & features of scripting
If we need send any request to API call (like calling Key Vault APIs) before running required API call, we don’t see any “Pre-Request Script” tab (Like in Postman) in Key Runner API client. Also is there any plan to provide “Post-Request” Script tab, so that we can capture needed values from API response or perform validations using custom code.
I am using Key Runner Windows/Desktop Application - v1.0.45.0
The current “Tests” tab provides limited option to perform API response validations with pre-defined set of assertions but does not provide any option to write any custom code/use of JSON path etc.