Re: how to from regex for this scenario

2012-06-21 Thread coolsandy
i have tried something like this..looking at the html source, i know that the
first option would be somewhere 5 lines after the select. so, i have added
these 5 \ns. But the # of options this list box would contain is dynamically
controlled. 

select.*name=mtctType.*class=inputClass.*\n.*\n.*\n.*\n.*\n.*value=([^]*).*


Using the above exp, the prob is partially resolved. I always get the first
value of the list box. Now, in case i want to get the random values from the
list box, the above regex fails. 

How do I resolve that?

--
View this message in context: 
http://jmeter.512774.n5.nabble.com/how-to-from-regex-for-this-scenario-tp5713616p5713652.html
Sent from the JMeter - User mailing list archive at Nabble.com.

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



Re: New To The Jmeter

2012-06-21 Thread Dzmitry_Kashlach
 Try to read 
http://community.blazemeter.com/knowledgebase/topics/10018-jmeter-tutorials
JMeter tutorials , they are rather easy and informative

--
View this message in context: 
http://jmeter.512774.n5.nabble.com/New-To-The-Jmeter-tp5713559p5713662.html
Sent from the JMeter - User mailing list archive at Nabble.com.

Inserting Cookie Data into URL. (I have googled and looked at guides, it looks correct but fails)

2012-06-21 Thread Dean Lozo
Hey

Note: This is my first time usign JMeter and I am a complete noob.

I have done large amount of googling and reading through documentation.
After looking at several tutorials, and trying different things they have
all failed. I might have forgotten something more basic.  It has been a
nightmare to use the re-cookie i receive in Sampler Result after logging
in. I am trying to do this by using the HTTP URL Re-writing Modifier and
Cookie manager feature that JMeter offers. I have enabled saving cookies
to true.

JSESSIONID keeps staying blank for some reason. Links to pictures can be
found below. I am at a loss, and would really love some help! That the URL
works at this point is irrelevant, I only wish to generate the correct URL.
If there is no time to help, I would greatly appreciate an XML file with
the functions working.

http://imgur.com/a/Qp13D


Cheers
Dean


Re: BeanShell and JVM Garbage Collection

2012-06-21 Thread sebb
On 20 June 2012 18:54, Roderick Parks roderick.pa...@triometric.net wrote:
 I hit an interesting problem today where my test slowed to a crawl after
 about just 6000 iterations (out of a total of about 50 required)
 irrespective of the number of threads, delay timer or size of Java heap
 space. The system was operating well within its CPU and memory limits.



 My test is trivial: replaying XML API requests from a CSV file after
 advancing the dates in the otherwise perishable samples. I use bean
 shell to modify the dates.



 I allowed the script to continue labouring and finally the JVM died: GC
 overhead limit exceeded.  The solution was simply to check the Reset
 bsh.Interpreter before each call box on my bean shell sampler and all
 was well.



 The conclusion I have drawn from this is that garbage collection becomes
 a very difficult task for the JVM if the bean shell interpreter is not
 reset, and ultimately, that is what caused the test to stall and the JVM
 to die. In my experience, heap space exhaustion is the most common cause
 of failures in JMeter, so having optimal garbage collection is very
 important.



 Therefore, I would suggest that the default false setting for
 resetting the bean shell interpreter in all the bean shell components is
 actually not the sensible choice.  Has this default been challenged or
 discussed previously?

The default setting is necessary for compatibility, and cannot be
changed without potentially breaking some scripts.

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



RE: Inserting Cookie Data into URL. (I have googled and looked at guides, it looks correct but fails)

2012-06-21 Thread Robin D. Wilson
Instead of 'JSESSIONID', to reference the cookie value, don't you need to use 
${COOKIE_JSESSIONID}?

I think all of the cookies are supposed to be available throught the 
'COOKIE_[cookie name]' syntax (by default - you can change the
prefix value in a properties file setting if you like).

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

-Original Message-
From: Dean Lozo [mailto:dean.l...@gmail.com] 
Sent: Thursday, June 21, 2012 9:20 AM
To: user@jmeter.apache.org
Subject: Inserting Cookie Data into URL. (I have googled and looked at guides, 
it looks correct but fails)

Hey

Note: This is my first time usign JMeter and I am a complete noob.

I have done large amount of googling and reading through documentation.
After looking at several tutorials, and trying different things they have
all failed. I might have forgotten something more basic.  It has been a
nightmare to use the re-cookie i receive in Sampler Result after logging
in. I am trying to do this by using the HTTP URL Re-writing Modifier and
Cookie manager feature that JMeter offers. I have enabled saving cookies
to true.

JSESSIONID keeps staying blank for some reason. Links to pictures can be
found below. I am at a loss, and would really love some help! That the URL
works at this point is irrelevant, I only wish to generate the correct URL.
If there is no time to help, I would greatly appreciate an XML file with
the functions working.

http://imgur.com/a/Qp13D


Cheers
Dean


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



Re: BeanShell and JVM Garbage Collection

2012-06-21 Thread Shmuel Krakower
Sebb,
Aside of compatibility, does it make sense that the Reset bsh.Interpreter
before each call will solve this kind of a problem?
And if so, it might be caused by some kind of leak in the beanshell code of
the user and not necessarily due to bug in JMeter, right?

Shmuel.


On Thu, Jun 21, 2012 at 5:47 PM, sebb seb...@gmail.com wrote:

 On 20 June 2012 18:54, Roderick Parks roderick.pa...@triometric.net
 wrote:
  I hit an interesting problem today where my test slowed to a crawl after
  about just 6000 iterations (out of a total of about 50 required)
  irrespective of the number of threads, delay timer or size of Java heap
  space. The system was operating well within its CPU and memory limits.
 
 
 
  My test is trivial: replaying XML API requests from a CSV file after
  advancing the dates in the otherwise perishable samples. I use bean
  shell to modify the dates.
 
 
 
  I allowed the script to continue labouring and finally the JVM died: GC
  overhead limit exceeded.  The solution was simply to check the Reset
  bsh.Interpreter before each call box on my bean shell sampler and all
  was well.
 
 
 
  The conclusion I have drawn from this is that garbage collection becomes
  a very difficult task for the JVM if the bean shell interpreter is not
  reset, and ultimately, that is what caused the test to stall and the JVM
  to die. In my experience, heap space exhaustion is the most common cause
  of failures in JMeter, so having optimal garbage collection is very
  important.
 
 
 
  Therefore, I would suggest that the default false setting for
  resetting the bean shell interpreter in all the bean shell components is
  actually not the sensible choice.  Has this default been challenged or
  discussed previously?

 The default setting is necessary for compatibility, and cannot be
 changed without potentially breaking some scripts.

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




Re: BeanShell and JVM Garbage Collection

2012-06-21 Thread sebb
On 21 June 2012 16:01, Shmuel Krakower shmul...@gmail.com wrote:
 Sebb,
 Aside of compatibility, does it make sense that the Reset bsh.Interpreter
 before each call will solve this kind of a problem?

Not quite sure what you mean here.
The reset() function actually creates a new interpreter, thus allowing
GC to tidy up the old interpreter.

 And if so, it might be caused by some kind of leak in the beanshell code of
 the user and not necessarily due to bug in JMeter, right?

Yes, the leak might be in user code or BeanShell itself.

And if the leak is in BeanShell itself, maybe it will be fixed one day...

 Shmuel.


 On Thu, Jun 21, 2012 at 5:47 PM, sebb seb...@gmail.com wrote:

 On 20 June 2012 18:54, Roderick Parks roderick.pa...@triometric.net
 wrote:
  I hit an interesting problem today where my test slowed to a crawl after
  about just 6000 iterations (out of a total of about 50 required)
  irrespective of the number of threads, delay timer or size of Java heap
  space. The system was operating well within its CPU and memory limits.
 
 
 
  My test is trivial: replaying XML API requests from a CSV file after
  advancing the dates in the otherwise perishable samples. I use bean
  shell to modify the dates.
 
 
 
  I allowed the script to continue labouring and finally the JVM died: GC
  overhead limit exceeded.  The solution was simply to check the Reset
  bsh.Interpreter before each call box on my bean shell sampler and all
  was well.
 
 
 
  The conclusion I have drawn from this is that garbage collection becomes
  a very difficult task for the JVM if the bean shell interpreter is not
  reset, and ultimately, that is what caused the test to stall and the JVM
  to die. In my experience, heap space exhaustion is the most common cause
  of failures in JMeter, so having optimal garbage collection is very
  important.
 
 
 
  Therefore, I would suggest that the default false setting for
  resetting the bean shell interpreter in all the bean shell components is
  actually not the sensible choice.  Has this default been challenged or
  discussed previously?

 The default setting is necessary for compatibility, and cannot be
 changed without potentially breaking some scripts.

 -
 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



Re: BeanShell and JVM Garbage Collection

2012-06-21 Thread Shmuel Krakower
Yep you got me right, thanks.

So Roderick Parks problem might come from his own code and not from the
beanshell sampler itself.
In order to be sure  Roderick should create a heap dump of jmeter when the
original memory problem occurs and than analyze to see if the leak came
from his code / objects or from jmeter's.

Make sense?

On Thu, Jun 21, 2012 at 6:08 PM, sebb seb...@gmail.com wrote:

 On 21 June 2012 16:01, Shmuel Krakower shmul...@gmail.com wrote:
  Sebb,
  Aside of compatibility, does it make sense that the Reset
 bsh.Interpreter
  before each call will solve this kind of a problem?

 Not quite sure what you mean here.
 The reset() function actually creates a new interpreter, thus allowing
 GC to tidy up the old interpreter.

  And if so, it might be caused by some kind of leak in the beanshell code
 of
  the user and not necessarily due to bug in JMeter, right?

 Yes, the leak might be in user code or BeanShell itself.

 And if the leak is in BeanShell itself, maybe it will be fixed one day...

  Shmuel.
 
 
  On Thu, Jun 21, 2012 at 5:47 PM, sebb seb...@gmail.com wrote:
 
  On 20 June 2012 18:54, Roderick Parks roderick.pa...@triometric.net
  wrote:
   I hit an interesting problem today where my test slowed to a crawl
 after
   about just 6000 iterations (out of a total of about 50 required)
   irrespective of the number of threads, delay timer or size of Java
 heap
   space. The system was operating well within its CPU and memory limits.
  
  
  
   My test is trivial: replaying XML API requests from a CSV file after
   advancing the dates in the otherwise perishable samples. I use bean
   shell to modify the dates.
  
  
  
   I allowed the script to continue labouring and finally the JVM died:
 GC
   overhead limit exceeded.  The solution was simply to check the Reset
   bsh.Interpreter before each call box on my bean shell sampler and all
   was well.
  
  
  
   The conclusion I have drawn from this is that garbage collection
 becomes
   a very difficult task for the JVM if the bean shell interpreter is not
   reset, and ultimately, that is what caused the test to stall and the
 JVM
   to die. In my experience, heap space exhaustion is the most common
 cause
   of failures in JMeter, so having optimal garbage collection is very
   important.
  
  
  
   Therefore, I would suggest that the default false setting for
   resetting the bean shell interpreter in all the bean shell components
 is
   actually not the sensible choice.  Has this default been challenged or
   discussed previously?
 
  The default setting is necessary for compatibility, and cannot be
  changed without potentially breaking some scripts.
 
  -
  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




RE: How to connect to Database from JMeter at the start of the test and use the connection in the post processor to insert some data?

2012-06-21 Thread Roderick Parks
I've recently developed a prototype JDBC Data Set component that is
analogous to the CSV Data Set except that the values come from the
columns in the select or prepared select statement. It uses JDBC
Connection Configuration just like the JDBC sampler, pre-processor and
post-processor.

Early on I thought that keep alive and connection age could be
significant parameters affecting the performance and efficiency of my
component but when I looked in the source code for the JDBC Connection
(src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElem
ent.java) I found not only that Keep-Alive, Max Connection Age and
Validation Query have set/get methods but are otherwise not used
(presumably an aspirational addition to the component and its beaninfo)
but also that it uses the now defunct Apache Excalibur as its actual
JDBC interface: it's only a wrapper.  Rather than dig into another
source project, and a dead and static one at that, I decided to trust
JMeter's JDBC Connection Configuration's encapsulation of Excalibur and
hope that the eventually inevitable migration to something else remains
equally encapsulated and won't break my component.

So that's the long answer. The short answer is that you have no control
over the status of a given connection and will have to tolerate the
default behaviour. 

-Original Message-
From: Dzmitry_Kashlach [mailto:dzmitrykashl...@gmail.com] 
Sent: 21 June 2012 15:08
To: jmeter-u...@jakarta.apache.org
Subject: Re: How to connect to Database from JMeter at the start of the
test and use the connection in the post processor to insert some data?

 When I had task that was similar to yours, I opened connection to
database
via JDBC Connection Configuration once per Thread Group. After that I
used
this connection through the whole test. While creating
JMeter test-plan, I used 
http://community.blazemeter.com/knowledgebase/articles/65143-using-jdbc-
sampler-in-jmeter-2-6
How to use JDBC Sampler in JMeter 

--
View this message in context:
http://jmeter.512774.n5.nabble.com/How-to-connect-to-Database-from-JMete
r-at-the-start-of-the-test-and-use-the-connection-in-the-post-p-tp567638
8p5713661.html
Sent from the JMeter - User mailing list archive at Nabble.com.

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



Re: Inserting Cookie Data into URL. (I have googled and looked at guides, it looks correct but fails)

2012-06-21 Thread Deepak Shetty
If your application is using cookies and you are using Cookie Manager , you
dont need to use HTTP URL rewriting modifier .
Ensure you have follow redirects , not redirect automatically on your
samplers
Also add a view results tree listener and check if you are getting the
Set-Cookie correctly (check that the domain / path being specified in
Set-Cookie matches the next request you are making)

Its possible that your application only uses url-rewrites in which case you
can drop the Cookie Manager and verify the modifier

regards
deepak


On Thu, Jun 21, 2012 at 7:19 AM, Dean Lozo dean.l...@gmail.com wrote:

 Hey

 Note: This is my first time usign JMeter and I am a complete noob.

 I have done large amount of googling and reading through documentation.
 After looking at several tutorials, and trying different things they have
 all failed. I might have forgotten something more basic.  It has been a
 nightmare to use the re-cookie i receive in Sampler Result after logging
 in. I am trying to do this by using the HTTP URL Re-writing Modifier and
 Cookie manager feature that JMeter offers. I have enabled saving cookies
 to true.

 JSESSIONID keeps staying blank for some reason. Links to pictures can be
 found below. I am at a loss, and would really love some help! That the URL
 works at this point is irrelevant, I only wish to generate the correct URL.
 If there is no time to help, I would greatly appreciate an XML file with
 the functions working.

 http://imgur.com/a/Qp13D


 Cheers
 Dean



Re: How to connect to Database from JMeter at the start of the test and use the connection in the post processor to insert some data?

2012-06-21 Thread Shmuel Krakower
Yep, I did extraction from JDBC sampler and put it into CSV with Save
response to a file Listener + a post processor to remove first line:

//Removing first line (column names) of results
String result;
result = prev.getResponseDataAsString();
removeString = CONCAT(name, '/', id)\n;
rlen = removeString.length();

result = result.substring(rlen,result.length() - rlen);
prev.setResponseData(result);


Best,
Shmuel.


On Thu, Jun 21, 2012 at 7:03 PM, sebb seb...@gmail.com wrote:

 On 21 June 2012 16:27, Roderick Parks roderick.pa...@triometric.net
 wrote:
  I've recently developed a prototype JDBC Data Set component that is
  analogous to the CSV Data Set except that the values come from the
  columns in the select or prepared select statement. It uses JDBC
  Connection Configuration just like the JDBC sampler, pre-processor and
  post-processor.

 It would be likely more efficient to extract the variables into a CSV
 file just before running the test.
 Of course that may not be quite as convenient, and would not work if
 the values are dynamic.

  Early on I thought that keep alive and connection age could be
  significant parameters affecting the performance and efficiency of my
  component but when I looked in the source code for the JDBC Connection
  (src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElem
  ent.java) I found not only that Keep-Alive, Max Connection Age and
  Validation Query have set/get methods but are otherwise not used
  (presumably an aspirational addition to the component and its beaninfo)
  but also that it uses the now defunct Apache Excalibur as its actual
  JDBC interface: it's only a wrapper.  Rather than dig into another
  source project, and a dead and static one at that, I decided to trust
  JMeter's JDBC Connection Configuration's encapsulation of Excalibur and
  hope that the eventually inevitable migration to something else remains
  equally encapsulated and won't break my component.
 
  So that's the long answer. The short answer is that you have no control
  over the status of a given connection and will have to tolerate the
  default behaviour.


  -Original Message-
  From: Dzmitry_Kashlach [mailto:dzmitrykashl...@gmail.com]
  Sent: 21 June 2012 15:08
  To: jmeter-u...@jakarta.apache.org
  Subject: Re: How to connect to Database from JMeter at the start of the
  test and use the connection in the post processor to insert some data?
 
   When I had task that was similar to yours, I opened connection to
  database
  via JDBC Connection Configuration once per Thread Group. After that I
  used
  this connection through the whole test. While creating
  JMeter test-plan, I used
  http://community.blazemeter.com/knowledgebase/articles/65143-using-jdbc-
  sampler-in-jmeter-2-6
  How to use JDBC Sampler in JMeter
 
  --
  View this message in context:
  http://jmeter.512774.n5.nabble.com/How-to-connect-to-Database-from-JMete
  r-at-the-start-of-the-test-and-use-the-connection-in-the-post-p-tp567638
  8p5713661.html
  Sent from the JMeter - User mailing list archive at Nabble.com.
 
  -
  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




Re: Inserting Cookie Data into URL. (I have googled and looked at guides, it looks correct but fails)

2012-06-21 Thread Sergio Boso

You may also try to disable the

check received cookies are valid

in jmeter.properties:
CookieManager.check.cookies=false

I had a case when the cookies were handled properly by browsers,
but they were discarded by Http client in Jmeter.

regards

Sergio


Il 21/06/2012 18:04, Deepak Shetty ha scritto:

If your application is using cookies and you are using Cookie Manager , you
dont need to use HTTP URL rewriting modifier .
Ensure you have follow redirects , not redirect automatically on your
samplers
Also add a view results tree listener and check if you are getting the
Set-Cookie correctly (check that the domain / path being specified in
Set-Cookie matches the next request you are making)

Its possible that your application only uses url-rewrites in which case you
can drop the Cookie Manager and verify the modifier

regards
deepak


On Thu, Jun 21, 2012 at 7:19 AM, Dean Lozo dean.l...@gmail.com wrote:


Hey

Note: This is my first time usign JMeter and I am a complete noob.

I have done large amount of googling and reading through documentation.
After looking at several tutorials, and trying different things they have
all failed. I might have forgotten something more basic.  It has been a
nightmare to use the re-cookie i receive in Sampler Result after logging
in. I am trying to do this by using the HTTP URL Re-writing Modifier and
Cookie manager feature that JMeter offers. I have enabled saving cookies
to true.

JSESSIONID keeps staying blank for some reason. Links to pictures can be
found below. I am at a loss, and would really love some help! That the URL
works at this point is irrelevant, I only wish to generate the correct URL.
If there is no time to help, I would greatly appreciate an XML file with
the functions working.

http://imgur.com/a/Qp13D


Cheers
Dean




--


In caso di erronea ricezione da parte di persona diversa, siete pregati di eliminare il messaggio e i suoi allegati in modo 
definitivo dai vostri archivi e di volercelo comunicare immediatamente restituendoci il messaggio via e-mail al seguente 
indirizzoser...@bosoconsulting.it mailto:sergiob...@yahoo.it
L’interessato può, inoltre, esercitare tutti i diritti di accesso sui propri dati previsti dal decreto 196/2003, tra i quali i 
diritti di rettifica, aggiornamento e cancellazione, inviando un messaggio all’indirizzo:ser...@bosoconsulting.it 
mailto:sergiob...@yahoo.it






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



Re: Where do I find all of these cool settings for the 'properties' files?

2012-06-21 Thread Sergio Boso

Well,

in release 2.7, they added a very cool property display controller (see the non 
test elements group).
very easy to read..

About setting properties, I'm not sure about the fact that user.properties can overwrite properties set in jmeter.properties. Any 
experiences here?


To compare different versions of the same file, I'm using Winmerge.
http://winmerge.org/downloads/

regards

Il 21/06/2012 22:02, Robin D. Wilson ha scritto:

This brings up another issue - where do I find all of these cool settings that 
I can configure in the properties files?

Is there a document that distills them all?

BTW, I highly recommend that you put your modifications in the 
'user.properties' file, instead of the 'jmeter.properties' file. The 
jmeter.properties file gets updated with new releases, and it is a pain to 
hand-compare the old version with the new version and move your modifications 
over. It is far easier to use 'user.properties', since it never has any 
settings in it with the releases... Then you can just copy your user.properties 
file over to the new release, and you're ready to go.

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


-Original Message-
From: Sergio Boso [mailto:ser...@bosoconsulting.it]
Sent: Thursday, June 21, 2012 2:03 PM
To: JMeter Users List
Cc: Deepak Shetty
Subject: Re: Inserting Cookie Data into URL. (I have googled and looked at 
guides, it looks correct but fails)

You may also try to disable the

check received cookies are valid

in jmeter.properties:
CookieManager.check.cookies=false

I had a case when the cookies were handled properly by browsers,
but they were discarded by Http client in Jmeter.

regards

Sergio


Il 21/06/2012 18:04, Deepak Shetty ha scritto:

If your application is using cookies and you are using Cookie Manager , you
dont need to use HTTP URL rewriting modifier .
Ensure you have follow redirects , not redirect automatically on your
samplers
Also add a view results tree listener and check if you are getting the
Set-Cookie correctly (check that the domain / path being specified in
Set-Cookie matches the next request you are making)

Its possible that your application only uses url-rewrites in which case you
can drop the Cookie Manager and verify the modifier

regards
deepak


On Thu, Jun 21, 2012 at 7:19 AM, Dean Lozo dean.l...@gmail.com wrote:


Hey

Note: This is my first time usign JMeter and I am a complete noob.

I have done large amount of googling and reading through documentation.
After looking at several tutorials, and trying different things they have
all failed. I might have forgotten something more basic.  It has been a
nightmare to use the re-cookie i receive in Sampler Result after logging
in. I am trying to do this by using the HTTP URL Re-writing Modifier and
Cookie manager feature that JMeter offers. I have enabled saving cookies
to true.

JSESSIONID keeps staying blank for some reason. Links to pictures can be
found below. I am at a loss, and would really love some help! That the URL
works at this point is irrelevant, I only wish to generate the correct URL.
If there is no time to help, I would greatly appreciate an XML file with
the functions working.

http://imgur.com/a/Qp13D


Cheers
Dean






--

Ing. Sergio Boso

Mail:
Web:
PEC:
Cell:
Linkedin:
Skype:



ser...@bosoconsulting.it mailto:sergiob...@yahoo.it
www.bosoconsulting.it
sergio.b...@ingpec.eu mailto:sergio.b...@ingpec.eu
+39 335 7243 445
http://it.linkedin.com/in/sergioboso 
http://www.linkedin.com/pub/sergio-boso/1/29b/255
sbos61

In caso di erronea ricezione da parte di persona diversa, siete pregati di eliminare il messaggio e i suoi allegati in modo 
definitivo dai vostri archivi e di volercelo comunicare immediatamente restituendoci il messaggio via e-mail al seguente 
indirizzoser...@bosoconsulting.it mailto:sergiob...@yahoo.it
L’interessato può, inoltre, esercitare tutti i diritti di accesso sui propri dati previsti dal decreto 196/2003, tra i quali i 
diritti di rettifica, aggiornamento e cancellazione, inviando un messaggio all’indirizzo:ser...@bosoconsulting.it 
mailto:sergiob...@yahoo.it






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



Re: Where do I find all of these cool settings for the 'properties' files?

2012-06-21 Thread sebb
On 21 June 2012 23:17, Robin D. Wilson rwils...@gmail.com wrote:
 The Property Display non-test element doesn't show all properties that 
 could be set - I'm not real sure how it chooses which properties to show, but 
 it doesn't even show all the ones I've set.

It only shows properties that have been set.

This includes all properties in jmeter.properties, and any additional
ones (or changes) provided by user.properties.

The System property display includes all system properties plus any
defined / changed in system.properties.

The properties themselves are all defined either in the property
files, or in the manual, or both.

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


 -Original Message-
 From: Sergio Boso [mailto:ser...@bosoconsulting.it]
 Sent: Thursday, June 21, 2012 4:36 PM
 To: JMeter Users List
 Cc: Robin D. Wilson; 'Deepak Shetty'
 Subject: Re: Where do I find all of these cool settings for the 'properties' 
 files?

 Well,

 in release 2.7, they added a very cool property display controller (see the 
 non test elements group).
 very easy to read..

 About setting properties, I'm not sure about the fact that user.properties 
 can overwrite properties set in jmeter.properties. Any
 experiences here?

 To compare different versions of the same file, I'm using Winmerge.
 http://winmerge.org/downloads/

 regards

 Il 21/06/2012 22:02, Robin D. Wilson ha scritto:
 This brings up another issue - where do I find all of these cool settings 
 that I can configure in the properties files?

 Is there a document that distills them all?

 BTW, I highly recommend that you put your modifications in the 
 'user.properties' file, instead of the 'jmeter.properties' file. The 
 jmeter.properties file gets updated with new releases, and it is a pain to 
 hand-compare the old version with the new version and move your 
 modifications over. It is far easier to use 'user.properties', since it 
 never has any settings in it with the releases... Then you can just copy 
 your user.properties file over to the new release, and you're ready to go.

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


 -Original Message-
 From: Sergio Boso [mailto:ser...@bosoconsulting.it]
 Sent: Thursday, June 21, 2012 2:03 PM
 To: JMeter Users List
 Cc: Deepak Shetty
 Subject: Re: Inserting Cookie Data into URL. (I have googled and looked at 
 guides, it looks correct but fails)

 You may also try to disable the

 check received cookies are valid

 in jmeter.properties:
 CookieManager.check.cookies=false

 I had a case when the cookies were handled properly by browsers,
 but they were discarded by Http client in Jmeter.

 regards

 Sergio


 Il 21/06/2012 18:04, Deepak Shetty ha scritto:
 If your application is using cookies and you are using Cookie Manager , you
 dont need to use HTTP URL rewriting modifier .
 Ensure you have follow redirects , not redirect automatically on your
 samplers
 Also add a view results tree listener and check if you are getting the
 Set-Cookie correctly (check that the domain / path being specified in
 Set-Cookie matches the next request you are making)

 Its possible that your application only uses url-rewrites in which case you
 can drop the Cookie Manager and verify the modifier

 regards
 deepak


 On Thu, Jun 21, 2012 at 7:19 AM, Dean Lozo dean.l...@gmail.com wrote:

 Hey

 Note: This is my first time usign JMeter and I am a complete noob.

 I have done large amount of googling and reading through documentation.
 After looking at several tutorials, and trying different things they have
 all failed. I might have forgotten something more basic.  It has been a
 nightmare to use the re-cookie i receive in Sampler Result after logging
 in. I am trying to do this by using the HTTP URL Re-writing Modifier and
 Cookie manager feature that JMeter offers. I have enabled saving cookies
 to true.

 JSESSIONID keeps staying blank for some reason. Links to pictures can be
 found below. I am at a loss, and would really love some help! That the URL
 works at this point is irrelevant, I only wish to generate the correct URL.
 If there is no time to help, I would greatly appreciate an XML file with
 the functions working.

 http://imgur.com/a/Qp13D


 Cheers
 Dean




 --

 Ing. Sergio Boso

 Mail:
 Web:
 PEC:
 Cell:
 Linkedin:
 Skype:



 ser...@bosoconsulting.it mailto:sergiob...@yahoo.it
 www.bosoconsulting.it
 sergio.b...@ingpec.eu mailto:sergio.b...@ingpec.eu
 +39 335 7243 445
 http://it.linkedin.com/in/sergioboso 
 http://www.linkedin.com/pub/sergio-boso/1/29b/255
 sbos61

 In caso di erronea ricezione da parte di persona diversa, siete pregati di 
 eliminare il messaggio e i suoi allegati in modo
 definitivo dai vostri archivi e di volercelo comunicare immediatamente 
 restituendoci il messaggio via e-mail al seguente