The Simplest Way to Make Port and Testcomplete Work Like They Should
Teams use port and testcomplete together to trigger automated UI tests from a developer portal. Port displays service health and triggers actions, while TestComplete runs the tests and returns results. In many teams, developers write code while QA teams build desktop and web test suites. Without a link between these tools, engineers must ask QA to run tests by hand. Linking your portal to your test runner lets developers run checks on their own. When a developer clicks a button in the portal, t
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 port and testcomplete together to trigger automated UI tests from a developer portal. Port displays service health and triggers actions, while TestComplete runs the tests and returns results.
In many teams, developers write code while QA teams build desktop and web test suites. Without a link between these tools, engineers must ask QA to run tests by hand. Linking your portal to your test runner lets developers run checks on their own. When a developer clicks a button in the portal, the test runner starts a job. Once the test finishes, the runner sends the pass or fail status back to Port. This setup keeps your service catalog fresh with real test data before each release.
How port and testcomplete share data and roles
The link between port and testcomplete relies on webhooks, REST APIs, and runner agents. Port acts as the control plane where engineers view apps and start self-service actions. When a user starts a test action in Port, the portal sends an outbound payload. That payload travels to your CI pipeline or straight to a test management host. The host then wakes up a local machine or virtual host running TestComplete.
Next, the test runner pulls the latest test project and runs the desktop or web checks. During the run, the tool checks user flows, buttons, and data fields on the screen. If the test touches personal data, masking rewrites matched fields in results like emails or phone numbers. When the job ends, the pipeline reads the exit code and summary log. A small script then sends a web request back to the Port API. This request uses a client key and secret to log in and write the new status. Port updates the service scorecard right away so the whole team sees the test health.
Common failure modes and how to scope permissions
Many teams set up this link fast by using one shared admin account. They put a long-lived API token into their test runner scripts and move on. This choice creates big security risks and makes it hard to track who ran what. If that shared token leaks in a test log, an attacker can change your whole catalog. Also, when ten developers trigger tests at once, the logs only show the shared bot name.
You can fix this by giving each workflow its own narrow role and short-lived token. Set up the test runner credential so it can only write to test result entities. Never let the test machine delete catalog items or change user roles in the portal. On the network side, keep your test machines inside a private subnet. Let the CI runner poll for jobs instead of opening inbound ports to the public web. Finally, log every action trigger in Port with the user email and a unique run ID. Pass that run ID to the test host so you can match portal clicks to test logs.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Setting up scorecards for release checks
Once data flows cleanly between both tools, you can build clear rules for production releases. Port lets you set up scorecards that grade each service based on real test facts. For example, a service might need a passing UI test run from the last twenty-four hours. If the latest run in TestComplete fails, the scorecard drops to a red state.
Release managers can check this single view before they approve a deploy to production. Developers also see right away why their service failed the check without digging through build servers. They can fix the broken UI code and trigger a fresh test run from the same page. This tight loop cuts down on chat messages and keeps broken code away from users.
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 Port trigger TestComplete runs without a CI server?
Yes, if your test manager exposes a web API that accepts incoming webhook payloads. Most teams still use a CI runner in the middle to manage queues and virtual machines.
What data should we send back to the developer portal?
Send the final pass or fail status, the run duration, the git commit, and a log link. Avoid sending huge raw log files into the catalog, as they slow down the portal view.
How do we handle test credentials for the apps under test?
Store app login keys in a secret store and inject them when the test starts. Never hardcode test user passwords inside your test scripts or your portal payload fields.
Related guides
In this post