Re: Getting error message when doing performance testing

2012-08-22 Thread sebb
On 22 August 2012 05:58, brajesh patel brajesh1...@gmail.com wrote:
 Hello All,

 I am getting following error when running script using jmeter:

It's not an error.

  jmeter.engine.StandardJMeterEngine: Test has ended on host null

You have not shown the full message, which is something like:

2012/08/22 09:47:58 INFO  - jmeter.engine.StandardJMeterEngine: Test
has ended on host null

Note that the log level is INFO.

 Please provide me light on this error so I will resolve this.

Just ignore it.

 --
 
 Thanks and Regards
 Brajesh Patel
 Mobile: 918750709907

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



How to organize an activities in a test plan

2012-08-22 Thread Samaraweera, Ravinda
Dear all,

I need to prepare test scripts for 50 virtual users, Activities/requests
should be included in the script are as follows;

1.  Grant LAN access (This should be one time activity )
2.  Request login page (50 virtual users need to request this
right?)
3.  Login with credentials (One UID  PWD will be used for all 50
virtual users)
4.  Load main page (After successful login)
5.  Search a code 
6.  Request edit data page (Assume with 3 rows and 3 columns of data
in the page)
7.  Logout

Could you assist me with me followings;
a.  Putting Controllers, where you suggest  to put them , 
b.  HTTP Authorization Manger (Grant LAN access)
c.  All other required things that you suggest to include.

Thanks,
Chi


***
Disclaimer

The information contained in this communication is confidential and may be 
legally privileged.
It is intended solely for the use of the individual or entity to whom it is 
addressed and others authorised to receive it.
If you are not the intended recipient you are hereby notified that any 
disclosure, copying, 
distribution or taking action in reliance of the contents of this information 
is strictly prohibited and may be unlawful. 
KPMG is neither liable for the proper, 
complete transmission of the information contained in this communication nor 
any delay in its receipt.
***



Re: JMeter Ignore HTTP DELETE Request body

2012-08-22 Thread Neo Qing
i use rawhttp solve this problem. thx a lot.
在 2012-8-16 上午8:42,Adrian Speteanu asp.ad...@gmail.com写道:

 You can also consider plugin:
 http://code.google.com/p/jmeter-plugins/wiki/RawRequest

 Is not as complex as curl, but will allow you to define the full string
 jmeter sends to the server (you can basically define whatever string to
 send to the server).

 Adrian S

 On Thu, Aug 16, 2012 at 5:42 PM, Deepak Shetty shet...@gmail.com wrote:

  You could make it work with a java sampler e.g.
 
 
 http://stackoverflow.com/questions/10093514/how-to-set-requestbody-for-http-delete-method-
  I haven't verified
  On Aug 16, 2012 7:33 AM, Neo Qing neoq...@gmail.com wrote:
 
   thanks for your response.if jmeter does not support this naturally.can
 i
   use curl as a plugin?
   在 2012-8-16 凌晨1:04,sebb seb...@gmail.com写道:
   
On 16 August 2012 03:47, Neo Qing neoq...@gmail.com wrote:
 Hi,There:
  I'm facing a problem, I'm testing a web service with HTTP
  DELETE,
   and
 it needs request body,but I found that JMeter ignores the HTTP
 DELETE
 Request body, how to solve this problem? thanks a lot.
   
As far as I'm aware, the DELETE URI itself was intended to fully
specify the target of the deletion.
RFC 2616 does not mention (or disallow) a body.
   
As such, JMeter does not currently allow a body.
I'm not sure if the HTTP implementations it uses allow one either.
   
It looks as though this might be clarified shortly [1] but existing
software may not always support DELETE bodies.
   
You can raise a JMeter enhancement request via Bugzilla but it may
 not
be possible to implement it for some while.
   
[1]
   http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-19#page-23
   
-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org
   
  
 



Re: standard/benchmarking value for loading a web page

2012-08-22 Thread Shaba K
It's different for different business  kind of webpage too

You'l have to grab this as a NFS from your business.

cheers,
s

On Wed, Aug 22, 2012 at 6:31 AM, Samaraweera, Ravinda 
ravindasamarawe...@kpmg.com wrote:

 Dear All,

 I have completed internal application's performance test and results are
 with me(Thanks for jmeter), I just need to know what are the
 standard/benchmarking loading time of a average web page.i.e. loging
 page, a search page, and a webpage with a grid with 15 rows and 5
 columns of data (No images).

 Any suggestion much appreciated.

 Thanks.

 ***
 Disclaimer

 The information contained in this communication is confidential and may be
 legally privileged.
 It is intended solely for the use of the individual or entity to whom it
 is addressed and others authorised to receive it.
 If you are not the intended recipient you are hereby notified that any
 disclosure, copying,
 distribution or taking action in reliance of the contents of this
 information is strictly prohibited and may be unlawful.
 KPMG is neither liable for the proper,
 complete transmission of the information contained in this communication
 nor any delay in its receipt.
 ***




Re: Is it possible to restrict the CSV Data config element to a specific Sampler or even Logic Controller?

2012-08-22 Thread Jean FX
Hello Deepak,

Many thanks!

This works almost perfectly as required.

But I have to set CSV Data config (Stop thread on EOF=false) and then I get
an extra run with every value =EOF(which fails as expected) before step 3
is run.  But at least I get to fully run my test plan except that I have to
ignore that one line of failure.

If set CSV Data config (Stop thread on EOF=true), step 3 does not run.

There is an edit value for Stop thread on EOF that I need to explore
though.

Jean

On Tue, Aug 21, 2012 at 5:47 PM, Deepak Shetty shet...@gmail.com wrote:

 +Step1
 +WhileController(${__javaScript(${anyvariablenamefromcsv} != EOF)}
 ++Step2
 ++CSV Data Set config (recycle on EOF= false)
 +Step3

 doesnt work for you?
 Again when you want multiple threads you may need to change this

 regards
 deepak

 On Tue, Aug 21, 2012 at 12:57 AM, Jean FX xor...@gmail.com wrote:

  Hello.
 
  Yes the idea is to process every row in the CSV. I am only using a while
  loop because it is necessary (I believe) to restrict the CSV Data config
  element to the XML-RPC Sampler in step2.
 
  On Fri, Aug 17, 2012 at 6:03 PM, Deepak Shetty shet...@gmail.com
 wrote:
 
   hi
   Im still having trouble understanding what your issue is
   a. Step1 is fine and you are retrieving a value called rCode.
   b. Step 2 has a while controller which has no condition -- what is the
   condition for your loop? Process every row in the CSV?
 
  Yes
 
   execute it for rCode
   iterations?
 
  No. This is a proof of concept. In real implementation I am retrieving
 the
  value of a different element .
 
   The sampler under the while loop is also extracting out rCode -
   is that correct?
 
  Yes but I could remove this: I only need to assert that it is 0 in every
  response.
 
   where is this rCode being used?
  
  It is a proof of concept. In real test I would need to use the extracted
  value in a subsequent XML-RPC Sampler within the same loop. But in order
 to
  simply the problem I removed that step.
 
   c. Step 3 is fine
  
   regards
   deepak
  
  
   On Thu, Aug 16, 2012 at 1:33 AM, Jean FX xor...@gmail.com wrote:
  
Hello Deepak.
   
The original plan is not exactly what I uploaded because of it
  contained
real information, so it is not have step 1. I have done a better mock
   test
plan with all the steps here: http://pastebin.com/g7J4KiHF.
   
I have given further clarifications inline.
   
On Wed, Aug 15, 2012 at 8:27 PM, Deepak Shetty shet...@gmail.com
   wrote:
   
 Hi
 i dont see your test case reflecting your original requirement

 1- Send a constant XML-RPC request to a server and grab a value
 from
   the
 result(doing this with Xpath Extractor).
 2- Then send a variable number of XML-RPC requests with values
  coming
from
 a csv file(Trying to use a CSV Data config for this)
 3- Finally, send another last XML-RPC request only once.

 How is step 2 being determined?
   
A variable is set in step 1 that is used for every line in step 2.
   
 Is only the number varying?
   
In this mock test yes there is only one variable used but in real
 test
there are multiple values per csv line.
   
 If you have
 multiple threads do they read the same data ,
   
different data ?
   
This test is functional and will use a single thread.
   
It might be necessary to run a multi thread stress test at a later
  stage
but I could potentially use different instances for this.
   
 Do you have
 to read specific rows?

No. For step 2, rows are equal and independent and could potentially
  run
   in
a different order.
   

 regards
 deepak





 On Wed, Aug 15, 2012 at 9:21 AM, Jean FX xor...@gmail.com wrote:

  Thanks a lot for your reply!
 
  Will try to understand the functions to see if I can implement
 with
  functions. I want to avoid implementing a custom Sampler if
  possible.
 
  I have tried making the CSV Data sampler a child of a while logic
  controller together with the Sampler to be repeated but it still
   tries
to
  use the data to repeat the Sampler that follows the While
  controller
   in
 the
  testplan, which should only run once.
 
  I have pasted my Test Plan here : http://pastebin.com/0P7bCVTP
 
  Kind Regards,
  Jean
 
  On Wed, Aug 15, 2012 at 5:52 PM, Deepak Shetty 
 shet...@gmail.com
 wrote:
 
   Hi
   I dont remember the scoping rules now (but I believe the  CSV
   config
 had
  to
   be a child of a while controller or equivalent to do what you
  want
   -
 but
  my
   memory has always been poor :) )
  
   In any case it looks like the csvread or stringfromfile
 functions
would
   work for you
   http://jmeter.apache.org/usermanual/functions.html
  
   P.S. if you attached your test script it didnt come to the
  

RE: standard/benchmarking value for loading a web page

2012-08-22 Thread Robin D. Wilson
I don't know about everyone else, but we use 'benchmark' to evaluate the 
difference between one release and the next. The value of
benchmarking (to us) is to track the change in performance over time of our 
system.

It certainly is nice to compare to some arbitrary standard, but that's only a 
secondary value - the primary goal is to make sure
we are not getting slower with each release.

--
Robin D. Wilson
Sr. Director of Web Development
KingsIsle Entertainment, Inc.
VOICE: 512-777-1861
www.KingsIsle.com

-Original Message-
From: Shaba K [mailto:shabazi...@gmail.com] 
Sent: Wednesday, August 22, 2012 7:49 AM
To: JMeter Users List
Subject: Re: standard/benchmarking value for loading a web page

It's different for different business  kind of webpage too

You'l have to grab this as a NFS from your business.

cheers,
s

On Wed, Aug 22, 2012 at 6:31 AM, Samaraweera, Ravinda 
ravindasamarawe...@kpmg.com wrote:

 Dear All,

 I have completed internal application's performance test and results are
 with me(Thanks for jmeter), I just need to know what are the
 standard/benchmarking loading time of a average web page.i.e. loging
 page, a search page, and a webpage with a grid with 15 rows and 5
 columns of data (No images).

 Any suggestion much appreciated.

 Thanks.

 ***
 Disclaimer

 The information contained in this communication is confidential and may be
 legally privileged.
 It is intended solely for the use of the individual or entity to whom it
 is addressed and others authorised to receive it.
 If you are not the intended recipient you are hereby notified that any
 disclosure, copying,
 distribution or taking action in reliance of the contents of this
 information is strictly prohibited and may be unlawful.
 KPMG is neither liable for the proper,
 complete transmission of the information contained in this communication
 nor any delay in its receipt.
 ***




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



Re: Is it possible to restrict the CSV Data config element to a specific Sampler or even Logic Controller?

2012-08-22 Thread Deepak Shetty
Ah I forgot about that add an if controller under the while with the same
condition
On Aug 22, 2012 7:27 AM, Jean FX xor...@gmail.com wrote:

 Hello Deepak,

 Many thanks!

 This works almost perfectly as required.

 But I have to set CSV Data config (Stop thread on EOF=false) and then I get
 an extra run with every value =EOF(which fails as expected) before step 3
 is run.  But at least I get to fully run my test plan except that I have to
 ignore that one line of failure.

 If set CSV Data config (Stop thread on EOF=true), step 3 does not run.

 There is an edit value for Stop thread on EOF that I need to explore
 though.

 Jean

 On Tue, Aug 21, 2012 at 5:47 PM, Deepak Shetty shet...@gmail.com wrote:

  +Step1
  +WhileController(${__javaScript(${anyvariablenamefromcsv} != EOF)}
  ++Step2
  ++CSV Data Set config (recycle on EOF= false)
  +Step3
 
  doesnt work for you?
  Again when you want multiple threads you may need to change this
 
  regards
  deepak
 
  On Tue, Aug 21, 2012 at 12:57 AM, Jean FX xor...@gmail.com wrote:
 
   Hello.
  
   Yes the idea is to process every row in the CSV. I am only using a
 while
   loop because it is necessary (I believe) to restrict the CSV Data
 config
   element to the XML-RPC Sampler in step2.
  
   On Fri, Aug 17, 2012 at 6:03 PM, Deepak Shetty shet...@gmail.com
  wrote:
  
hi
Im still having trouble understanding what your issue is
a. Step1 is fine and you are retrieving a value called rCode.
b. Step 2 has a while controller which has no condition -- what is
 the
condition for your loop? Process every row in the CSV?
  
   Yes
  
execute it for rCode
iterations?
  
   No. This is a proof of concept. In real implementation I am retrieving
  the
   value of a different element .
  
The sampler under the while loop is also extracting out rCode -
is that correct?
  
   Yes but I could remove this: I only need to assert that it is 0 in
 every
   response.
  
where is this rCode being used?
   
   It is a proof of concept. In real test I would need to use the
 extracted
   value in a subsequent XML-RPC Sampler within the same loop. But in
 order
  to
   simply the problem I removed that step.
  
c. Step 3 is fine
   
regards
deepak
   
   
On Thu, Aug 16, 2012 at 1:33 AM, Jean FX xor...@gmail.com wrote:
   
 Hello Deepak.

 The original plan is not exactly what I uploaded because of it
   contained
 real information, so it is not have step 1. I have done a better
 mock
test
 plan with all the steps here: http://pastebin.com/g7J4KiHF.

 I have given further clarifications inline.

 On Wed, Aug 15, 2012 at 8:27 PM, Deepak Shetty shet...@gmail.com
wrote:

  Hi
  i dont see your test case reflecting your original requirement
 
  1- Send a constant XML-RPC request to a server and grab a value
  from
the
  result(doing this with Xpath Extractor).
  2- Then send a variable number of XML-RPC requests with values
   coming
 from
  a csv file(Trying to use a CSV Data config for this)
  3- Finally, send another last XML-RPC request only once.
 
  How is step 2 being determined?

 A variable is set in step 1 that is used for every line in step 2.

  Is only the number varying?

 In this mock test yes there is only one variable used but in real
  test
 there are multiple values per csv line.

  If you have
  multiple threads do they read the same data ,

 different data ?

 This test is functional and will use a single thread.

 It might be necessary to run a multi thread stress test at a later
   stage
 but I could potentially use different instances for this.

  Do you have
  to read specific rows?
 
 No. For step 2, rows are equal and independent and could
 potentially
   run
in
 a different order.

 
  regards
  deepak
 
 
 
 
 
  On Wed, Aug 15, 2012 at 9:21 AM, Jean FX xor...@gmail.com
 wrote:
 
   Thanks a lot for your reply!
  
   Will try to understand the functions to see if I can implement
  with
   functions. I want to avoid implementing a custom Sampler if
   possible.
  
   I have tried making the CSV Data sampler a child of a while
 logic
   controller together with the Sampler to be repeated but it
 still
tries
 to
   use the data to repeat the Sampler that follows the While
   controller
in
  the
   testplan, which should only run once.
  
   I have pasted my Test Plan here : http://pastebin.com/0P7bCVTP
  
   Kind Regards,
   Jean
  
   On Wed, Aug 15, 2012 at 5:52 PM, Deepak Shetty 
  shet...@gmail.com
  wrote:
  
Hi
I dont remember the scoping rules now (but I believe the  CSV
config
  had
   to
be a child of a while controller or equivalent to do what 

Re: standard/benchmarking value for loading a web page

2012-08-22 Thread Adrian Speteanu
I would also recommend JMeter's wiki for this one. There you will find
links  references to resources useful that try to cover general concerns
(regarding performance testing, industry standards/expectations, good
approaches and also results interpretation). There aren't good quick
answers, nothing short compensate for the experience of the people who
wrote those materials.

But since that might take a while, as a quick answer I would add that it
depends  A LOT  on the type of page that you want to load. And you also
have to know your end-users expectations... - users quit if pages are slow,
usually, but if the data is very valuable to them, they might wait (you see
there's a lot to talk about, for news pages and a blog page they won't wait
too many seconds, if their banking page take 20s they might wait, if
someone wants a report with analytics, they will wait minutes for it to
load in the web page). So don't generalise, just make sure you understand
stakeholders and end-users expectations first and then balance that on what
your developers can deliver realistically. You decide what is acceptable or
not. For industry standard, take a peek at the competition, see how they
fair - try to beat that.

--Adrian S

On Wed, Aug 22, 2012 at 5:38 PM, Robin D. Wilson rwils...@gmail.com wrote:

 I don't know about everyone else, but we use 'benchmark' to evaluate the
 difference between one release and the next. The value of
 benchmarking (to us) is to track the change in performance over time of
 our system.

 It certainly is nice to compare to some arbitrary standard, but that's
 only a secondary value - the primary goal is to make sure
 we are not getting slower with each release.

 --
 Robin D. Wilson
 Sr. Director of Web Development
 KingsIsle Entertainment, Inc.
 VOICE: 512-777-1861
 www.KingsIsle.com

 -Original Message-
 From: Shaba K [mailto:shabazi...@gmail.com]
 Sent: Wednesday, August 22, 2012 7:49 AM
 To: JMeter Users List
 Subject: Re: standard/benchmarking value for loading a web page

 It's different for different business  kind of webpage too

 You'l have to grab this as a NFS from your business.

 cheers,
 s

 On Wed, Aug 22, 2012 at 6:31 AM, Samaraweera, Ravinda 
 ravindasamarawe...@kpmg.com wrote:

  Dear All,
 
  I have completed internal application's performance test and results are
  with me(Thanks for jmeter), I just need to know what are the
  standard/benchmarking loading time of a average web page.i.e. loging
  page, a search page, and a webpage with a grid with 15 rows and 5
  columns of data (No images).
 
  Any suggestion much appreciated.
 
  Thanks.
 
  ***
  Disclaimer
 
  The information contained in this communication is confidential and may
 be
  legally privileged.
  It is intended solely for the use of the individual or entity to whom it
  is addressed and others authorised to receive it.
  If you are not the intended recipient you are hereby notified that any
  disclosure, copying,
  distribution or taking action in reliance of the contents of this
  information is strictly prohibited and may be unlawful.
  KPMG is neither liable for the proper,
  complete transmission of the information contained in this communication
  nor any delay in its receipt.
  ***
 
 


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




Re: standard/benchmarking value for loading a web page

2012-08-22 Thread Shaba K
Also a good start may be to get inputs from Omniture/Analytics team.

Who have data which shows which page in website user frequently visits

Though there are standards out there saying a page should load in less than
5 secs,However it is business or product owners who determine what it has
to be or what is acceptable.

There are ways of tweaking things.

cheers,
s

On Wed, Aug 22, 2012 at 4:30 PM, Adrian Speteanu asp.ad...@gmail.comwrote:

 I would also recommend JMeter's wiki for this one. There you will find
 links  references to resources useful that try to cover general concerns
 (regarding performance testing, industry standards/expectations, good
 approaches and also results interpretation). There aren't good quick
 answers, nothing short compensate for the experience of the people who
 wrote those materials.

 But since that might take a while, as a quick answer I would add that it
 depends  A LOT  on the type of page that you want to load. And you also
 have to know your end-users expectations... - users quit if pages are slow,
 usually, but if the data is very valuable to them, they might wait (you see
 there's a lot to talk about, for news pages and a blog page they won't wait
 too many seconds, if their banking page take 20s they might wait, if
 someone wants a report with analytics, they will wait minutes for it to
 load in the web page). So don't generalise, just make sure you understand
 stakeholders and end-users expectations first and then balance that on what
 your developers can deliver realistically. You decide what is acceptable or
 not. For industry standard, take a peek at the competition, see how they
 fair - try to beat that.

 --Adrian S

 On Wed, Aug 22, 2012 at 5:38 PM, Robin D. Wilson rwils...@gmail.com
 wrote:

  I don't know about everyone else, but we use 'benchmark' to evaluate the
  difference between one release and the next. The value of
  benchmarking (to us) is to track the change in performance over time of
  our system.
 
  It certainly is nice to compare to some arbitrary standard, but that's
  only a secondary value - the primary goal is to make sure
  we are not getting slower with each release.
 
  --
  Robin D. Wilson
  Sr. Director of Web Development
  KingsIsle Entertainment, Inc.
  VOICE: 512-777-1861
  www.KingsIsle.com
 
  -Original Message-
  From: Shaba K [mailto:shabazi...@gmail.com]
  Sent: Wednesday, August 22, 2012 7:49 AM
  To: JMeter Users List
  Subject: Re: standard/benchmarking value for loading a web page
 
  It's different for different business  kind of webpage too
 
  You'l have to grab this as a NFS from your business.
 
  cheers,
  s
 
  On Wed, Aug 22, 2012 at 6:31 AM, Samaraweera, Ravinda 
  ravindasamarawe...@kpmg.com wrote:
 
   Dear All,
  
   I have completed internal application's performance test and results
 are
   with me(Thanks for jmeter), I just need to know what are the
   standard/benchmarking loading time of a average web page.i.e. loging
   page, a search page, and a webpage with a grid with 15 rows and 5
   columns of data (No images).
  
   Any suggestion much appreciated.
  
   Thanks.
  
   ***
   Disclaimer
  
   The information contained in this communication is confidential and may
  be
   legally privileged.
   It is intended solely for the use of the individual or entity to whom
 it
   is addressed and others authorised to receive it.
   If you are not the intended recipient you are hereby notified that any
   disclosure, copying,
   distribution or taking action in reliance of the contents of this
   information is strictly prohibited and may be unlawful.
   KPMG is neither liable for the proper,
   complete transmission of the information contained in this
 communication
   nor any delay in its receipt.
   ***
  
  
 
 
  -
  To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
  For additional commands, e-mail: user-h...@jmeter.apache.org
 
 



Re: standard/benchmarking value for loading a web page

2012-08-22 Thread sebb
On 22 August 2012 16:30, Adrian Speteanu asp.ad...@gmail.com wrote:
 I would also recommend JMeter's wiki for this one. There you will find
 links  references to resources useful that try to cover general concerns
 (regarding performance testing, industry standards/expectations, good
 approaches and also results interpretation). There aren't good quick
 answers, nothing short compensate for the experience of the people who
 wrote those materials.

 But since that might take a while, as a quick answer I would add that it
 depends  A LOT  on the type of page that you want to load. And you also
 have to know your end-users expectations... - users quit if pages are slow,
 usually, but if the data is very valuable to them, they might wait (you see
 there's a lot to talk about, for news pages and a blog page they won't wait
 too many seconds, if their banking page take 20s they might wait, if
 someone wants a report with analytics, they will wait minutes for it to
 load in the web page). So don't generalise, just make sure you understand
 stakeholders and end-users expectations first and then balance that on what
 your developers can deliver realistically. You decide what is acceptable or
 not. For industry standard, take a peek at the competition, see how they
 fair - try to beat that.

Also, if the site is one that users return to often, having a
consistent experience is important.
If it always takes 4 seconds to load a page, people will get used to
that, but if it can take between 1 and 10 seconds depending on server
load that is more annoying.

Any site will slow down given sufficient traffic, so you need to know
what traffic your site is designed for, and make sure it handles that
with some margin.

When overloaded, the site should ideally start to fail gracefully.

 --Adrian S

 On Wed, Aug 22, 2012 at 5:38 PM, Robin D. Wilson rwils...@gmail.com wrote:

 I don't know about everyone else, but we use 'benchmark' to evaluate the
 difference between one release and the next. The value of
 benchmarking (to us) is to track the change in performance over time of
 our system.

 It certainly is nice to compare to some arbitrary standard, but that's
 only a secondary value - the primary goal is to make sure
 we are not getting slower with each release.

 --
 Robin D. Wilson
 Sr. Director of Web Development
 KingsIsle Entertainment, Inc.
 VOICE: 512-777-1861
 www.KingsIsle.com

 -Original Message-
 From: Shaba K [mailto:shabazi...@gmail.com]
 Sent: Wednesday, August 22, 2012 7:49 AM
 To: JMeter Users List
 Subject: Re: standard/benchmarking value for loading a web page

 It's different for different business  kind of webpage too

 You'l have to grab this as a NFS from your business.

 cheers,
 s

 On Wed, Aug 22, 2012 at 6:31 AM, Samaraweera, Ravinda 
 ravindasamarawe...@kpmg.com wrote:

  Dear All,
 
  I have completed internal application's performance test and results are
  with me(Thanks for jmeter), I just need to know what are the
  standard/benchmarking loading time of a average web page.i.e. loging
  page, a search page, and a webpage with a grid with 15 rows and 5
  columns of data (No images).
 
  Any suggestion much appreciated.
 
  Thanks.
 
  ***
  Disclaimer
 
  The information contained in this communication is confidential and may
 be
  legally privileged.
  It is intended solely for the use of the individual or entity to whom it
  is addressed and others authorised to receive it.
  If you are not the intended recipient you are hereby notified that any
  disclosure, copying,
  distribution or taking action in reliance of the contents of this
  information is strictly prohibited and may be unlawful.
  KPMG is neither liable for the proper,
  complete transmission of the information contained in this communication
  nor any delay in its receipt.
  ***
 
 


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



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



AccessLogSampler doesn't take variable for logFile

2012-08-22 Thread Woonsan Ko
Hi,

I've tried to use variables for AccessLogSampler. It works with domain or 
portString as 'stringProp' elements.
However, it doesn't work for 'logFile' property. I have to set a physical path 
instead.
I found HttpSamplerBase, the ancestor class of AccessLogSampler, uses 
#setProperty() instead, unlike AccessLogSampler stores the member directly.
I guess #setProperty() provides the indirection to resolve the variables.
Am I in the right track? Then I think we can improve AccessLogSampler in the 
same way.

Thanks in advance,

Woonsan


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



WE NEED YOUR HELP TO SOLVE A POTENTIAL BUG WITH JAPANESE CHARACTERS URL ENCODED

2012-08-22 Thread Philippe Mouawad
Hello Apache JMeter Users,
A little reminder on this message hoping someone can help us provide a Test
Plan.

Regards
Philippe M. on behalf of Apache JMeter Team

On Wed, Jun 27, 2012 at 10:42 PM, Philippe Mouawad 
philippe.moua...@gmail.com wrote:

 Hello Apache JMeter Users,
 To fix a potential issue in jmeter related to japanese characters being
 badly encoded:

- https://issues.apache.org/bugzilla/show_bug.cgi?id=45132


 We would like japanese users of jmeter to provide us a simple test plan
 working against a public facing website reproducing the described issue
 with these kind of characters.

 Your contribution will be Highly appreciated.

 Please attach test plan to bug.

 Regards
 Philippe M. on behalf of Apache JMeter Team

 Sorry if title translation is wrong :-)

 --
 Cordialement.
 Philippe Mouawad.






-- 
Cordialement.
Philippe Mouawad.


RE: WE NEED YOUR HELP TO SOLVE A POTENTIAL BUG WITH JAPANESE

2012-08-22 Thread Anthony Johnson
 CHARACTERS URL ENCODED
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary=14dae9340fe3e7bda104c7e1c156

--14dae9340fe3e7bda104c7e1c156
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Wife is Japanese... I'll see what I can do:)

Sent from my Windows Phone
From: Philippe Mouawad
Sent: 8/22/2012 5:52 PM
To: JMeter Users List
Subject: WE NEED YOUR HELP TO SOLVE A POTENTIAL BUG WITH JAPANESE
CHARACTERS URL ENCODED
Hello Apache JMeter Users,
A little reminder on this message hoping someone can help us provide a Test
Plan.

Regards
Philippe M. on behalf of Apache JMeter Team

On Wed, Jun 27, 2012 at 10:42 PM, Philippe Mouawad 
philippe.moua...@gmail.com wrote:

 Hello Apache JMeter Users,
 To fix a potential issue in jmeter related to japanese characters being
 badly encoded:

- https://issues.apache.org/bugzilla/show_bug.cgi?id=45132


 We would like japanese users of jmeter to provide us a simple test plan
 working against a public facing website reproducing the described issue
 with these kind of characters.

 Your contribution will be Highly appreciated.

 Please attach test plan to bug.

 Regards
 Philippe M. on behalf of Apache JMeter Team

 Sorry if title translation is wrong :-)

 --
 Cordialement.
 Philippe Mouawad.






-- 
Cordialement.
Philippe Mouawad.

--14dae9340fe3e7bda104c7e1c156--

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



Re: WE NEED YOUR HELP TO SOLVE A POTENTIAL BUG WITH JAPANESE

2012-08-22 Thread Anthony Johnson
Hey Guys,
Not able to reproduce this, but I am on a Mac which I believe uses
UTF-8 for everything(Windows required?!?).  Perhaps my steps are incorrect?
 I simply put an @ into a search bar and hit enter to see how the URL was
encoded using Safari and Firefox.

FYI, amazon.co.jp's website uses shift-jis.

Is this what we are thinking for trying to reproduce?

Thanks,

Anthony

On Wed, Aug 22, 2012 at 7:29 PM, Anthony Johnson ans...@gmail.com wrote:


 Wife is Japanese... I'll see what I can do:)

 Sent from my Windows Phone
 From: Philippe Mouawad
 Sent: 8/22/2012 5:52 PM
 To: JMeter Users List
 Subject: WE NEED YOUR HELP TO SOLVE A POTENTIAL BUG WITH JAPANESE
 CHARACTERS URL ENCODED
 Hello Apache JMeter Users,
 A little reminder on this message hoping someone can help us provide a Test
 Plan.

 Regards
 Philippe M. on behalf of Apache JMeter Team

 On Wed, Jun 27, 2012 at 10:42 PM, Philippe Mouawad 
 philippe.moua...@gmail.com wrote:

  Hello Apache JMeter Users,
  To fix a potential issue in jmeter related to japanese characters being
  badly encoded:
 
 - https://issues.apache.org/bugzilla/show_bug.cgi?id=45132
 
 
  We would like japanese users of jmeter to provide us a simple test plan
  working against a public facing website reproducing the described issue
  with these kind of characters.
 
  Your contribution will be Highly appreciated.
 
  Please attach test plan to bug.
 
  Regards
  Philippe M. on behalf of Apache JMeter Team
 
  Sorry if title translation is wrong :-)
 
  --
  Cordialement.
  Philippe Mouawad.
 
 
 
 


 --
 Cordialement.
 Philippe Mouawad.

 --14dae9340fe3e7bda104c7e1c156--



RE: standard/benchmarking value for loading a web page

2012-08-22 Thread Samaraweera, Ravinda
Thanks to all of you giving such a wonderful feedback, I got it , thanks
again



-Original Message-
From: sebb [mailto:seb...@gmail.com] 
Sent: Wednesday, August 22, 2012 11:03 PM
To: JMeter Users List
Subject: Re: standard/benchmarking value for loading a web page

On 22 August 2012 16:30, Adrian Speteanu asp.ad...@gmail.com wrote:
 I would also recommend JMeter's wiki for this one. There you will find
 links  references to resources useful that try to cover general
concerns
 (regarding performance testing, industry standards/expectations,
good
 approaches and also results interpretation). There aren't good quick
 answers, nothing short compensate for the experience of the people
who
 wrote those materials.

 But since that might take a while, as a quick answer I would add that
it
 depends  A LOT  on the type of page that you want to load. And you
also
 have to know your end-users expectations... - users quit if pages are
slow,
 usually, but if the data is very valuable to them, they might wait
(you see
 there's a lot to talk about, for news pages and a blog page they won't
wait
 too many seconds, if their banking page take 20s they might wait, if
 someone wants a report with analytics, they will wait minutes for it
to
 load in the web page). So don't generalise, just make sure you
understand
 stakeholders and end-users expectations first and then balance that on
what
 your developers can deliver realistically. You decide what is
acceptable or
 not. For industry standard, take a peek at the competition, see how
they
 fair - try to beat that.

Also, if the site is one that users return to often, having a
consistent experience is important.
If it always takes 4 seconds to load a page, people will get used to
that, but if it can take between 1 and 10 seconds depending on server
load that is more annoying.

Any site will slow down given sufficient traffic, so you need to know
what traffic your site is designed for, and make sure it handles that
with some margin.

When overloaded, the site should ideally start to fail gracefully.

 --Adrian S

 On Wed, Aug 22, 2012 at 5:38 PM, Robin D. Wilson rwils...@gmail.com
wrote:

 I don't know about everyone else, but we use 'benchmark' to evaluate
the
 difference between one release and the next. The value of
 benchmarking (to us) is to track the change in performance over time
of
 our system.

 It certainly is nice to compare to some arbitrary standard, but
that's
 only a secondary value - the primary goal is to make sure
 we are not getting slower with each release.

 --
 Robin D. Wilson
 Sr. Director of Web Development
 KingsIsle Entertainment, Inc.
 VOICE: 512-777-1861
 www.KingsIsle.com

 -Original Message-
 From: Shaba K [mailto:shabazi...@gmail.com]
 Sent: Wednesday, August 22, 2012 7:49 AM
 To: JMeter Users List
 Subject: Re: standard/benchmarking value for loading a web page

 It's different for different business  kind of webpage too

 You'l have to grab this as a NFS from your business.

 cheers,
 s

 On Wed, Aug 22, 2012 at 6:31 AM, Samaraweera, Ravinda 
 ravindasamarawe...@kpmg.com wrote:

  Dear All,
 
  I have completed internal application's performance test and
results are
  with me(Thanks for jmeter), I just need to know what are the
  standard/benchmarking loading time of a average web page.i.e.
loging
  page, a search page, and a webpage with a grid with 15 rows and 5
  columns of data (No images).
 
  Any suggestion much appreciated.
 
  Thanks.
 
 
***
  Disclaimer
 
  The information contained in this communication is confidential and
may
 be
  legally privileged.
  It is intended solely for the use of the individual or entity to
whom it
  is addressed and others authorised to receive it.
  If you are not the intended recipient you are hereby notified that
any
  disclosure, copying,
  distribution or taking action in reliance of the contents of this
  information is strictly prohibited and may be unlawful.
  KPMG is neither liable for the proper,
  complete transmission of the information contained in this
communication
  nor any delay in its receipt.
 
***
 
 


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



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

***
Disclaimer

The information contained in this communication is confidential and may be 
legally privileged.
It is intended solely for the use of the individual or entity to whom it is 
addressed and others authorised to receive it.
If you are not the intended recipient you are hereby 

Http requests response time varying ...

2012-08-22 Thread Samaraweera, Ravinda
Dear All,

I have noticed this while I was running jmeter on internal LAN app.,
hope to get your feedback for the following concern,

Lets say my test script has 6 http requests, testing for 5 virtual users
(5 Threads),

1.  Request login
2.  Login with credentials
3.  Load main page
4.  Load create page
5.  Search an item
6.  Load edit item page (This is considerably slow)


When I run the script with above 6 http requests and when I disable 6th
request and run the scrip there is a difference in each requests
response time,
for 6th request it is obvious to get low response time, but how come
that other 5 requests also response with lower response time when 6th
one included to test plan  run?
Shouldn't it be same as before , I mean other 5 requests should maintain
bit similar response time (Assume that no user logged to the system
except jmeter requests).
Why this happens? Pls help.
Thanks,
 Chi.


***
Disclaimer

The information contained in this communication is confidential and may be 
legally privileged.
It is intended solely for the use of the individual or entity to whom it is 
addressed and others authorised to receive it.
If you are not the intended recipient you are hereby notified that any 
disclosure, copying, 
distribution or taking action in reliance of the contents of this information 
is strictly prohibited and may be unlawful. 
KPMG is neither liable for the proper, 
complete transmission of the information contained in this communication nor 
any delay in its receipt.
***



Re: How to login to internal network through jmeter

2012-08-22 Thread Niraj
Is it HTTP authentication?

On Thu, Aug 23, 2012 at 11:11 AM, Samaraweera, Ravinda 
ravindasamarawe...@kpmg.com wrote:

 What are the steps to follow in order to login to internal network (not
 proxy server) through jmeter.

 Thanks.

 ***
 Disclaimer

 The information contained in this communication is confidential and may be
 legally privileged.
 It is intended solely for the use of the individual or entity to whom it
 is addressed and others authorised to receive it.
 If you are not the intended recipient you are hereby notified that any
 disclosure, copying,
 distribution or taking action in reliance of the contents of this
 information is strictly prohibited and may be unlawful.
 KPMG is neither liable for the proper,
 complete transmission of the information contained in this communication
 nor any delay in its receipt.
 ***




Re: How to login to internal network through jmeter

2012-08-22 Thread Niraj
 To allow the test plan to authenticate with each request, you need to add
an HTTP Header Manager configuration element to the Thread Group. In it you
add one field named Authorization.

The only thing left is to set the header value, which can be obtained by
looking at the requests of a browser. In
Firefoxhttp://www.mozilla.com/en-US/firefox/personal.html this
can be done with the Live HTTP Headers
Add-onhttps://addons.mozilla.org/en-US/firefox/addon/3829
.


Just download that Add-on and manually access the site keep add-on open.
You will get the Authentication value. Just add the same in
front of Authorization  field in HTTP Header manager config element.

On Thu, Aug 23, 2012 at 11:19 AM, Samaraweera, Ravinda 
ravindasamarawe...@kpmg.com wrote:

 yes

 -Original Message-
 From: Niraj [mailto:niraj.khatm...@gmail.com]
 Sent: Thursday, August 23, 2012 11:16 AM
 To: JMeter Users List
 Subject: Re: How to login to internal network through jmeter

 Is it HTTP authentication?

 On Thu, Aug 23, 2012 at 11:11 AM, Samaraweera, Ravinda 
 ravindasamarawe...@kpmg.com wrote:

  What are the steps to follow in order to login to internal network
 (not
  proxy server) through jmeter.
 
  Thanks.
 
 
 ***
  Disclaimer
 
  The information contained in this communication is confidential and
 may be
  legally privileged.
  It is intended solely for the use of the individual or entity to whom
 it
  is addressed and others authorised to receive it.
  If you are not the intended recipient you are hereby notified that any
  disclosure, copying,
  distribution or taking action in reliance of the contents of this
  information is strictly prohibited and may be unlawful.
  KPMG is neither liable for the proper,
  complete transmission of the information contained in this
 communication
  nor any delay in its receipt.
 
 ***
 
 
 ***
 Disclaimer

 The information contained in this communication is confidential and may be
 legally privileged.
 It is intended solely for the use of the individual or entity to whom it
 is addressed and others authorised to receive it.
 If you are not the intended recipient you are hereby notified that any
 disclosure, copying,
 distribution or taking action in reliance of the contents of this
 information is strictly prohibited and may be unlawful.
 KPMG is neither liable for the proper,
 complete transmission of the information contained in this communication
 nor any delay in its receipt.
 ***



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