You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by ravi kumar <an...@yahoo.co.in> on 2005/12/01 09:31:48 UTC

problem with backward compatibility

  HI
   
     I'm using JMeter2.1 and  I made some changes to the code.
   
     I haven't made any changes to upgrade.properties or saveservice.properties.
   
     Now if I try to open the jmx files I'm getting classNotFoundExcaption. Please look at the attached image for exact information.The Jmeter.log 
file contains no errors.Contents of jmeter.log are
   
  2005/12/01 11:08:32 INFO  - 
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access 
log sampler bean info 
2005/12/01 11:08:32 INFO  - 
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers: 
[org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser, 
org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser, 
org.apache.jmeter.protocol.http.util.accesslog.TCLogParser] 
2005/12/01 11:08:32 INFO  - 
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of 
access log samper bean info init 
2005/12/01 11:08:32 INFO  - jmeter.samplers.SampleResult: Note: Sample 
TimeStamps are END times 
2005/12/01 11:08:32 INFO  - jmeter.samplers.SampleResult: 
sampleresult.default.encoding is set to ISO-8859-1 
2005/12/01 11:08:47 INFO  - jmeter.protocol.http.sampler.HTTPSampler2: 
httpsampler2.basicauth=false 
2005/12/01 11:08:47 INFO  - jmeter.save.SaveService: Using SaveService 
properties file 1.7 
2005/12/01 11:08:47 INFO  - jmeter.save.SaveService: All converter 
versions present and correct 
   
   
     Now, If I delete the Saveservice.properties file from Bin 
folder..JMeter is able to open the script file.But in this case the 
problem is 
   
     If I open jmeter1.9 script files,Backward compatibility is 
gone(i.e things like..Browser derived headers and others are 
misiing...!),which can be understood.
   
     Do I need to make any changes to the saveservice.properties file for 
the new modifications I made.
   
Does any one have any suggestions or Idea's. 
      
  thanks in advance for ur help
  
Ravi Kumar
   



		
---------------------------------
 Enjoy this Diwali with Y! India Click here

Re: problem with backward compatibility

Posted by sebb <se...@gmail.com>.
On 01/12/05, ravi kumar <an...@yahoo.co.in> wrote:
>
> HI
>
>      I'm using JMeter2.1 and  I made some changes to the code.

Such as? No need to post code, but did you create new classes, or
change existing ones? Does the test suite still work?

>      I haven't made any changes to upgrade.properties or
> saveservice.properties.
>      Now if I try to open the jmx files I'm getting classNotFoundExcaption.
> Please look at the attached image for exact information.The Jmeter.log
> file contains no errors.Contents of jmeter.log are
>
>   2005/12/01 11:08:32 INFO  -
> jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo:
> Entered access
> log sampler bean info
> 2005/12/01 11:08:32 INFO  -
> jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo:
> found parsers:
> [org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser,
> org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser,
> org.apache.jmeter.protocol.http.util.accesslog.TCLogParser]
> 2005/12/01 11:08:32 INFO  -
> jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got
> to end of
> access log samper bean info init
> 2005/12/01 11:08:32 INFO  - jmeter.samplers.SampleResult: Note: Sample
> TimeStamps are END times
> 2005/12/01 11:08:32 INFO  - jmeter.samplers.SampleResult:
> sampleresult.default.encoding is set to ISO-8859-1
> 2005/12/01 11:08:47 INFO  -
> jmeter.protocol.http.sampler.HTTPSampler2:
> httpsampler2.basicauth=false
> 2005/12/01 11:08:47 INFO  - jmeter.save.SaveService: Using SaveService
> properties file 1.7
> 2005/12/01 11:08:47 INFO  - jmeter.save.SaveService: All converter
> versions present and correct
>
>
>      Now, If I delete the Saveservice.properties file from Bin
> folder..JMeter is able to open the script file.But in this case the
> problem is
>
>      If I open jmeter1.9 script files,Backward compatibility is
> gone(i.e things like..Browser derived headers and others are
> misiing...!),which can be understood.

Jmeter 1.9 files should still work, so long as upgrade.properties is
still there.

saveservice.properties is only used by the new format.

>      Do I need to make any changes to the saveservice.properties file for
> the new modifications I made.

Perhaps - depends on the changes you made.

> Does any one have any suggestions or Idea's.

Create a Bugzilla issue, and attach a simple JMX showing the problem,
together with:
jmeter.log
jmeter.properties
upgrade.properties
saveservice.properties

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org