Skip to content

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

@tr4nquillo

Description

@tr4nquillo

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";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions