without the jar file , tough to say (perhaps your class file isnt the latest
or you have multiple versions of the same class available to Jmeter)


On Thu, Oct 27, 2011 at 11:40 AM, John Lussmyer <john.lussm...@amdocs.com>wrote:

> 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