Tag Archives: # jmeter

[Solved] JMeter Server Command line pressure measurement: Error in NonGUIDriver java.lang.IllegalArgumentException

The whole environment has been built and operated before, and everything is normal.

After debugging the script locally, upload it to the server for pressure test, report an error and prompt:

Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'/usr/local/jscripts/yth.jmx'.
Cause:
CannotResolveClassException: com.github.johrstrom.listener.PrometheusListener……

 

According to the prompt, combine your own operation, because a prometheuslistener plug-in is added during local debugging, but it is not available on the server.

Solution:

1. Add this jar package under the plug-in package under the JMeter directory of the server

2. Re debug the script upload server in the state of no new plug-ins locally

I’ve tried both ways. It’s OK!.

But it’s usually the first one. After all, I want this jar

JMeter JDBC Error: No pool found named: ‘test‘ [How to Solve]

No pool found named

JMeter JDBC error reporting: no pool found named error information reason solution

JMeter JDBC reports an error: no pool found named

Error message

No pool found named: ‘test’, ensure Variable Name matches Variable Name of JDBC Connection Configuration

Reason

The JDBC request needs to connect to the database and needs the corresponding configuration information. If the database configuration information is not found, this error will be reported, Find the configuration information through the value filled in variable name of pool declared in JDBC connection configuration JDBC connection configuration provides the configuration information through the value filled in variable name of created pool. When there are multiple database configuration information, use variable name of pool declared in JDBC connection configuration and variable name of created pool, Ensure that the query request is not confused with the connected database

Solution

Fill the variable name of pool declared in JDBC connection configuration in the JDBC request and the variable name of created pool in the corresponding JDBC connection configuration into the same value