We are excited to release v2.0
which brings advanced functionality like Function filters
and Custom scripting
.
New Features
Custom Scripting
& functionfilters
#16, #710, #750, #846, #850, #278, #605, #481, #626Auto Reload
Sidebar on db files changes #858- Option to add CUSTOM http request
methods
#866 - Improve Xml Testing workflow #850
- Filter Array in Tests and perform Count operation #874
Bug Fixes
Function Filters
- Function filters are useful to perform advanced data manipulation and the syntax is inspired from Jinja Filters
- The filters can be used in environment
variables
andTests
- The filter syntax is
{{variable | filter1 | filter2}}
- Full Documentation click here
Built-In Filters:
abs | add | atob | btoa | exec | first |
hash | hmac | join | last | length | lower |
map | multiply | removeQuotes | replace | slice | split |
stringify | substring | subtract | upper |
Filters In Env Variable
- This is similar to
pre-request
scripting
Filters In Tests
- This is similar to
post-request
scripting
Custom Filters
- Create Javascript file with custom filters
- The sample custom filters javascript file custom-filters.js
- The
tc
object types file tc-types.d.ts
- Attach Custom filters JS files to
Collection Settings
- Use Custom filters in Request