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

Published
Length
3 min read

Luis Felipe Dias

All posts

You pair Redash and TestComplete by sending automated test results into a central database. Then, Redash reads those records and builds live charts for your quality team. This workflow turns raw test logs into clear dashboards for every release. Engineers spot broken builds fast and track pass rates over time. Yet, linking test runners to data tools brings real security risks. You must manage how both tools log in and read data. How Redash and TestComplete share data and roles TestComplete r

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.

You pair Redash and TestComplete by sending automated test results into a central database. Then, Redash reads those records and builds live charts for your quality team.

This workflow turns raw test logs into clear dashboards for every release. Engineers spot broken builds fast and track pass rates over time. Yet, linking test runners to data tools brings real security risks. You must manage how both tools log in and read data.

How Redash and TestComplete share data and roles

TestComplete runs functional checks against your desktop, web, or mobile apps. During a run, it records pass counts, error messages, and run times. You can set up your test scripts to write these results out. Most teams send this output to a SQL database or an API.

Redash sits on top of that same database to run queries. It pulls the latest test rows and refreshes charts on a set schedule. The two apps do not talk to each other through a direct link. Instead, the database acts as the shared bridge between them.

Each tool needs its own database role to do its job well. TestComplete needs a role that can only insert new test rows. Redash needs a role that can only read those finished rows. Keeping these roles separate stops a bad script from dropping old tables.

Common risks with shared keys and wide permissions

Many teams rush the setup and use one admin database account. They put the same root password into both the test runner and Redash. This shortcut creates a big problem when a test machine gets compromised. An attacker can read that plain password and delete production data.

Broad API keys inside Redash cause similar trouble for engineering teams. A user with a full key can pull sensitive rows from other tables. Test databases often hold real customer emails, phone numbers, or card numbers. If Redash queries those tables, raw personal data shows up on shared dashboards.

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

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Unlogged queries make this issue even worse during a security audit. When ten people share one login, you cannot tell who ran a query. You lose the trail between a person and the database load they caused.

Scoping network paths and database permissions

Start by locking down the network path between your test runners and storage. Put the test results database in a private subnet with strict firewall rules. Allow write traffic only from the specific IP addresses of your test hosts. Allow read traffic only from the server that hosts your Redash instance.

Next, create narrow database roles for each part of the pipeline. Give the test runner role permission to write only to the results schema. Give the Redash role permission to read only from clean reporting views. Masking rules can rewrite emails and card numbers in those query results.

Finally, rotate your database keys and API tokens on a regular schedule. Store secrets in an encrypted vault instead of plain text test project files. Pull the credentials into memory only when a test job starts running. Remove old keys right away when an engineer leaves the quality team.

Add runtime guardrails and masking beside your databases and APIs

Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.

Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.

Frequently asked questions

Can Redash trigger a TestComplete run directly?

No, Redash is built to read data and show charts, not start jobs. Use your continuous integration server to start test runs on a schedule.

Where should we store the test results between the two tools?

A relational database like PostgreSQL or MySQL works best for this workflow. Test scripts write rows after each run, and Redash queries those tables.

How do we keep sensitive test data off shared dashboards?

Give Redash a read-only database role scoped to safe reporting views. Apply data masking to rewrite emails, phone numbers, and card numbers in results.

The query runs. The emails stay hidden.