Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JMeter Test fails with memory-usage:url=app.funnyapps.com\:11188 #14

Open
leiferksn opened this issue Oct 31, 2019 · 1 comment
Open

Comments

@leiferksn
Copy link

When trying to collect some metrics through JMX, I get the following exception

java.lang.RuntimeException: Invalid metric specified: jmx

Caused by: java.lang.RuntimeException: Couldn't get metrics from: [class kg.apc.perfmon.metrics.PerfMonMetricsCreatorImpl]
at kg.apc.perfmon.metrics.PerfMonMetricsService.getMetric(PerfMonMetricsService.java:51)
at kg.apc.perfmon.metrics.AbstractPerfMonMetric.createMetric(AbstractPerfMonMetric.java:48)
... 18 more

I use custom url for JMX memory-usage:url=app.funnyapps.com:11188 and the example from the readme. I can reproduce the problem when I run the test

AbstractPerfMonMetricTest.testCreateMetric() with the following settings

    String metricType = "jmx";
    String metricParams = "memory-usage:url=app.funntapps.de\\:11188";
@leiferksn
Copy link
Author

By setting the url first I was able to see the metric.

"url=app.funntapps.de\:11188:memory-usage"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant