
Setting up Tableau Scout
Tableau scout is a neat utility that makes it easy to do some user acceptance testing on Tableau workbooks on Tableau server. The big features to call out are its ability to test workbooks in a specific project or site for performance, load times, errors and also keep a long view of these factors as you make changes to your server topology or change the data source. It can also record server-side statistics relating to the tests and store the results in a database for regression testing and long term views of how your performance is changing with upgrades.
In this post (the first of many), I’m going to cover how to set it up on your computer. At the time of writing, it only runs on a Windows machine so Mac users like myself have to run this on a remote machine or a virtual image.
Step 1 Download Tableau Scout
At the time of writing, the latest version of Scout is V 1.3. You can grab Tableau Scout from the following community forum page. Tableau Scout is a community tool and as such is not officially supported by Tableau but is built as a utility for the community mostly by Tableau developers but also by members of the community. Check the forum page above for version support and other release updates.
Step 2 Setup dependencies.
Tableau Scout uses the Java so it requires you to install Java then as an additional step add Java to the Path variables in Windows so it can be referenced in the command line.
Let’s do the first step. Install Java and be sure to install the 64-bit version. By default, the installer you get is 32-bit so be sure to select manual downloads and select the 64-bit download. Here’s the current link to the download page.
Once installed you need to set some Path variables. If you use the command line frequently line you’ll be familiar with this step. If not follow along.
First, head to the advanced system settings panel. In windows 10 you can simply search for it.

Once there you should see the following options on the left of the image below. Select the very last option titled “Environment Variables” labelled 1 and that opens a second window. We’re only interested in the green options, New and edit.

First, let’s set the System variable to point to the Java Home directory. Set Java Home variable by selecting the new option highlighted in green in the image.

Now let’s edit the Path system variable and add a new item to the bottom pointing to the ‘bin’ folder inside the Java Home directory. This is why we set up the first system variable. Doing it this way allows you to change the version of Java you’d like to use by just repointing the Java Home to a different folder.

Now we’re all set we can check to make sure everything works as it should. Open the command line and run the commands highlighted in red. echo %JAVA_HOME%
and after that java -version

We’re ready to run Tableau Scout! You can run it in one of two ways, directly in the command line or using the user interface. In this post, we will cover the user interface and in future posts highlight why the command line method might be preferred.
Step 3: Your first run of Scout
To run Scout, unzip the folder you downloaded and inside of that folder, simply double click the highlighted batch file. You will get a prompt relating to permissions.

The first time you run it you’ll see the command line fire up. It can take a while for the Tableau Scout interface to show up so be patient. If it fails it might close without any warning so if it does this more than a couple of times then record your screen and play it back to catch any error codes that come up. The command line should look like this if it’s worked and Tableau Scout will have loaded.

In the next post, we will cover the process of running scout and how to configure it for different types of tests but for now, have a go and see where you end up.
Thanks Tim,
During the installation, we have an error with ChromeDriver, which version you are using ?
Starting tests for iteration: 1
ServerLoginInteraction failed execution. Error: org.openqa.selenium.InvalidArgumentException:
invalid argument: entry 0 of ‘firstMatch’ is invalid
from invalid argument: unrecognized capability: acceptSslCerts
Build info: version: ‘3.11.0’, revision: ‘e59cfb3’, time: ‘2018-03-11T20:26:55.152Z’
System info: host: ‘*****’, ip: ‘****’, os.name: ‘Windows Server 2016’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_261’
Driver info: driver.version: ChromeDriver
remote stacktrace: Backtrace:
Ordinal0 [0x010A3733+2504499]
Ordinal0 [0x0103C401+2081793]
Ordinal0 [0x00F42628+1058344]
Ordinal0 [0x00F53C74+1129588]
Ordinal0 [0x00F88C29+1346601]
Ordinal0 [0x00F8870F+1345295]
Ordinal0 [0x00F89955+1349973]
Ordinal0 [0x00F897DA+1349594]
Ordinal0 [0x00F85D4B+1334603]
Ordinal0 [0x00F622B4+1188532]
Ordinal0 [0x00F63149+1192265]
GetHandleVerifier [0x0121FB8C+1512252]
GetHandleVerifier [0x012CB0DF+2214031]
GetHandleVerifier [0x01124BC3+484211]
GetHandleVerifier [0x01123E69+480793]
Ordinal0 [0x0104218D+2105741]
Ordinal0 [0x010466E8+2123496]
Ordinal0 [0x01046827+2123815]
Ordinal0 [0x0104FB73+2161523]
BaseThreadInitThunk [0x771A62C4+36]
RtlSubscribeWnfStateChangeNotification [0x778E1B69+1081]
RtlSubscribeWnfStateChangeNotification [0x778E1B34+1028]
Total interactions executed: 0
Failed interactions: 0
Percentage failed: 0.0
Threshold for failing Scout run: 20
Scout run failed with error code = 1
Cheers,
Hi Tim,
How to install Java fx on system.
Followed your steps mentioned above , when executing java -version from cmd prompt , its showing an error ‘java’ is not recognised as internal or external command