Changelog 2021.10
2021.10
Clobber-Resistant Script Editing
If you and someone else on your team happened to be editing the same script, there was a danger that you might clobber each other’s changes. We’ve added some guardrails to prevent this with a recent update.
You’ll now see a user badge appear at the top of the script editor whenever someone else on your team also has that script open. The editor will also double-check that you have the latest copy when you go to save it, and alert you if someone else saves a copy in the meantime.
Protocol Bots: Global Headers Per Domain
Since time immemorial, Protocol Bots could specify custom headers for each individual request, but that could get pretty tedious if you’re testing an API that requires the same headers on every request. Thankfully there’s now a way to set a default header per host in a code block anywhere in your script, like this:
// Add a header to all future requests to a host
http.addHostHeader('petstore.loadster.com', 'Authentication', 'Bearer 5a830a310b5ca38a');
// Remove host headers matching a host/name/value
http.removeHostHeaders('petstore.loadster.com');Once you set a host header, all requests your Protocol Bot makes to that host will automatically have the header, until the end of the script or until you remove it.
Improvements & Bug Fixes
- Clarified the error message when trying to choose a non-existent option from an HTML
select. - Added the monthly test hours consumption to the billing dashboard, so if you have a plan with an hours limit you can see how many you’ve used.
- Updated the Loadster Recorder browser extension to ignore
_ngcontent-*and similar unreliable properties when crafting selectors. - Fixed buggy pagination on the Total Time Spent table of the test report.
- Improved the quality and specificity of error messages from Evaluate steps.