I have these APIs which I can manually test by calling the pod using port-forwarding but since APIs are scattered in different pods, I am not able to automate this. Is there a way in K6 where I can call each pod based on the API and automate my API collection in one go.
Asked
Active
Viewed 24 times
0
-
Where are you running the k6 tests? If you are running them inside the same Kubernetes cluster, you should be able to use DNS? (I'm assuming here you are using Kubernetes from your usage of "pod(s)", but you never explicitly mention Kubernetes). Can you share your manual calls? [edit] the question to include the code for those. Then explain with more details why the same call cannot be used from k6. – knittl Oct 20 '22 at 06:45