The Simplest Way to Make Kuma and Loadrunner Work Like They Should
Using kuma and loadrunner together lets teams test app speed inside a service mesh. LoadRunner sends test traffic while Kuma manages network rules and service safety. Teams run load tests to see how apps handle heavy user traffic. When apps sit inside a service mesh, every test request crosses mesh sidecars. You must set up both tools so test traffic follows real production paths. If you skip this step, the mesh might block your load generators. Worse, the mesh might skew your test numbers with
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.
Using kuma and loadrunner together lets teams test app speed inside a service mesh. LoadRunner sends test traffic while Kuma manages network rules and service safety.
Teams run load tests to see how apps handle heavy user traffic. When apps sit inside a service mesh, every test request crosses mesh sidecars. You must set up both tools so test traffic follows real production paths. If you skip this step, the mesh might block your load generators. Worse, the mesh might skew your test numbers with retry loops.
How traffic flows between kuma and loadrunner
LoadRunner uses load generators to send requests to target services. In a Kuma mesh, each service runs next to a data plane sidecar. The control plane sends traffic rules and identity keys to these sidecars.
First, you must decide where your load generators live. You can run them outside the mesh or inside the mesh. Running generators outside the mesh tests your edge ingress and network borders. Running generators inside the mesh tests direct service-to-service speed and sidecar limits.
When LoadRunner sends traffic from inside the mesh, it needs a mesh identity. Kuma checks this identity before it lets traffic reach the target app. Mutual TLS encrypts the traffic between the load generator sidecar and the app sidecar. The mesh also records metrics for every test request that passes through.
Permissions play a big role in this workflow. Kuma uses traffic permission rules to allow or deny requests between services. You must write a rule that lets the LoadRunner identity call the target app. Without this rule, the sidecar drops all test packets right away.
Common failure modes and how to fix them
Many teams hit errors when they first run load tests through a mesh. The most common mistake is using one shared service account for all tests. When every load generator uses the same broad identity, you lose track of test sources. If a test breaks a database, you cannot tell which test run caused it.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Broad tokens also create security risks in shared test clusters. Engineers often turn off mutual TLS just to make a failing load test pass. Turning off encryption makes your test setup differ from your real production setup. It also leaves internal apps open to unauthorized calls during the test window.
Mesh retry rules and timeouts can also ruin your load test results. If an app slows down under load, Kuma might retry failed requests by default. Those extra retries multiply the traffic hitting your backend services. LoadRunner then logs strange response times that do not match real app behavior.
Unlogged database queries during load tests cause another big blind spot. Load tests often trigger thousands of backend queries per second. If you do not log who started the test, auditing data access becomes hard. Also, if test beds hold real user data, masking rewrites matched fields in results. For example, masking can rewrite emails, phone numbers, card numbers, or national IDs.
Scoping roles and network paths for clean tests
You can fix these issues by scoping roles and network paths with care. Give your LoadRunner generators their own unique service identity inside the mesh. Scope traffic permissions so generators can only reach the exact apps under test. Block test traffic from reaching billing systems or shared production databases.
Next, review your mesh timeout and retry rules before starting a big test. Set specific traffic route rules for requests coming from the LoadRunner identity. This lets you test raw app capacity without triggering endless mesh retry storms. When the test ends, revoke the test keys or scale down the generators.
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
Should LoadRunner generators run inside or outside the Kuma mesh?
Run generators outside the mesh to test full user paths through your ingress. Run them inside the mesh when you want to test isolated internal services.
Why does Kuma block LoadRunner traffic when mutual TLS is on?
Kuma blocks traffic if the load generator lacks a valid sidecar certificate. Add a sidecar to the generator and grant it permission to call the app.
How do mesh retries affect LoadRunner test metrics?
Mesh retries send extra requests when a target service responds too slow. This hides initial failures from LoadRunner and adds extra load to your backend.
Related guides
In this post