You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by 821MARK <82...@gmail.com> on 2005/09/07 16:09:49 UTC

Slow HTTP Proxy Server recording?

I've been recording JMeter scripts on 2 machines (my notebook, and a much 
faster desktop machine), and on the desktop machine the recording takes 
forever, the pages take 20-30 seconds to load each, whereas the notebook is 
just fine. 

Same JMeter build, same JRE version (1.5), and I'm just not sure what's 
going on. Any ideas?
 It's only on recording, on playback it's ok.
 I am using default options for the HTTP Proxy Recorder, port 8080, etc.

Re: StringFromFile function

Posted by Michael Stover <ms...@apache.org>.
It is stored in the newish FileServer class that I've been using for
elements that reference files.


On Thu, 2005-09-08 at 13:17 +0100, sebb wrote:
> Any relative paths will be relative to the launch directory, which
> must be the jmeter installation directory.
> 
> The current jmx file location is not stored anywhere, as far as I know.
> 
> You could try defining a property with the jmx location (e.g. on the
> command line), and then use that in the SFF file name.
> 
> S.
> On 08/09/05, George varghese <ge...@hotmail.com> wrote:
> > Hi,
> > 
> >   Is there a way I can specify the file used in StringFromFlie() relative
> > to the jmx file location? Now its taking the relative path from JMeter
> > installation directory.
> > 
> > Any help appriciated.
> > 
> > Thanks,
> > George.
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > 
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org



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


Re: StringFromFile function

Posted by sebb <se...@gmail.com>.
Any relative paths will be relative to the launch directory, which
must be the jmeter installation directory.

The current jmx file location is not stored anywhere, as far as I know.

You could try defining a property with the jmx location (e.g. on the
command line), and then use that in the SFF file name.

S.
On 08/09/05, George varghese <ge...@hotmail.com> wrote:
> Hi,
> 
>   Is there a way I can specify the file used in StringFromFlie() relative
> to the jmx file location? Now its taking the relative path from JMeter
> installation directory.
> 
> Any help appriciated.
> 
> Thanks,
> George.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
>

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


Re: StringFromFile function

Posted by Michael Stover <ms...@apache.org>.
How interesting that you would ask for this!  The answer is no, but I
have started doing things in exactly the way you suggest here for other
components that reference external files.  I will try to get to
StringFromFile to change it too, but I'm not sure exactly which release
it will make it to.

-Mike

On Thu, 2005-09-08 at 08:23 +0530, George varghese wrote:
> Hi,
> 
>    Is there a way I can specify the file used in StringFromFlie() relative 
> to the jmx file location? Now its taking the relative path from JMeter 
> installation directory.
> 
> Any help appriciated.
> 
> Thanks,
> George.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org



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


StringFromFile function

Posted by George varghese <ge...@hotmail.com>.
Hi,

   Is there a way I can specify the file used in StringFromFlie() relative 
to the jmx file location? Now its taking the relative path from JMeter 
installation directory.

Any help appriciated.

Thanks,
George.



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


Re: Slow HTTP Proxy Server recording?

Posted by sebb <se...@gmail.com>.
Good point - BTW, the Java version should be shown near the start of jmeter.log.

S.
On 07/09/05, Noam Paz <no...@db.com> wrote:
> 
> 
> 
> 
> 
> Hi Mark,
> I've seen such a behavior in the past when a tester was using JMeter under Java 1.3.
> If you have older Java versions installed on your desktop, beside the 1.5 you've mentioned, would you please verify you really use the 1.5?
> Hope this helps
> Noam
> 
> 
> 
> 
> 
> 
>             sebb <se...@gmail.com>
> 
>             07.09.2005 16:22                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              To
>                                                                                                                                                                                                                                                                                                                                                                                                                       JMeter Users List <jm...@jakarta.apache.org>, 821mark@gmail.com
>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           cc
>                                                                                                                                                                                                     Please respond to
>                                                                                                                                                                                   "JMeter Users List" <jm...@jakarta.apache.org>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Subject
>                                                                                                                                                                                                                                                                                                                                                                                                                       Re: Slow HTTP Proxy Server recording?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> It must presumably be a machine configuration issue ...
> 
> A few random thoughts:
> 
> - antivirus/spyware detector?
> - DNS problems?
> - background processes on desktop?
> - different browser versions or settings (try a different browser?)
> 
> S.
> On 07/09/05, 821MARK <82...@gmail.com> wrote:
> > I've been recording JMeter scripts on 2 machines (my notebook, and a much
> > faster desktop machine), and on the desktop machine the recording takes
> > forever, the pages take 20-30 seconds to load each, whereas the notebook is
> > just fine.
> >
> > Same JMeter build, same JRE version (1.5), and I'm just not sure what's
> > going on. Any ideas?
> >  It's only on recording, on playback it's ok.
> >  I am using default options for the HTTP Proxy Recorder, port 8080, etc.
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 
> 
> --
> 
> Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
> 
> This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
>

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


Re: Slow HTTP Proxy Server recording?

Posted by Noam Paz <no...@db.com>.




Hi Mark,
I've seen such a behavior in the past when a tester was using JMeter under Java 1.3.
If you have older Java versions installed on your desktop, beside the 1.5 you've mentioned, would you please verify you really use the 1.5?
Hope this helps
Noam





                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
             sebb <se...@gmail.com>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
             07.09.2005 16:22                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              To 
                                                                                                                                                                                                                                                                                                                                                                                                                       JMeter Users List <jm...@jakarta.apache.org>, 821mark@gmail.com                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           cc 
                                                                                                                                                                                                     Please respond to                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                   "JMeter Users List" <jm...@jakarta.apache.org>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               Subject 
                                                                                                                                                                                                                                                                                                                                                                                                                       Re: Slow HTTP Proxy Server recording?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              




It must presumably be a machine configuration issue ...

A few random thoughts:

- antivirus/spyware detector?
- DNS problems?
- background processes on desktop?
- different browser versions or settings (try a different browser?)

S.
On 07/09/05, 821MARK <82...@gmail.com> wrote:
> I've been recording JMeter scripts on 2 machines (my notebook, and a much
> faster desktop machine), and on the desktop machine the recording takes
> forever, the pages take 20-30 seconds to load each, whereas the notebook is
> just fine.
>
> Same JMeter build, same JRE version (1.5), and I'm just not sure what's
> going on. Any ideas?
>  It's only on recording, on playback it's ok.
>  I am using default options for the HTTP Proxy Recorder, port 8080, etc.
>
>

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




--

Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


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


Re: Slow HTTP Proxy Server recording?

Posted by sebb <se...@gmail.com>.
It must presumably be a machine configuration issue ...

A few random thoughts:

- antivirus/spyware detector?
- DNS problems?
- background processes on desktop?
- different browser versions or settings (try a different browser?)

S.
On 07/09/05, 821MARK <82...@gmail.com> wrote:
> I've been recording JMeter scripts on 2 machines (my notebook, and a much
> faster desktop machine), and on the desktop machine the recording takes
> forever, the pages take 20-30 seconds to load each, whereas the notebook is
> just fine.
> 
> Same JMeter build, same JRE version (1.5), and I'm just not sure what's
> going on. Any ideas?
>  It's only on recording, on playback it's ok.
>  I am using default options for the HTTP Proxy Recorder, port 8080, etc.
> 
>

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