Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support single-server view testing #19

Open
mcoles opened this issue Nov 4, 2021 · 1 comment
Open

Support single-server view testing #19

mcoles opened this issue Nov 4, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@mcoles
Copy link
Collaborator

mcoles commented Nov 4, 2021

TabCompare was designed to analyze differences between the same dashboards running on two versions of Tableau Server. However, simply rendering views from a single server to PNG/CSV, reporting errors and loadtimes could be a useful feature in and of itself. Another reason a administrator might want this functionality is for auditing a viz as it changes over time (think the Internet Archive).

It is possible to use TabCompare for these use cases, if you specify the same server as both the --sa and --sb arguments, e.g.:

.\TabCompare.exe --sa 'https://myserver.mycompany.com' --sb 'https://myserver.mycompany.com' --cv --cd --nr 1 --nt 10 --vi c:\TabCompare\MyTop500ViewLuids.csv --u yourusername --f c:\TabCompare\Top500ViewTest

However, this results in double the requests, double the file outputs,and you're still comparing the files, looking for nonexistant differences. The following changes could probably be made to support these kinds of single-server export scenarios:

  1. Make --sa optional, but perhaps with a warning that standard comparison functionality will not apply.
  2. Skip comparison functions for the single-server scenario
  3. Change the .twbx to make it more elegantly support only a single server (maybe a parameter changes the view, or we make a second sheet?). Note that we should continue exporting the same set of columns in the report.csv file.
@mcoles mcoles added the enhancement New feature or request label Nov 4, 2021
@mcoles
Copy link
Collaborator Author

mcoles commented Nov 8, 2021

So, you can actually already do this if you specify the same server as both the --sa and --sb arguments, e.g.:

.\TabCompare.exe --sa 'https://myserver.mycompany.com' --sb 'https://myserver.mycompany.com' --cv --cd --nr 1 --nt 10 --vi c:\TabCompare\MyTop500ViewLuids.csv --u yourusername --f c:\TabCompare\Top500ViewTest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant