Testing Tableau with Validatar: What Works on Which Site Role

Prev Next

Overview

Validatar tests Tableau through the Tableau Cloud and Server Data Source Template, and most of what goes wrong in Tableau can be tested with nothing more than view and export permission. Querying a published data source directly needs Tableau's API Access capability. Reading definitions needs download permission, refresh history needs a Site Administrator, and testing what a specific user sees needs a connected app. This page shows which checks need what, and lists what to ask your Tableau administrator for.

Checks by tier

Check Any site role API Access Download Site Administrator Connected app
Projects, published data sources, workbooks and views in the catalog Yes
Logical tables and fields of each published data source in the catalog Yes Yes
Extract refreshed recently Yes
Data quality warnings Yes
A sheet's numbers match the warehouse (view data) Yes
Every view returns data, renders, and shows no Tableau error text Yes
A view looks the same as recent runs, brand colours present Yes
Fields and calculation formulas unchanged since the last run Yes
Totals and breakdowns of a data source match the warehouse Yes
Row counts, null counts and distinct counts per logical table Yes
Relationship keys with no match, duplicate dimension keys Yes Yes
Calculations that fail or return only nulls Yes
A live connection still answers Yes
Field profiling in profile history Yes
Sheets use fields that still exist Yes
Filters nobody can see, data source and extract filters Yes
Connection points at the production server Yes
Sheet definitions unchanged, workbook revisions Yes
User filter calculations as approved Yes
Refresh jobs succeeded, refresh schedule as approved Yes
Users, site roles and groups Yes
A sheet or query as a named user shows only that user's rows Yes
Every logical table is filtered for a user Yes Yes
  • Any site role means View on the content, plus Download Summary Data and Download Image/PDF on workbooks. It works on Tableau Cloud and Tableau Server.
  • API Access is a capability on each published data source, off by default. It needs Tableau Cloud, or Tableau Server 2025.1 or later.
  • Download means Download Data Source on data sources and Download/Save As on workbooks. Workbook revisions also need version history on, and Explorer (can publish) or above with Overwrite.
  • Site Administrator means a Site Administrator Explorer or Site Administrator Creator.
  • Connected app means the data source signs in through a direct-trust connected app, which can act as any licensed user on the site.

Without Download, the catalog groups a data source's fields by the database table they come from instead of by Tableau's logical tables.

We recommend running the tests as a Site Administrator Creator, through a connected app, with API Access and Download granted on the content you test. That user can run every check on this page.

Three things that surprise people

Querying a data source has an hourly allowance. Tableau's VizQL Data Service, which every API Access check uses, allows 100 queries an hour for each Creator license on the site, shared by everything on the site. On a Tableau Cloud developer site with one Creator license, Validatar measured about 28 per clock hour. The template counts its queries, stops at once when Tableau says the allowance is used up, and spends no queries on catalog ingestion. Reading a view's data or image uses none of it. More Creator licenses on the site mean a larger allowance.

A dashboard's data is its first sheet. Tableau returns the summary data of a dashboard's first sheet only, so tests that read numbers point at sheets. Dashboards are still tested as images: whether they render, show error text or changed.

An uploaded .hyper file is a live connection. Tableau Cloud treats a data source published from a .hyper file as a live connection to that file, with no extract and no refresh. Freshness checks need an extract over a database connection. An extract over Snowflake with key-pair sign-in can only be published from Tableau Desktop or Tableau Prep Builder, and if Snowflake has a network policy, it must admit Tableau Cloud's address range for your pod.

What to ask your Tableau administrator for

  1. A direct-trust connected app, enabled, with a secret. You need its Client ID, Secret ID and secret value. The app needs no scope settings: Validatar names the scopes in each token.
  2. A user for the tests to run as, ideally a Site Administrator Creator. With a connected app it needs no password.
  3. On each published data source to test: View, Connect, Download Data Source and API Access for that user or its group.
  4. On each workbook to test: View, Download Image/PDF, Download Summary Data and Download/Save As.
  5. Version history on, if you want workbook revisions.
  6. For row-level security tests: the users to test as, existing and licensed on the site.

If a connected app is not possible, a personal access token works for every check except acting as another user. A token holds one session at a time, so each Validatar data source needs its own.

The Prerequisites section of the Tableau Cloud and Server Data Source Template article has the detail behind each item.

Related Articles