Considerations when testing

Our example was only basic; automated tests can be as complex as you need them to be, including tests for the data values that you have displayed on your page. As well as making sure you have a working Splunkserver in your test environment that your application can connect with, you will also need to make sure that you have data available for our standalone web page to load. This may mean having a small sample of data that your Selenium test can verify as being correct for basic tests, but then a mirror of the production indexes to verify that there are no issues using production data.

If you have worked in development teams before you might also be familiar with build tools such as Jenkins or Bamboo. Using these tools ...

Get Learning Splunk Web Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.