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

Published
Length
3 min read

Luis Felipe Dias

All posts

You link kibana and testcomplete by sending UI test logs into your central search index. This setup lets teams see pass rates, failed steps, and app errors in one dashboard. TestComplete runs automated UI tests across desktop, web, and mobile apps. Kibana reads the test output and turns raw logs into clear charts. When both tools work together, engineers spot broken builds fast. They do not need to dig through local files on build machines. Instead, every test run appears next to server logs fr

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 link kibana and testcomplete by sending UI test logs into your central search index. This setup lets teams see pass rates, failed steps, and app errors in one dashboard.

TestComplete runs automated UI tests across desktop, web, and mobile apps. Kibana reads the test output and turns raw logs into clear charts. When both tools work together, engineers spot broken builds fast. They do not need to dig through local files on build machines. Instead, every test run appears next to server logs from the same minute.

How kibana and testcomplete share data and roles

Data flows in one direction from your test runners to your search store. First, TestComplete finishes a test step or a full suite run. Next, a script or log shipper reads the local results file. The shipper formats each event as structured data with timestamps and test names. Then it sends those records over HTTPS to the search cluster.

Kibana sits on top of that search cluster and reads the stored records. Users log in to Kibana with their team accounts to view the dashboards. The test runners do not need human accounts to send data. Instead, each runner uses a narrow write key to push new log lines.

Permissions stay clean when you split read roles from write roles. Test runners get permission to add records to one specific test index. They cannot read old logs, delete indices, or change cluster rules. Meanwhile, engineers get read roles in Kibana to filter and chart those test logs. This split keeps your test data safe from accidental changes during a run.

Common failure modes and how to scope network paths

Many teams start by sharing one admin key across all test machines. That choice creates a big risk if a build machine gets exposed. A leaked admin key lets an attacker read or wipe all production logs. Broad keys also make it hard to tell which runner sent bad data.

Unlogged queries and wide network paths cause trouble too. If any machine on the network can write to the log store, junk data piles up. Test logs might also carry sensitive strings from test forms. For example, a test might type sample emails, phone numbers, card numbers, or national IDs. Masking rules rewrite matched fields in results so raw test strings do not spread.

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

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To fix these issues, give each runner group its own scoped write key. Rotate those keys on a regular schedule using your secret store. Lock down network paths so only known test subnets can reach the log ingestion port. Set index rules that reject records with missing fields or wrong data types. Finally, keep an audit trail of every user who runs queries in Kibana.

Keeping test dashboards fast and clean

UI test tools can create huge log files during long runs. If you send every mouse move or screenshot, your search index fills up fast. Large indices slow down chart loads and raise storage costs for the whole team.

Send only summary facts, error messages, run times, and build tags to your index. Store heavy screenshots or video files in cheap object storage instead. Put a plain text reference ID in the log record to match the failure. This habit keeps your dashboards fast while still giving teams full context on failures.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

How do test logs get from TestComplete into Kibana?

TestComplete exports run results to a local file or sends events through a script. A log shipper or HTTPS call pushes those structured records into your search index for Kibana.

What permissions should the TestComplete runner account have?

Give the runner a scoped key that can only write new records to the test index. Do not give the runner read rights, delete rights, or admin control over the cluster.

How can teams handle sensitive data inside UI test logs?

Use fake data during test runs and apply masking rules to rewrite matched fields in results. This step handles emails, phone numbers, card numbers, or national IDs before teams run searches.

The query runs. The emails stay hidden.