question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Distributed tests only run once

See original GitHub issue

Originally posted in #62. I’m moving it here because it seems to be a whole new thing and possibly a bug in this library. Originally opened there by @jrodguitar.

I setup the jmeter distributed, and prometheus and my pods (which I'm going to test some load against).
Prometheus shows the endpoints as DOWN, before i run any tests.
Prometheus shows the endpoints as UP, while the jmeter tests are running
When the jmeter tests finish, Prometheus shows the endpoints as DOWN.
Up to this point everything is fine.

If i want to do another run of the distributed jmeter, the endpoints never become UP anymore.
even doing a curl localhost:9270 in the pod, seems unreachable.
but running this command kubectl describe endpoints jmeter-slaves-svc
shows that the port 9270 is properly listed.

Any ideas?
The workaround is to redeploy over and over my jmeter slaves pods. but that's not ideal.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
joris-lambrechtscommented, Nov 3, 2019

For what’s worth, you can get the same behaviour when you load your example in JMeter and start / stop the test. The first time the server starts correctly and Prometheus can scrape it. Consecutive times the server returns an empty response.

0reactions
beemicommented, Sep 2, 2020

@joris-lambrechts i am seeing same issue for distribution testing.

can you help me on this, master and slaves are running as docker containers.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Distributed testing - OpenTest
Most automated tests execute on a single machine and only ever interact with a single web browser window, mobile app or back-end service....
Read more >
maven - Jenkins CI- Distributed Testing After a Build is done
Invoke Maven during build steps to run the Junit unit tests. However Jenkins would only select one slave to execute all tests. I...
Read more >
Distributed Testing - Basic Concepts - SmartBear Support
However, the term “distributed” means not only a simultaneous run of tests on a number of machines, which is specific for parallel testing....
Read more >
Running only some of the tests after a code change [closed]
Each time a change is made on the source code, Infinitest runs all the tests that might fail because of these changes.
Read more >
Distributed and Parallel Tests Execution of WebDriver UI Tests
Now with Meissa, we execute them in under 4 hours, and this is without using the in-parallel Bellatrix feature. We only distribute all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found