Sandbox Server v2.3606

Nick Houghton, March 14 2017


New release

A new version of the server is available, summary of changes:

  • Refactor of internal component communications
  • Simplify initial setup
  • Extend server documentation
  • Performance improvements
  • WSDL importer fixes
  • Various bug fixes

Sandbox Server is our on-premise, supported version of Sandbox Cloud, it contains all the features of the Sandbox Cloud and a few extras (like JMS) but hosted in your network. Pricing is available here

Hit us up with any feedback, or raise a ticket on GitHub.

Sandbox Server v2.3444

Nick Houghton, July 31 2016


New release

A new version of the server is available, summary of changes:

  • API Support!
  • Improved XML document parsing and interactions
  • Extended the delay before a sandbox will sleep, improve first request response times
  • Further performance optimisations
  • Simplified the external database requirements down a single DB (this may effect your config if you have externalised)
  • Various bug fixes.

Sandbox Server is our on-premise, supported version of Sandbox Cloud, it contains all the features of the Sandbox Cloud and a few extras (like JMS) but hosted in your network. Pricing is available here

Hit us up with any feedback, or raise a ticket on GitHub.

The Sandbox API

Nick Houghton, June 15 2016


REST API

The first version of our API for the Sandbox and Activity resources is now public! We have had an unofficial / unsupported API for more than 2 years as some eager users have discovered, but as of now the first version of our API is now public and supported.

The API covers operations across both the Sandbox and Activity resources, most importantly the Activity search operation is part of the API, which is required for external test assertions (available through both the API and the upcoming Java SDK)

The API documentation including interface specification and examples is available here, we have a task on our backlog to write tutorials showing how to use the API, so you should see those soon!

Hit us up with any feedback, or raise a ticket on GitHub.

Change to req.get() behaviour

Nick Houghton, May 29 2016


Change in JS functionality

This is a notification of a minor but potentially important change in functionality that might effect your Sandbox behaviour.

The change is to how the req.get() function behaves when no header for the given name is found, previously this incorrectly returns ‘undefined’ as a string, we will be deploying a change over the coming weekend 29th May 2016 that will fix this incorrect behaviour to return a proper JS undefined.

You may have to update some of your Sandbox JavaScript code to suit this subtle new behaviour. Where previously you may have had code like this because of this defect:

if(req.get('HeaderName') == 'undefined')

you can now write the proper:

if(!req.get('HeaderName')) 

or 

if(req.get('HeaderName') === undefined)

A number of Sandboxes with the now incorrect usage have been automatically updated to suit, but yours may have been missed by the search and you will need to update it manually.

Hit us up with any feedback, or raise a ticket on GitHub.

Externalised JavaScript configuration

Nick Houghton, February 21 2016


Config!

A feature users have been asking for in different ways for a while was a way to make their Sandboxes more configurable, to be able to describe their Sandboxes logic in JavaScript but not have to keep updating and tweaking it to change environment style values. Our new feature Sandbox.config solves this problem!

The new config feature is already live, and the details of how it works are here - config properties.

It is super simple, all the config values configured via the UI or API are exposed to your JavaScript as a JS map object on the Sandbox object. A simple example would be:

Sandbox.define('/test', 'GET', function(req, res) {
  return res.send(Sandbox.config.responseText)

})

Hit us up with any feedback, or raise a ticket on GitHub.