And your suggestion helped! I went digging around in the lib dir, and found another old .jar with an old version of the class in it. Thanks! (I figured I had to be missing something obvious.)
-----Original Message----- From: Deepak Shetty [mailto:[email protected]] Sent: Thursday, October 27, 2011 11:53 AM To: JMeter Users List Subject: Re: Odd probably calling method in jar file 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 <[email protected]>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 > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

