I have a jar file with some utility methods I use in my scripts.
There is just one method that JMeter refuses to call.
The error I get is:

Response message: org.apache.jorphan.util.JMeterException: Error invoking bsh 
method: eval                Sourced file: inline evaluation of: ``import 
com.qpass.jmeter.WebServiceUtilityForJmeter; import com.qpass.utility.CAP . . . 
'' : Typed variable declaration : Error in method invocation: Method 
substituteParams( java.lang.String, java.lang.String ) not found in 
class'com.qpass.utility.CAPDataLoad'

The method is declared as:
    public String substituteParams(String line, String target)

The script that invokes it is:
CAPDataLoad cdl = new CAPDataLoad();
String primaryID = cdl.substituteParams("{PrimaryConsumerIdentifier{IdData}}", 
xml);

I've tried calling a different method from the same class that only has 1 
string param, and that works just fine.

Any suggestions on what (incredibly obvious) thing I'm doing wrong?


This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp

Reply via email to