Performance testing of Dockerized application hosted on Kubernetes

12/3/2019

Our project involves containerisation of services / application and later they will be deployed on Kuberentes. My job is to do performance testing using Jmeter after the services are hosted on Kubernetes.

I am relatively new to Performance testing and have basic experience on Jmeter that I gained from working on it. I have understood how the app is load / perf tested using basic URLs or APIs but I want to know how I should go about handling performance testing for Docker containers hosted on Kubernetes.

How could I handle the above scenario?

-- Pratik
containers
docker
kubernetes
performance-testing

1 Answer

12/4/2019

JMeter doesn't know anything about the underlying technologies used at the backend, it just sends requests via Samplers, waits for responses and measures the elapsed time of the request and some other performance metrics. Later on you can generate HTML Reporting Dashboard to visualize the results

So your goal is to:

  1. Identify the business use cases you need to implement for the performance testing
  2. Identify network protocols which are being used under the hood of these business use cases
  3. Create a JMeter Test Plan to precisely mimic the real user (or other application) accessing your system and doing what it supposed to be doing
-- Dmitri T
Source: StackOverflow