Picture this. You have a flaky performance test suite that fails half the time, not because your app is slow, but because your CI environment mismanages credentials and timing. The culprit is usually a messy handoff between LoadRunner and TeamCity. The fix is cleaner than you think.
LoadRunner is the go-to for simulating load on systems before users hit them in production. TeamCity is JetBrains’ continuous integration platform that automates build, test, and deploy pipelines. They can work beautifully together, but only if identity, environment setup, and result ingestion are coordinated with discipline. That’s where many teams stumble.
When you pair LoadRunner TeamCity properly, each performance test run becomes a deterministic stage in your CI flow. TeamCity handles orchestration, pulls scripts from version control, and triggers LoadRunner using stored credentials and environment variables. LoadRunner executes tests, feeds structured results back into TeamCity artifacts, and flags regressions with clear pass/fail logic. No fragile agents. No manual clicks.
To do this right, keep authentication consistent with your identity provider. Use an OIDC or SAML-backed login like Okta to manage service accounts rather than sharing local credentials. Feed environment configuration through TeamCity parameters so LoadRunner scripts remain portable. This keeps test environments reproducible across cloud and on-prem setups, whether AWS IAM controls are in play or not.
A quick featured snippet answer:
How do I connect LoadRunner and TeamCity?
You configure a TeamCity build step to invoke LoadRunner commands through the agent executor using stored test definitions and credentials. The results are automatically collected as artifacts and used in further stages like reporting or deployment validation.