The Simplest Way to Make Superset and Testcomplete Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams use superset and testcomplete together to turn raw test logs into clear charts. TestComplete runs automated UI tests and writes results to a central database, which Superset reads to display pass rates. This workflow helps engineering teams spot broken builds fast. QA engineers run test suites on every code change. The test runner sends result rows to a shared analytical store. Developers then open dashboards to check failure trends before they ship code. How data and permissions flow b

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Teams use superset and testcomplete together to turn raw test logs into clear charts. TestComplete runs automated UI tests and writes results to a central database, which Superset reads to display pass rates.

This workflow helps engineering teams spot broken builds fast. QA engineers run test suites on every code change. The test runner sends result rows to a shared analytical store. Developers then open dashboards to check failure trends before they ship code.

How data and permissions flow between superset and testcomplete

The link between these two tools relies on a shared SQL database. TestComplete finishes a test run and exports the summary data. A script or pipeline loads those records into tables in Postgres or MySQL. Superset then queries those tables to build charts for the team.

Each tool needs its own login and role in that database. The test runner needs a role that can write new rows into the results table. The reporting tool needs a role that can only read from that table. Separating these two roles keeps your test history safe from accidental edits.

User logins also need careful setup on the dashboard side. Teams link their identity provider so staff log in with single sign-on. Group rules then control which dashboards each developer or manager can view.

Common failure modes and how to scope roles

Many teams take shortcuts when they first wire up these two systems. They often share one admin database login between the test runner and the chart app. If a bad query runs in the chart tool, it could wipe out test history. A leaked key from a test machine could also expose the whole database.

Broad network paths create another big risk for your test data. Teams sometimes open the database port to every test agent on the network. Anyone on that subnet can then reach the database directly with stolen keys.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Unlogged queries also hurt security and speed during busy release weeks. When everyone uses one shared account, the database log shows the same username for every action. You cannot tell which user ran a heavy query that slowed down the server. Test logs can also hold sensitive data like emails, phone numbers, or card numbers from test payloads.

To fix this, give each tool a narrow database role with strict table rules. Let the test agents write only to the raw results schema. Let the chart tool read only from clean summary views. Set up data masking to rewrite emails and card numbers in query results.

Keeping test analytics fast and auditable

Good test reporting depends on clean data and clear audit trails. Start by rotating the database keys for your test runners on a set schedule. Store those keys in a secure secret store instead of plain text files.

Next, review the queries that build your main engineering dashboards. Heavy joins on raw test logs will slow down the database for everyone. Build summary tables after each test run so charts load in seconds.

Finally, track every query back to the person who ran it. When an engineer explores test failures in SQL Lab, log their exact identity. Clear logs help you spot slow queries and prove who read sensitive test data.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

Can Superset read TestComplete files directly?

No, the chart tool needs a SQL database to run queries against. You must export your test results into a supported SQL store first.

What database permissions should the chart tool have?

Give the reporting tool a read-only role scoped only to your test summary tables. Never give it permission to alter tables or delete rows.

How do we protect sensitive data inside test logs?

Use data masking rules to rewrite emails, phone numbers, and national IDs in query results. This keeps real data safe while engineers debug test runs.

The query runs. The emails stay hidden.