<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>jmeter-user@jakarta.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/"/>
<id>http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/</id>
<updated>2009-12-06T07:28:11Z</updated>
<entry>
<title>Re: Loads of Non HTTP errors in performance test</title>
<author><name>Harry_ &lt;harjitworks@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c26662347.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26662347-post@talk-nabble-com%3e</id>
<updated>2009-12-06T05:14:58Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Thanks for the suggestion Deepak....

I will do that in the next test run.... and hopefully all works well
then.... 

Regards


Deepak Shetty wrote:
&gt; 
&gt; hi
&gt; UnknownHostException is just  that the name could not be translated into
&gt; an
&gt; ip address, you might try to change it into the actual IP address and see
&gt; if
&gt; you get any errors.
&gt; regards
&gt; deepak
&gt; 
&gt; On Sat, Dec 5, 2009 at 8:35 PM, Harry_ &lt;harjitworks@gmail.com&gt; wrote:
&gt; 
&gt;&gt;
&gt;&gt; Thanks for the reply deepak. But these errors are coming for subset of
&gt;&gt; requests to the staging server, so it is not related to resolving
&gt;&gt; address...
&gt;&gt;
&gt;&gt; I will check about ulimit and will see how to configure it...
&gt;&gt;
&gt;&gt; Regards
&gt;&gt;
&gt;&gt;
&gt;&gt; Deepak Shetty wrote:
&gt;&gt; &gt;
&gt;&gt; &gt; Hi
&gt;&gt; &gt; 1. It looks like whatever machine you are running  JMeter on cant
&gt;&gt; resolve
&gt;&gt; &gt; staging.nsonline.org.uk . You'd need to ask your admin to make entries
&gt;&gt; &gt; into
&gt;&gt; &gt; hosts or use IP address .
&gt;&gt; &gt; 2. Your unix machine probably needs some ulimit tuning to increase file
&gt;&gt; &gt; descriptors, Im not a unix guy so I dont remember the exact parameter
&gt;&gt; &gt; names
&gt;&gt; &gt; , but Im sure you'll get this on google / your unix admin
&gt;&gt; &gt; regards
&gt;&gt; &gt; deepak
&gt;&gt; &gt;
&gt;&gt; &gt; On Sat, Dec 5, 2009 at 7:59 AM, Harry_ &lt;harjitworks@gmail.com&gt; wrote:
&gt;&gt; &gt;
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; Hi,
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; I conducted a performance test with 400 users (2 mins delay in each
&gt;&gt; &gt;&gt; request).
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; I am getting the following Non HTTP errors for many requests:
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; 1.
&gt;&gt; &gt;&gt; Response code: Non HTTP response code: java.net.UnknownHostException
&gt;&gt; &gt;&gt; Response message: Non HTTP response message: staging.nsonline.org.uk
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; 2.
&gt;&gt; &gt;&gt; Response code: Non HTTP response code: java.net.SocketException
&gt;&gt; &gt;&gt; Response message: Non HTTP response message: Too many open files
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; I have seen similar posts on these exceptions, some suggesting using
&gt;&gt; HTTP
&gt;&gt; &gt;&gt; Request HTTPClient sampler. Some using latest version. Some suggesting
&gt;&gt; &gt;&gt; checking Server Limits. Some suggesting increasing the number of
&gt;&gt; sockets
&gt;&gt; &gt;&gt; for
&gt;&gt; &gt;&gt; jmeter.
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; - I am already using  HTTP Request HTTPClient sampler.
&gt;&gt; &gt;&gt; - I am having latest version of JMeter.
&gt;&gt; &gt;&gt; - The Server Limits is for supporting thousands of users.
&gt;&gt; &gt;&gt; - I do not know how to increase the number of sockets for jmeter (Can
&gt;&gt; &gt;&gt; anyone
&gt;&gt; &gt;&gt; tell me how can I do that).
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; I am giving requests to Server via a proxy server.
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; Regards,
&gt;&gt; &gt;&gt; Harjit Singh
&gt;&gt; &gt;&gt; --
&gt;&gt; &gt;&gt; View this message in context:
&gt;&gt; &gt;&gt;
&gt;&gt; http://old.nabble.com/Loads-of-Non-HTTP-errors-in-performance-test-tp26656794p26656794.html
&gt;&gt; &gt;&gt; Sent from the JMeter - User mailing list archive at Nabble.com.
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; ---------------------------------------------------------------------
&gt;&gt; &gt;&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt; &gt;&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;
&gt;&gt; &gt;
&gt;&gt;
&gt;&gt; --
&gt;&gt; View this message in context:
&gt;&gt; http://old.nabble.com/Loads-of-Non-HTTP-errors-in-performance-test-tp26656794p26662223.html
&gt;&gt; Sent from the JMeter - User mailing list archive at Nabble.com.
&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;&gt;
&gt;&gt;
&gt; 
&gt; 

-- 
View this message in context: http://old.nabble.com/Loads-of-Non-HTTP-errors-in-performance-test-tp26656794p26662347.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Loads of Non HTTP errors in performance test</title>
<author><name>Deepak Shetty &lt;shettyd@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c4483c26c0912052104s55cf1899t6d4e0d7b1ae8a127@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4483c26c0912052104s55cf1899t6d4e0d7b1ae8a127@mail-gmail-com%3e</id>
<updated>2009-12-06T05:04:23Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
hi
UnknownHostException is just  that the name could not be translated into an
ip address, you might try to change it into the actual IP address and see if
you get any errors.
regards
deepak

On Sat, Dec 5, 2009 at 8:35 PM, Harry_ &lt;harjitworks@gmail.com&gt; wrote:

&gt;
&gt; Thanks for the reply deepak. But these errors are coming for subset of
&gt; requests to the staging server, so it is not related to resolving
&gt; address...
&gt;
&gt; I will check about ulimit and will see how to configure it...
&gt;
&gt; Regards
&gt;
&gt;
&gt; Deepak Shetty wrote:
&gt; &gt;
&gt; &gt; Hi
&gt; &gt; 1. It looks like whatever machine you are running  JMeter on cant resolve
&gt; &gt; staging.nsonline.org.uk . You'd need to ask your admin to make entries
&gt; &gt; into
&gt; &gt; hosts or use IP address .
&gt; &gt; 2. Your unix machine probably needs some ulimit tuning to increase file
&gt; &gt; descriptors, Im not a unix guy so I dont remember the exact parameter
&gt; &gt; names
&gt; &gt; , but Im sure you'll get this on google / your unix admin
&gt; &gt; regards
&gt; &gt; deepak
&gt; &gt;
&gt; &gt; On Sat, Dec 5, 2009 at 7:59 AM, Harry_ &lt;harjitworks@gmail.com&gt; wrote:
&gt; &gt;
&gt; &gt;&gt;
&gt; &gt;&gt; Hi,
&gt; &gt;&gt;
&gt; &gt;&gt; I conducted a performance test with 400 users (2 mins delay in each
&gt; &gt;&gt; request).
&gt; &gt;&gt;
&gt; &gt;&gt; I am getting the following Non HTTP errors for many requests:
&gt; &gt;&gt;
&gt; &gt;&gt; 1.
&gt; &gt;&gt; Response code: Non HTTP response code: java.net.UnknownHostException
&gt; &gt;&gt; Response message: Non HTTP response message: staging.nsonline.org.uk
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; 2.
&gt; &gt;&gt; Response code: Non HTTP response code: java.net.SocketException
&gt; &gt;&gt; Response message: Non HTTP response message: Too many open files
&gt; &gt;&gt;
&gt; &gt;&gt; I have seen similar posts on these exceptions, some suggesting using
&gt; HTTP
&gt; &gt;&gt; Request HTTPClient sampler. Some using latest version. Some suggesting
&gt; &gt;&gt; checking Server Limits. Some suggesting increasing the number of sockets
&gt; &gt;&gt; for
&gt; &gt;&gt; jmeter.
&gt; &gt;&gt;
&gt; &gt;&gt; - I am already using  HTTP Request HTTPClient sampler.
&gt; &gt;&gt; - I am having latest version of JMeter.
&gt; &gt;&gt; - The Server Limits is for supporting thousands of users.
&gt; &gt;&gt; - I do not know how to increase the number of sockets for jmeter (Can
&gt; &gt;&gt; anyone
&gt; &gt;&gt; tell me how can I do that).
&gt; &gt;&gt;
&gt; &gt;&gt; I am giving requests to Server via a proxy server.
&gt; &gt;&gt;
&gt; &gt;&gt; Regards,
&gt; &gt;&gt; Harjit Singh
&gt; &gt;&gt; --
&gt; &gt;&gt; View this message in context:
&gt; &gt;&gt;
&gt; http://old.nabble.com/Loads-of-Non-HTTP-errors-in-performance-test-tp26656794p26656794.html
&gt; &gt;&gt; Sent from the JMeter - User mailing list archive at Nabble.com.
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;&gt; ---------------------------------------------------------------------
&gt; &gt;&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt; &gt;&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;
&gt; &gt;
&gt;
&gt; --
&gt; View this message in context:
&gt; http://old.nabble.com/Loads-of-Non-HTTP-errors-in-performance-test-tp26656794p26662223.html
&gt; Sent from the JMeter - User mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Loads of Non HTTP errors in performance test</title>
<author><name>Harry_ &lt;harjitworks@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c26662223.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26662223-post@talk-nabble-com%3e</id>
<updated>2009-12-06T04:35:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Thanks for the reply deepak. But these errors are coming for subset of
requests to the staging server, so it is not related to resolving address...

I will check about ulimit and will see how to configure it...

Regards


Deepak Shetty wrote:
&gt; 
&gt; Hi
&gt; 1. It looks like whatever machine you are running  JMeter on cant resolve
&gt; staging.nsonline.org.uk . You'd need to ask your admin to make entries
&gt; into
&gt; hosts or use IP address .
&gt; 2. Your unix machine probably needs some ulimit tuning to increase file
&gt; descriptors, Im not a unix guy so I dont remember the exact parameter
&gt; names
&gt; , but Im sure you'll get this on google / your unix admin
&gt; regards
&gt; deepak
&gt; 
&gt; On Sat, Dec 5, 2009 at 7:59 AM, Harry_ &lt;harjitworks@gmail.com&gt; wrote:
&gt; 
&gt;&gt;
&gt;&gt; Hi,
&gt;&gt;
&gt;&gt; I conducted a performance test with 400 users (2 mins delay in each
&gt;&gt; request).
&gt;&gt;
&gt;&gt; I am getting the following Non HTTP errors for many requests:
&gt;&gt;
&gt;&gt; 1.
&gt;&gt; Response code: Non HTTP response code: java.net.UnknownHostException
&gt;&gt; Response message: Non HTTP response message: staging.nsonline.org.uk
&gt;&gt;
&gt;&gt;
&gt;&gt; 2.
&gt;&gt; Response code: Non HTTP response code: java.net.SocketException
&gt;&gt; Response message: Non HTTP response message: Too many open files
&gt;&gt;
&gt;&gt; I have seen similar posts on these exceptions, some suggesting using HTTP
&gt;&gt; Request HTTPClient sampler. Some using latest version. Some suggesting
&gt;&gt; checking Server Limits. Some suggesting increasing the number of sockets
&gt;&gt; for
&gt;&gt; jmeter.
&gt;&gt;
&gt;&gt; - I am already using  HTTP Request HTTPClient sampler.
&gt;&gt; - I am having latest version of JMeter.
&gt;&gt; - The Server Limits is for supporting thousands of users.
&gt;&gt; - I do not know how to increase the number of sockets for jmeter (Can
&gt;&gt; anyone
&gt;&gt; tell me how can I do that).
&gt;&gt;
&gt;&gt; I am giving requests to Server via a proxy server.
&gt;&gt;
&gt;&gt; Regards,
&gt;&gt; Harjit Singh
&gt;&gt; --
&gt;&gt; View this message in context:
&gt;&gt; http://old.nabble.com/Loads-of-Non-HTTP-errors-in-performance-test-tp26656794p26656794.html
&gt;&gt; Sent from the JMeter - User mailing list archive at Nabble.com.
&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;&gt;
&gt;&gt;
&gt; 
&gt; 

-- 
View this message in context: http://old.nabble.com/Loads-of-Non-HTTP-errors-in-performance-test-tp26656794p26662223.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: jmeter.protocol.jms.sampler.JMSSampler: queue/ContactQueue	javax.naming.NameNotFoundException: queue/ContactQueue</title>
<author><name>sebb &lt;sebbaz@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c25aac9fc0912051729o1a8b49f9o1e853a675155d793@mail.gmail.com%3e"/>
<id>urn:uuid:%3c25aac9fc0912051729o1a8b49f9o1e853a675155d793@mail-gmail-com%3e</id>
<updated>2009-12-06T01:29:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On 02/12/2009, Storm_Rage &lt;lidwin.luies@wipro.com&gt; wrote:
&gt;
&gt;
&gt;  I am using JBOSS 5 as the app server and Jmeter 2.3.4  ; Is there any
&gt;  compatibility issue on that ????
&gt;
&gt;  The JBOSS is running on a Solaris machine located at
&gt;  IP : 10.200.191.225
&gt;  port :8080
&gt;
&gt;  I have given the Provider url as
&gt;
&gt;  jnp://10.200.191.225:1099 based on what I have seen in the jmx-console. I am
&gt;  giving the screen shot of that below
&gt;
&gt;
&gt;  http://old.nabble.com/file/p26607760/1.jpeg
&gt;
&gt;  Also the JNDI names of Contact and Receipt queues are also given from the
&gt;  data I got from the jmx-console. I am pasting the one corresponding to
&gt;  ContactQueue
&gt;
&gt;
&gt;  http://old.nabble.com/file/p26607760/2.jpeg
&gt;
&gt;  The connection Factory part is also included below
&gt;
&gt;  http://old.nabble.com/file/p26607760/3.jpeg
&gt;
&gt;
&gt;  the value in that field is  [Since its not clearly visible]
&gt;
&gt;  &lt;bindings&gt; &lt;binding&gt;/ConnectionFactory&lt;/binding&gt;
&gt;  &lt;binding&gt;/XAConnectionFactory&lt;/binding&gt;
&gt;  &lt;binding&gt;java:/ConnectionFactory&lt;/binding&gt;
&gt;  &lt;binding&gt;java:/XAConnectionFactory&lt;/binding&gt; &lt;/bindings&gt;
&gt;
&gt;  Which one should i use. Is the connection factory shown there and the queue
&gt;  connection factory same ??
&gt;
&gt;  All the properties I have used in the JMETER fields are obtained in the same
&gt;  way looking into the jmx-console
&gt;
&gt;
&gt;  The way I have filled is given once again -
&gt;
&gt;  http://old.nabble.com/file/p26607760/4.jpeg
&gt;
&gt;
&gt;
&gt;  Please give me your view of the possible error...

Something is wrong in the configuration of the JMS sampler.

BTW, the stack trace in your original e-mail says the queue name is
"queue/ContactQueue" whereas in this message you say it is called
"/queue/ContactQueue"

One or more of these is likely to be incorrect.

&gt;
&gt;  Thanks in advance....
&gt;
&gt;  ~Lidwin~
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;  ----------------------------------------------------------------------------------------------------
&gt;
&gt;  sebb-2-2 wrote:
&gt;  &gt;
&gt;  &gt; On 30/11/2009, Storm_Rage &lt;lidwin.luies@wipro.com&gt; wrote:
&gt;  &gt;&gt;
&gt;  &gt;&gt;  Yes that one I noted and thats why I said that the JNDI names given are
&gt;  &gt;&gt;  correct.
&gt;  &gt;
&gt;  &gt; Are you sure that the error message is wrong?
&gt;  &gt;
&gt;  &gt;&gt; But I assume there is some trouble with the Provider URL.
&gt;  &gt;
&gt;  &gt; Why?
&gt;  &gt;
&gt;  &gt;&gt; Do you think so ?
&gt;  &gt;
&gt;  &gt; No.
&gt;  &gt;
&gt;  &gt;&gt;  If so, what changes need to be made to rectify that... ?
&gt;  &gt;
&gt;  &gt; I think you need to find out why the name is not being found.
&gt;  &gt;
&gt;  &gt;&gt;
&gt;  &gt;&gt;  Thanks in advance.
&gt;  &gt;&gt;
&gt;  &gt;&gt;  ~Lidwin~
&gt;  &gt;&gt;
&gt;  &gt;&gt;
&gt;  &gt;&gt;
&gt;  &gt;&gt;
&gt;  &gt;&gt;
&gt;  &gt;&gt;
&gt;  &gt;&gt;  sebb-2-2 wrote:
&gt;  &gt;&gt;  &gt;
&gt;  &gt;&gt;
&gt;  &gt;&gt; &gt; On 27/11/2009, Storm_Rage &lt;lidwin.luies@wipro.com&gt; wrote:
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;  Hi Friends,
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;  I have been trying to check the performance of a JMS point-to-point
&gt;  &gt;&gt; app
&gt;  &gt;&gt;  &gt;&gt; in
&gt;  &gt;&gt;  &gt;&gt;  JMETER.
&gt;  &gt;&gt;  &gt;&gt;  The configuration I have done is given below and Error that was
&gt;  &gt;&gt; shown in
&gt;  &gt;&gt;  &gt;&gt;  JMETER log file is also given below.
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; ---------------------------------------------------------------------------------------------
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;  http://old.nabble.com/file/p26541994/post.jpg
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; --------------------------------------------------------------------------------------------
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;   - jmeter.protocol.jms.sampler.JMSSampler: queue/ContactQueue
&gt;  &gt;&gt;  &gt;&gt;  javax.naming.NameNotFoundException: queue/ContactQueue
&gt;  &gt;&gt;  &gt;&gt;         at org.jboss.ha.jndi.TreeHead.lookup(TreeHead.java:242)
&gt;  &gt;&gt;  &gt;&gt;         at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:155)
&gt;  &gt;&gt;  &gt;&gt;         at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown
&gt;  &gt;&gt; Source)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;  &gt;&gt;  &gt;&gt;         at java.lang.reflect.Method.invoke(Method.java:585)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; org.jboss.ha.framework.server.HARMIServerImpl.invoke(HARMIServerImpl.java:209)
&gt;  &gt;&gt;  &gt;&gt;         at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown
&gt;  &gt;&gt; Source)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;  &gt;&gt;  &gt;&gt;         at java.lang.reflect.Method.invoke(Method.java:585)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt; sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
&gt;  &gt;&gt;  &gt;&gt;         at sun.rmi.transport.Transport$1.run(Transport.java:153)
&gt;  &gt;&gt;  &gt;&gt;         at java.security.AccessController.doPrivileged(Native Method)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt; sun.rmi.transport.Transport.serviceCall(Transport.java:149)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
&gt;  &gt;&gt;  &gt;&gt;         at java.lang.Thread.run(Thread.java:595)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
&gt;  &gt;&gt;  &gt;&gt;         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt; org.jboss.ha.framework.server.HARMIServerImpl_Stub.invoke(Unknown
&gt;  &gt;&gt;  &gt;&gt;  Source)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; org.jboss.ha.framework.interfaces.HARMIClient.invokeRemote(HARMIClient.java:172)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; org.jboss.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:267)
&gt;  &gt;&gt;  &gt;&gt;         at $Proxy0.lookup(Unknown Source)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt; org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt; org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt; javax.naming.InitialContext.lookup(InitialContext.java:392)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; org.apache.jmeter.protocol.jms.sampler.JMSSampler.threadStarted(JMSSampler.java:303)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:504)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:984)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:985)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt; org.apache.jorphan.collections.HashTree.traverse(HashTree.java:967)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:479)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt; org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:468)
&gt;  &gt;&gt;  &gt;&gt;         at
&gt;  &gt;&gt;  &gt;&gt; org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:239)
&gt;  &gt;&gt;  &gt;&gt;         at java.lang.Thread.run(Thread.java:619)
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; ---------------------------------------------------------------------------------------------------
&gt;  &gt;&gt;  &gt;&gt;  What would you suggest as a possible error. The JNDI names are given
&gt;  &gt;&gt;  &gt;&gt; correct
&gt;  &gt;&gt;  &gt;&gt;  to my knowledge.
&gt;  &gt;&gt;  &gt;&gt;  Is there a problem in the Provider URL.????
&gt;  &gt;&gt;  &gt;
&gt;  &gt;&gt;  &gt; The error message clearly says that the name "queue/ContactQueue" has
&gt;  &gt;&gt;  &gt; not been found.
&gt;  &gt;&gt;  &gt;
&gt;  &gt;&gt;  &gt;&gt;  That is the location where the JBOSS app server is running and the
&gt;  &gt;&gt; app
&gt;  &gt;&gt;  &gt;&gt; is
&gt;  &gt;&gt;  &gt;&gt;  deployed.
&gt;  &gt;&gt;  &gt;&gt;  Really getting frustrated with this now..
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;  Please help me find a solution.
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;  Thanks in advance.
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;  ~Lidwin Lewis~
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt; --
&gt;  &gt;&gt;  &gt;&gt;  View this message in context:
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; http://old.nabble.com/jmeter.protocol.jms.sampler.JMSSampler%3A-queue-ContactQueue-javax.naming.NameNotFoundException%3A-queue-ContactQueue-tp26541994p26541994.html
&gt;  &gt;&gt;  &gt;&gt;  Sent from the JMeter - User mailing list archive at Nabble.com.
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt; ---------------------------------------------------------------------
&gt;  &gt;&gt;  &gt;&gt;  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;  &gt;&gt;  &gt;&gt;  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;&gt;
&gt;  &gt;&gt;  &gt;
&gt;  &gt;&gt;  &gt; ---------------------------------------------------------------------
&gt;  &gt;&gt;  &gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;  &gt;&gt;  &gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;  &gt;&gt;  &gt;
&gt;  &gt;&gt;  &gt;
&gt;  &gt;&gt;  &gt;
&gt;  &gt;&gt;
&gt;  &gt;&gt;
&gt;  &gt;&gt; --
&gt;  &gt;&gt;  View this message in context:
&gt;  &gt;&gt; http://old.nabble.com/jmeter.protocol.jms.sampler.JMSSampler%3A-queue-ContactQueue-javax.naming.NameNotFoundException%3A-queue-ContactQueue-tp26541994p26569456.html
&gt;  &gt;&gt;
&gt;  &gt;&gt; Sent from the JMeter - User mailing list archive at Nabble.com.
&gt;  &gt;&gt;
&gt;  &gt;&gt;
&gt;  &gt;&gt;  ---------------------------------------------------------------------
&gt;  &gt;&gt;  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;  &gt;&gt;  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;  &gt;&gt;
&gt;  &gt;&gt;
&gt;  &gt;
&gt;  &gt; ---------------------------------------------------------------------
&gt;  &gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;  &gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;  &gt;
&gt;  &gt;
&gt;  &gt;
&gt;
&gt;  --
&gt;
&gt; View this message in context: http://old.nabble.com/jmeter.protocol.jms.sampler.JMSSampler%3A-queue-ContactQueue-javax.naming.NameNotFoundException%3A-queue-ContactQueue-tp26541994p26607760.html
&gt;
&gt; Sent from the JMeter - User mailing list archive at Nabble.com.
&gt;
&gt;
&gt;  ---------------------------------------------------------------------
&gt;  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Accessing and asserting remote file system resources using	BeanShell</title>
<author><name>sebb &lt;sebbaz@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c25aac9fc0912051700haa93e74i3d981a7fb92b9a3f@mail.gmail.com%3e"/>
<id>urn:uuid:%3c25aac9fc0912051700haa93e74i3d981a7fb92b9a3f@mail-gmail-com%3e</id>
<updated>2009-12-06T01:00:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On 06/12/2009, Mark Miller &lt;mark.o.miller@gmail.com&gt; wrote:
&gt; I was able to craft a simple solution to this using a BeanShell sampler.
&gt;
&gt;  My original problem was not being able to disconnect from the remote
&gt;  BeanShell server and that hung the jmeter test.
&gt;
&gt;  My solution was to implement a custom EOF indicator and a custom remote
&gt;  requester to detect the custom EOF.
&gt;
&gt;  There are three moving parts to this:
&gt;
&gt;  1) It expects that there is a listening BeanShell server on the remote host.
&gt;  I put the bsh-2.0b4.jar on the remote host as well as a simple script to
&gt;  initialize the server:
&gt;
&gt;  $ cat startserver.bsh
&gt;  print("Starting BeanShell server...");
&gt;  server(9000);
&gt;
&gt;  I execute that script:
&gt;
&gt;  java -cp bsh-2.0b4.jar bsh.Interpreter startserver.bsh
&gt;  Starting BeanShell server...
&gt;  Httpd started on port: 9000
&gt;  Sessiond started on port: 9001
&gt;
&gt;  2) Then (back on the local test box) I created a simple script that could
&gt;  read a file and print its contents.
&gt;  # catfile.bsh
&gt;  import java.io.*;
&gt;  File f = new File("/opt/foo/some.xml");
&gt;  FileInputStream fin = new FileInputStream(f);
&gt;  fileContent = new byte[(int)f.length()];
&gt;  fin.read(fileContent);
&gt;  print(new String(fileContent));
&gt;  print("$bsh.break$");
&gt;
&gt;  This is the file that I keep on the test machine. It gets sent to the remote
&gt;  host and evaluated there. Note that it includes the printing of my custom
&gt;  EOF token "$bsh.break$".
&gt;
&gt;  3) Lastly, I created a BeanShell sampler in the test plan that included the
&gt;  following code. This code is just a simplified version of the
&gt;  bsh.Remote.java class. The only enhancement is the addition of an if
&gt;  statement that looks for the EOF token:
&gt;
&gt;  import java.io.BufferedReader;
&gt;  import java.io.FileNotFoundException;
&gt;  import java.io.FileReader;
&gt;  import java.io.IOException;
&gt;  import java.io.InputStream;
&gt;  import java.io.InputStreamReader;
&gt;  import java.io.OutputStream;
&gt;  import java.net.Socket;
&gt;  import java.net.UnknownHostException;
&gt;
&gt;  OutputStream out = null;
&gt;  InputStream in = null;
&gt;  String host = "${host}";
&gt;  String port = "${port}";
&gt;  String returnValue = "-1";
&gt;  String body = null;
&gt;  StringBuffer errorBuffer = new StringBuffer();
&gt;
&gt;  Socket s;
&gt;  try {
&gt;   s = new Socket(host, Integer.parseInt(port) + 1);
&gt;   out = s.getOutputStream();
&gt;   in = s.getInputStream();
&gt;  } catch (UnknownHostException ex) {
&gt;   errorBuffer.append("Not able to access remote BeanShell server.
&gt;  ["+ex.getMessage()+"]");
&gt;  } catch (IOException ex) {
&gt;   errorBuffer.append("Not able to access remote BeanShell server.
&gt;  ["+ex.getMessage()+"]");
&gt;  }
&gt;
&gt;  StringBuffer sb = new StringBuffer();
&gt;  BufferedReader bin;
&gt;  try {
&gt;   bin = new BufferedReader(new FileReader("${script}"));
&gt;   String line;
&gt;   while ((line = bin.readLine()) != null) {
&gt;     sb.append(line).append("\n");
&gt;   }
&gt;   out.write(sb.toString().getBytes());
&gt;   out.flush();
&gt;  } catch (FileNotFoundException ex) {
&gt;   errorBuffer.append("Not able to access local script to send to BeanShell
&gt;  server. ["+ex.getMessage()+"]");
&gt;  } catch (IOException ex) {
&gt;   errorBuffer.append("Not able to access local script to send to BeanShell
&gt;  server. ["+ex.getMessage()+"]");
&gt;  }
&gt;
&gt;  BufferedReader resp = new BufferedReader(new InputStreamReader(in));
&gt;  String respline;
&gt;  StringBuffer bodybuffer = new StringBuffer();
&gt;  try {
&gt;   while ((respline = resp.readLine()) != null) {
&gt;     bodybuffer.append(respline);
&gt;     if (respline.indexOf("$bsh.break$") &gt; -1) {
&gt;       break;
&gt;     }
&gt;   }
&gt;  } catch (IOException ex) {
&gt;   errorBuffer.append("Error receiving response from remote BeanShell server.
&gt;  ["+ex.getMessage()+"]");
&gt;  }
&gt;
&gt;  // clean up the output by removing the bsh artifacts
&gt;  String response = bodybuffer.toString();
&gt;  String startkey = "bsh % bsh % ";
&gt;  String endkey = "bsh % $bsh.break$";
&gt;  int start = response.lastIndexOf(startkey)+startkey.length();
&gt;  int end = response.lastIndexOf(endkey);
&gt;  String trimmedResponse = response.substring(start, end);
&gt;  SampleResult.setResponseData(trimmedResponse);
&gt;
&gt;  ---
&gt;
&gt;  That's it. The test runs and pulls this xml file back as the sampler
&gt;  response. Then I can run xpath extractors or other assertions on the
&gt;  response data.
&gt;
&gt;  This lets me reach out to a cluster of servers and do a rapid check to see
&gt;  that things are configured the way I expect them to be.
&gt;
&gt;  If anyone improves on this or has other suggestions for me I'm keen to hear
&gt;  it.

Firstly, remember that the BeanShell server has no security whatsoever
- anyone who can connect to its port can tell the server to do
anything on its host.

If the hosts are on an internal network then you are probably OK, but
the login that is used to run the server should have minimal
privileges.

A possible improvement: instead of sending the commands directly,
define a method on the server (String parameter = filename), and use
that to return the file. You can do this in the startserver.bsh file;
file.bsh is no longer needed.

You can then send the command to the server from the BSH sampler and
trigger the response. This will allow you to request multiple files.

Similarly for the BSH sampler - define the code as a method in a bsh
init file (or use the File input rather than code in the GUI) and the
sampler code will be much simpler to use.

&gt;  Thanks,
&gt;
&gt;
&gt;  Mark
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Accessing and asserting remote file system resources using	BeanShell</title>
<author><name>Mark Miller &lt;mark.o.miller@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c8a06c4da0912051632v7ae28381v29a4022ef91f5105@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8a06c4da0912051632v7ae28381v29a4022ef91f5105@mail-gmail-com%3e</id>
<updated>2009-12-06T00:32:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I was able to craft a simple solution to this using a BeanShell sampler.

My original problem was not being able to disconnect from the remote
BeanShell server and that hung the jmeter test.

My solution was to implement a custom EOF indicator and a custom remote
requester to detect the custom EOF.

There are three moving parts to this:

1) It expects that there is a listening BeanShell server on the remote host.
I put the bsh-2.0b4.jar on the remote host as well as a simple script to
initialize the server:

$ cat startserver.bsh
print("Starting BeanShell server...");
server(9000);

I execute that script:

java -cp bsh-2.0b4.jar bsh.Interpreter startserver.bsh
Starting BeanShell server...
Httpd started on port: 9000
Sessiond started on port: 9001

2) Then (back on the local test box) I created a simple script that could
read a file and print its contents.
# catfile.bsh
import java.io.*;
File f = new File("/opt/foo/some.xml");
FileInputStream fin = new FileInputStream(f);
fileContent = new byte[(int)f.length()];
fin.read(fileContent);
print(new String(fileContent));
print("$bsh.break$");

This is the file that I keep on the test machine. It gets sent to the remote
host and evaluated there. Note that it includes the printing of my custom
EOF token "$bsh.break$".

3) Lastly, I created a BeanShell sampler in the test plan that included the
following code. This code is just a simplified version of the
bsh.Remote.java class. The only enhancement is the addition of an if
statement that looks for the EOF token:

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.Socket;
import java.net.UnknownHostException;

OutputStream out = null;
InputStream in = null;
String host = "${host}";
String port = "${port}";
String returnValue = "-1";
String body = null;
StringBuffer errorBuffer = new StringBuffer();

Socket s;
try {
  s = new Socket(host, Integer.parseInt(port) + 1);
  out = s.getOutputStream();
  in = s.getInputStream();
} catch (UnknownHostException ex) {
  errorBuffer.append("Not able to access remote BeanShell server.
["+ex.getMessage()+"]");
} catch (IOException ex) {
  errorBuffer.append("Not able to access remote BeanShell server.
["+ex.getMessage()+"]");
}

StringBuffer sb = new StringBuffer();
BufferedReader bin;
try {
  bin = new BufferedReader(new FileReader("${script}"));
  String line;
  while ((line = bin.readLine()) != null) {
    sb.append(line).append("\n");
  }
  out.write(sb.toString().getBytes());
  out.flush();
} catch (FileNotFoundException ex) {
  errorBuffer.append("Not able to access local script to send to BeanShell
server. ["+ex.getMessage()+"]");
} catch (IOException ex) {
  errorBuffer.append("Not able to access local script to send to BeanShell
server. ["+ex.getMessage()+"]");
}

BufferedReader resp = new BufferedReader(new InputStreamReader(in));
String respline;
StringBuffer bodybuffer = new StringBuffer();
try {
  while ((respline = resp.readLine()) != null) {
    bodybuffer.append(respline);
    if (respline.indexOf("$bsh.break$") &gt; -1) {
      break;
    }
  }
} catch (IOException ex) {
  errorBuffer.append("Error receiving response from remote BeanShell server.
["+ex.getMessage()+"]");
}

// clean up the output by removing the bsh artifacts
String response = bodybuffer.toString();
String startkey = "bsh % bsh % ";
String endkey = "bsh % $bsh.break$";
int start = response.lastIndexOf(startkey)+startkey.length();
int end = response.lastIndexOf(endkey);
String trimmedResponse = response.substring(start, end);
SampleResult.setResponseData(trimmedResponse);

---

That's it. The test runs and pulls this xml file back as the sampler
response. Then I can run xpath extractors or other assertions on the
response data.

This lets me reach out to a cluster of servers and do a rapid check to see
that things are configured the way I expect them to be.

If anyone improves on this or has other suggestions for me I'm keen to hear
it.

Thanks,

Mark


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Properties set with -Gpropname=propval do not get passed in GUI	mode</title>
<author><name>sebb &lt;sebbaz@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c25aac9fc0912051606t11005c2fne02b82ea3c73c7c8@mail.gmail.com%3e"/>
<id>urn:uuid:%3c25aac9fc0912051606t11005c2fne02b82ea3c73c7c8@mail-gmail-com%3e</id>
<updated>2009-12-06T00:06:26Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
-G was intended for use with non-GUI runs so it is possible that it is
ignored for GUI runs.

As a work-round, you could copy the property into a variable (e.g. on
the Test Plan) and then reference the variable in the rest of the test
plan. In GUI mode you can then change the variable to whatever you
want.

On Test Plan:
propname    ${__P(propname,propval)}

Elsewhere:
${propname}

You can overwrite the default "propval" on the TestPlan.

On 04/12/2009, mwolfe38 &lt;mwolfe38@gmail.com&gt; wrote:
&gt;
&gt;  If i add a property in the command line when running jmeter, using
&gt;  -Gpropname=propval
&gt;  it  WILL get sent to my remote servers if in command line mode, but if I run
&gt;  in gui mode and then manually start the remote computer the property WILL
&gt;  NOT get picked up by the remote server.. Anyone else have this problem or
&gt;  know of a solution?
&gt;
&gt;  The problem is I want my client to dictate which environment will be tested
&gt;  (qa,dev,staging) and how many threads and all that.. I can run in non gui
&gt;  mode but when there are problems it's very difficult for me to figure out
&gt;  what they are like that.
&gt;
&gt; --
&gt;  View this message in context: http://old.nabble.com/Properties-set-with--Gpropname%3Dpropval--do-not-get-passed-in-GUI-mode-tp26635747p26635747.html
&gt;  Sent from the JMeter - User mailing list archive at Nabble.com.
&gt;
&gt;
&gt;  ---------------------------------------------------------------------
&gt;  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Loads of Non HTTP errors in performance test</title>
<author><name>Deepak Shetty &lt;shettyd@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c4483c26c0912051220p32a163f9g9826f7ca7e7fd29f@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4483c26c0912051220p32a163f9g9826f7ca7e7fd29f@mail-gmail-com%3e</id>
<updated>2009-12-05T20:20:02Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi
1. It looks like whatever machine you are running  JMeter on cant resolve
staging.nsonline.org.uk . You'd need to ask your admin to make entries into
hosts or use IP address .
2. Your unix machine probably needs some ulimit tuning to increase file
descriptors, Im not a unix guy so I dont remember the exact parameter names
, but Im sure you'll get this on google / your unix admin
regards
deepak

On Sat, Dec 5, 2009 at 7:59 AM, Harry_ &lt;harjitworks@gmail.com&gt; wrote:

&gt;
&gt; Hi,
&gt;
&gt; I conducted a performance test with 400 users (2 mins delay in each
&gt; request).
&gt;
&gt; I am getting the following Non HTTP errors for many requests:
&gt;
&gt; 1.
&gt; Response code: Non HTTP response code: java.net.UnknownHostException
&gt; Response message: Non HTTP response message: staging.nsonline.org.uk
&gt;
&gt;
&gt; 2.
&gt; Response code: Non HTTP response code: java.net.SocketException
&gt; Response message: Non HTTP response message: Too many open files
&gt;
&gt; I have seen similar posts on these exceptions, some suggesting using HTTP
&gt; Request HTTPClient sampler. Some using latest version. Some suggesting
&gt; checking Server Limits. Some suggesting increasing the number of sockets
&gt; for
&gt; jmeter.
&gt;
&gt; - I am already using  HTTP Request HTTPClient sampler.
&gt; - I am having latest version of JMeter.
&gt; - The Server Limits is for supporting thousands of users.
&gt; - I do not know how to increase the number of sockets for jmeter (Can
&gt; anyone
&gt; tell me how can I do that).
&gt;
&gt; I am giving requests to Server via a proxy server.
&gt;
&gt; Regards,
&gt; Harjit Singh
&gt; --
&gt; View this message in context:
&gt; http://old.nabble.com/Loads-of-Non-HTTP-errors-in-performance-test-tp26656794p26656794.html
&gt; Sent from the JMeter - User mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: jmeter usage for form testing</title>
<author><name>Deepak Shetty &lt;shettyd@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c4483c26c0912051217n24adbd6fkba1639e170fa3cd1@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4483c26c0912051217n24adbd6fkba1639e170fa3cd1@mail-gmail-com%3e</id>
<updated>2009-12-05T20:17:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi
its not just the headers its the data/url as well. Some data may be dynamic
i.e. extracted from the previous request and your recorded script may have
invalid values (there were valid for the recording , but not when you replay
e.g. duplicate form submit tokens). Did you use View results tree and render
as html and verify that your pages show correctly?
WebScarab is a java proxy , so its the equivalent of fiddler and should work
on linux
http://www.owasp.org/index.php/Category:OWASP_WebScarab_Project
regards
deepak

On Sat, Dec 5, 2009 at 11:19 AM, Oguz Yarimtepe &lt;comp.ogz@gmail.com&gt; wrote:

&gt;
&gt; I checked the LiveHttpHeaders. As i can see now there is nothing weird at
&gt; the headers when i compare the ones at the Result Table and the ones
&gt; captured by LiveHttpHeaders. Indeed i dont see any errors also when i
&gt; replayed the web2py application.
&gt;
&gt; I am using Linux so is there any software that i can use like Fiddler at my
&gt; Linux environment.
&gt; I am testing the web2py application with its development server. So it is
&gt; running 127.0.0.1:8000. If i deployed it on apache do you think my test
&gt; will be working correctly?
&gt;
&gt; PC: I erased your reply while removing some mails from my email, sorry.
&gt;
&gt;
&gt; &gt;In firefox use LiveHttpHeaders. In IE you can use HTTPHeadersWatch basic.
&gt; &gt;You can use any proxy like Fiddler with either browser
&gt; &gt;Sometimes you can use the response tab in JMeter and use render response
&gt; as
&gt; &gt;HTML. You may be able to use the error message , if present, to detect
&gt; what
&gt; &gt;you are doing wrong
&gt; &gt;regards
&gt; deepak
&gt;
&gt; --
&gt; Oguz Yarimtepe &lt;comp.ogz@gmail.com&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: jmeter usage for form testing</title>
<author><name>Oguz Yarimtepe &lt;comp.ogz@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c20091205211900.c5cb58d3.comp.ogz@gmail.com%3e"/>
<id>urn:uuid:%3c20091205211900-c5cb58d3-comp-ogz@gmail-com%3e</id>
<updated>2009-12-05T19:19:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

I checked the LiveHttpHeaders. As i can see now there is nothing weird at the headers when
i compare the ones at the Result Table and the ones captured by LiveHttpHeaders. Indeed i
dont see any errors also when i replayed the web2py application. 

I am using Linux so is there any software that i can use like Fiddler at my Linux environment.

I am testing the web2py application with its development server. So it is running 127.0.0.1:8000.
If i deployed it on apache do you think my test will be working correctly?

PC: I erased your reply while removing some mails from my email, sorry.


&gt;In firefox use LiveHttpHeaders. In IE you can use HTTPHeadersWatch basic.
&gt;You can use any proxy like Fiddler with either browser
&gt;Sometimes you can use the response tab in JMeter and use render response as
&gt;HTML. You may be able to use the error message , if present, to detect what
&gt;you are doing wrong
&gt;regards
deepak

-- 
Oguz Yarimtepe &lt;comp.ogz@gmail.com&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to declare a variable at thread level and assign it value in one time controller</title>
<author><name>Harry_ &lt;harjitworks@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c26657565.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26657565-post@talk-nabble-com%3e</id>
<updated>2009-12-05T17:35:14Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

I am able to do this as follow:

Define a user parameter in the one time and if controller and set its value
equal to the value read from csv during login. 

Thanks for all the help.

Regards


Harry_ wrote:
&gt; 
&gt; Thank you so much for responding.
&gt; 
&gt; Please see attached jmeter file for the structure of the plan. Please use
&gt; nightly build to open this plan. In  HTTP Request HTTPClient request
&gt; sampler, you will find a filed for Source IP address. I am using that. 
&gt; 
&gt;  http://old.nabble.com/file/p26656903/LoggedOnUser.jmx LoggedOnUser.jmx 
&gt; 
&gt; In each thread the user Logs in first in One Time controller. And reads
&gt; the value for Source IP from CSV file. Now I want this IP to be used for
&gt; URL requests made by this user for rest of the thread loop cycles. (URL's
&gt; are also read from file). 
&gt; 
&gt; Now I want I store a value of Source IP Address used in a variable when
&gt; user login In and use that variable in the Source IP for URL requests made
&gt; for that user. 
&gt; 
&gt; If a user logs out for some reason, I check for response code 403 and logs
&gt; the user back in in If controller. I will reset the value to new Source IP
&gt; in the variable again.
&gt; 
&gt; But I do not know how to declare and change the value of this variable. Is
&gt; someone can add a sample plan to set and change variable value, then I can
&gt; move on from there.
&gt; 
&gt; Any help would be priceless.
&gt; 
&gt; Thanks and Regards
&gt; 
&gt; 
&gt; mwolfe38 wrote:
&gt;&gt; 
&gt;&gt; Is each thready going to test a potentially different IP address? If not
&gt;&gt; then you could put it in a property.. 
&gt;&gt; Can you show like a tree view of what your test plan looks like so we can
&gt;&gt; get a better Idea what the problem is..
&gt;&gt; Just write it like this:
&gt;&gt; -TestPlan
&gt;&gt;  - Thread Group
&gt;&gt;   - Controller
&gt;&gt;    - Sample
&gt;&gt;   - Controller
&gt;&gt;    - Sample
&gt;&gt;  - Thread Group
&gt;&gt; ....
&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt;&gt; Harry_ wrote:
&gt;&gt;&gt; 
&gt;&gt;&gt; Hi,
&gt;&gt;&gt; 
&gt;&gt;&gt; I have made a test plan in which I login in one time controller  from
&gt;&gt;&gt; one IP which is read from csv file (on a machine having multiple IP's)
&gt;&gt;&gt; and then I have to fire requests to server from that IP. 
&gt;&gt;&gt; 
&gt;&gt;&gt; But for this I have to store the value of IP in a variable in one time
&gt;&gt;&gt; controller and use it outside at the thread level where I have other
&gt;&gt;&gt; requests.
&gt;&gt;&gt; 
&gt;&gt;&gt; So how do I  declare a variable at thread level and assign it value in
&gt;&gt;&gt; one time controller.
&gt;&gt;&gt; 
&gt;&gt;&gt; And use it at thread level...
&gt;&gt;&gt; 
&gt;&gt;&gt; Regards
&gt;&gt;&gt; 
&gt;&gt; 
&gt;&gt; 
&gt; 
&gt; 

-- 
View this message in context: http://old.nabble.com/How-to-declare-a-variable-at-thread-level-and-assign-it-value-in-one-time-controller-tp26635872p26657565.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to declare a variable at thread level and assign it value in one time controller</title>
<author><name>Harry_ &lt;harjitworks@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c26656903.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26656903-post@talk-nabble-com%3e</id>
<updated>2009-12-05T16:14:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Thank you so much for responding.

Please see attached jmeter file for the structure of the plan. Please use
nightly build to open this plan. In  HTTP Request HTTPClient request
sampler, you will find a filed for Source IP address. I am using that. 

http://old.nabble.com/file/p26656903/LoggedOnUser.jmx LoggedOnUser.jmx 

In each thread the user Logs in first in One Time controller. And reads the
value for Source IP from CSV file. Now I want this IP to be used for URL
requests made by this user for rest of the thread loop cycles. (URL's are
also read from file). 

Now I want I store a value of Source IP Address used in a variable when user
login In and use that variable in the Source IP for URL requests made for
that user. 

If a user logs out for some reason, I check for response code 403 and logs
the user back in in If controller. I will reset the value to new Source IP
in the variable again.

But I do not know how to declare and change the value of this variable. 

Any help would be priceless.

Thanks and Regards


mwolfe38 wrote:
&gt; 
&gt; Is each thready going to test a potentially different IP address? If not
&gt; then you could put it in a property.. 
&gt; Can you show like a tree view of what your test plan looks like so we can
&gt; get a better Idea what the problem is..
&gt; Just write it like this:
&gt; -TestPlan
&gt;  - Thread Group
&gt;   - Controller
&gt;    - Sample
&gt;   - Controller
&gt;    - Sample
&gt;  - Thread Group
&gt; ....
&gt; 
&gt; 
&gt; 
&gt; Harry_ wrote:
&gt;&gt; 
&gt;&gt; Hi,
&gt;&gt; 
&gt;&gt; I have made a test plan in which I login in one time controller  from one
&gt;&gt; IP which is read from csv file (on a machine having multiple IP's) and
&gt;&gt; then I have to fire requests to server from that IP. 
&gt;&gt; 
&gt;&gt; But for this I have to store the value of IP in a variable in one time
&gt;&gt; controller and use it outside at the thread level where I have other
&gt;&gt; requests.
&gt;&gt; 
&gt;&gt; So how do I  declare a variable at thread level and assign it value in
&gt;&gt; one time controller.
&gt;&gt; 
&gt;&gt; And use it at thread level...
&gt;&gt; 
&gt;&gt; Regards
&gt;&gt; 
&gt; 
&gt; 

-- 
View this message in context: http://old.nabble.com/How-to-declare-a-variable-at-thread-level-and-assign-it-value-in-one-time-controller-tp26635872p26656903.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Loads of Non HTTP errors in performance test</title>
<author><name>Harry_ &lt;harjitworks@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c26656794.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26656794-post@talk-nabble-com%3e</id>
<updated>2009-12-05T16:00:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

I conducted a performance test with 400 users (2 mins delay in each
request). 

I am getting the following Non HTTP errors for many requests:

1. 
Response code: Non HTTP response code: java.net.UnknownHostException
Response message: Non HTTP response message: staging.online.org.uk


2. 
Response code: Non HTTP response code: java.net.SocketException
Response message: Non HTTP response message: Too many open files

I have seen similar posts on these exceptions, some suggesting using HTTP
Request HTTPClient sampler. Some using latest version. Some suggesting
checking Server Limits. Some suggesting increasing the number of sockets for
jmeter.

- I am already using  HTTP Request HTTPClient sampler. 
- I am having latest version of JMeter. 
- The Server Limits is for supporting thousands of users.
- I do not know how to increase the number of sockets for jmeter (Can anyone
tell me how can I do that).

I am giving requests to Server via a proxy server.

Regards,
Harjit Singh
-- 
View this message in context: http://old.nabble.com/Loads-of-Non-HTTP-errors-in-performance-test-tp26656794p26656794.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: using JMeter with PeopleSoft</title>
<author><name>Viswanathan Arunachalam &lt;v.arunachalam@auckland.ac.nz&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3cE5EFE3CDB6972D4AA7A1AB32C3654762187D0ABA@UXCHANGE7-1.UoA.auckland.ac.nz%3e"/>
<id>urn:uuid:%3cE5EFE3CDB6972D4AA7A1AB32C3654762187D0ABA@UXCHANGE7-1-UoA-auckland-ac-nz%3e</id>
<updated>2009-12-05T00:20:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Yes definitely you can use Jmeter to test any HTTP based application and in case you want to
test HTTPS application then there is a very tricky workaround which I identified for testing
our PeopleSoft HR apps.



You can record the test script using an open source tool badboy (http://www.badboy.com.au/download/send?svId=88)
and export them as jmeter script.



This is really a cool way of testing HTTPS based apps &amp; trust me it a time saving.



I would also recommend you to try these Firefox add-ons for testing browser/OS compatibility
&amp; security



1.     Tamper Data 10.1.0&lt;https://addons.mozilla.org/en-US/firefox/addon/966&gt;
Tamper Data allows you to view and modify HTTP/HTTPS headers and post parameters. You can
use it to test security of your web applications by modifying POST data and analyzing how
your application will respond to those changes.



2.     YSlow 2.0.0b3&lt;https://addons.mozilla.org/en-US/firefox/addon/5369&gt;
YSlow analyzes web pages and gives you information on why they are slow based on the Yahoo's
rule for high performance websites.



3.     Add N Edit Cookies&lt;https://addons.mozilla.org/en-US/firefox/addon/573&gt;
There are very few applications which does not use cookies these days. This little add-on
allows you to add / edit cookies and test how your application will respond to changes in
the cookies setting.



4.      LinkChecker 0.6.3&lt;https://addons.mozilla.org/en-US/firefox/addon/532&gt;
This is a very simple tool to check if there are any broken links on the web page. It highlights
all the links in various colours to show if they are broken or not.



5.      MeasureIt 0.3.8&lt;https://addons.mozilla.org/en-US/firefox/addon/539&gt;
If you have a design team which is very particular about the size of every element, than this
little add-on can be used to test height and width of all the elements. It draws a ruler around
any element and shows height / width of the element.



6.     Firebug&lt;https://addons.mozilla.org/en-US/firefox/addon/1843&gt;
If you are working in web application domain, I am sure you are already familiar with this
add-on. Firebug, along with the development toolbar are absolute minimum your Firefox should
have if you are working in web application testing domain.



7.      Regular Expression Tester&lt;https://addons.mozilla.org/en-US/firefox/addon/2077&gt;
This small add-on allows you to test your regular expression. The tool includes options like
case sensitive, global and multiline search, colour highlighting of found expressions and
of special characters, a replacement function incl. back references, auto-closing of brackets,
testing while writing and saving and managing of expressions.



8.      HttpFox&lt;https://addons.mozilla.org/en-US/firefox/addon/6647&gt;
This add-on is an amazing tool if you want to dig deeper into http request / response and
analyze all the traffic. Using this add-on, you can get information about request / response
header, sent and received cookies, Querystring parameters, POST parameters and Response body.



9.      HackBar 1.3.2&lt;https://addons.mozilla.org/en-US/firefox/addon/3899&gt;
I haven't explored this myself, but from description it looks like it should be useful for
SQL injections, XSS holes and site security.



10.  Web Developer Toolbar&lt;https://addons.mozilla.org/en-US/firefox/addon/60&gt;
As mentioned earlier, this one along with the firebug are must have extensions if you are
working in web application domain. These extensions are complete toolset and probably require
separate articles to explain their capabilities.



Regards,
Viswanathan Arunachalam
Applications QA Analyst
Information Technology Services (ITS)

1883-2008: Celebrating 125 Years

"Om Sakti Amman Vinayaka Muruga Sastha Tunai"
P Please consider the environment before printing this email.





-----Original Message-----
From: Subhasini [mailto:subhasini.m@tcs.com]
Sent: Wednesday, December 02, 2009 8:47 PM
To: jmeter-user@jakarta.apache.org
Subject: using JMeter with peoplesoft





Hi, Im new to JMeter, I just wanted to know whether JMeter can be used for

testing peoplesoft CRM applications. If so how to use it.

--

View this message in context: http://old.nabble.com/using-JMeter-with-peoplesoft-tp26604793p26604793.html

Sent from the JMeter - User mailing list archive at Nabble.com.





---------------------------------------------------------------------

To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org

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




</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Running headless Jmeter</title>
<author><name>sebb &lt;sebbaz@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c25aac9fc0912041421l8464374i9e06adbeb8f5bdc1@mail.gmail.com%3e"/>
<id>urn:uuid:%3c25aac9fc0912041421l8464374i9e06adbeb8f5bdc1@mail-gmail-com%3e</id>
<updated>2009-12-04T22:21:06Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
For example:

jmeter -n -t test.jmx -l test.jtl

2009/12/4 LoD MoD &lt;lodmod.dod@gmail.com&gt;:
&gt; Can you post your command?
&gt;
&gt; On Thu, Dec 3, 2009 at 4:13 PM, sebb &lt;sebbaz@gmail.com&gt; wrote:
&gt;&gt; On 03/12/2009, LoD MoD &lt;lodmod.dod@gmail.com&gt; wrote:
&gt;&gt;&gt; My generate summary results listener doesn't seem to work in command line mode.
&gt;&gt;
&gt;&gt; Are you sure? It works for me.
&gt;&gt;
&gt;&gt;&gt;  Am I using the right listener in my test plan?
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; Probably.
&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;  On Tue, Dec 1, 2009 at 4:41 PM, LoD MoD &lt;lodmod.dod@gmail.com&gt; wrote:
&gt;&gt;&gt;  &gt; You rock. Thank you.
&gt;&gt;&gt;  &gt;
&gt;&gt;&gt;  &gt; On Tue, Dec 1, 2009 at 4:31 PM, sebb &lt;sebbaz@gmail.com&gt; wrote:
&gt;&gt;&gt;  &gt;&gt; Also:
&gt;&gt;&gt;  &gt;&gt;
&gt;&gt;&gt;  &gt;&gt; http://jakarta.apache.org/jmeter/usermanual/get-started.html#non_gui
&gt;&gt;&gt;  &gt;&gt;
&gt;&gt;&gt;  &gt;&gt; On 02/12/2009, sebb &lt;sebbaz@gmail.com&gt; wrote:
&gt;&gt;&gt;  &gt;&gt;&gt; http://jakarta.apache.org/jmeter/usermanual/get-started.html#server
&gt;&gt;&gt;  &gt;&gt;&gt;
&gt;&gt;&gt;  &gt;&gt;&gt;
&gt;&gt;&gt;  &gt;&gt;&gt;  On 02/12/2009, LoD MoD &lt;lodmod.dod@gmail.com&gt; wrote:
&gt;&gt;&gt;  &gt;&gt;&gt;  &gt; Is there a way to run Jmeter from a server without an X-server?
&gt;&gt;&gt;  &gt;&gt;&gt;  &gt;
&gt;&gt;&gt;  &gt;&gt;&gt;  &gt;  ---------------------------------------------------------------------
&gt;&gt;&gt;  &gt;&gt;&gt;  &gt;  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt;&gt;  &gt;&gt;&gt;  &gt;  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;&gt;&gt;  &gt;&gt;&gt;  &gt;
&gt;&gt;&gt;  &gt;&gt;&gt;  &gt;
&gt;&gt;&gt;  &gt;&gt;&gt;
&gt;&gt;&gt;  &gt;&gt;
&gt;&gt;&gt;  &gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;  &gt;&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt;&gt;  &gt;&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;&gt;&gt;  &gt;&gt;
&gt;&gt;&gt;  &gt;&gt;
&gt;&gt;&gt;  &gt;
&gt;&gt;&gt;
&gt;&gt;&gt;  ---------------------------------------------------------------------
&gt;&gt;&gt;  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt;&gt;  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;&gt;
&gt;&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Issue with remote server POSTing</title>
<author><name>&quot;Chuck D'Antonio&quot; &lt;chuck@acquia.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c4a8449190912041307g7410e423xfc66767c573b9920@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4a8449190912041307g7410e423xfc66767c573b9920@mail-gmail-com%3e</id>
<updated>2009-12-04T21:07:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I ended up trying to troubleshoot further by manually running the
tests on each host, and that lead to an exception on the log.  The
error turned out to be with parsing the JMX file, and updated to a
newer JVM resolved it.

Chuck

On Fri, Dec 4, 2009 at 2:53 PM, Chuck D'Antonio &lt;chuck@acquia.com&gt; wrote:
&gt; Hi,
&gt;
&gt; I'm new to the list since for the most part jMeter has "just worked"
&gt; when I've used it in the past.  I'm running a set of remote tests and
&gt; having issues with all of the POST requests in my plan.  The plan runs
&gt; locally in the GUI, but when I attempt to run it remotely the body of
&gt; the POST request is not sent (I've validated this through packet
&gt; capture).  I'm hoping this is a something simple that I'm missing and
&gt; someone will be able to help me out.
&gt;
&gt; Thanks,
&gt; Chuck D'Antonio
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Running headless Jmeter</title>
<author><name>LoD MoD &lt;lodmod.dod@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3ce8075cdd0912041249v47a8cc99h32f2b4b95dc2f9be@mail.gmail.com%3e"/>
<id>urn:uuid:%3ce8075cdd0912041249v47a8cc99h32f2b4b95dc2f9be@mail-gmail-com%3e</id>
<updated>2009-12-04T20:49:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Can you post your command?

On Thu, Dec 3, 2009 at 4:13 PM, sebb &lt;sebbaz@gmail.com&gt; wrote:
&gt; On 03/12/2009, LoD MoD &lt;lodmod.dod@gmail.com&gt; wrote:
&gt;&gt; My generate summary results listener doesn't seem to work in command line mode.
&gt;
&gt; Are you sure? It works for me.
&gt;
&gt;&gt;  Am I using the right listener in my test plan?
&gt;&gt;
&gt;
&gt; Probably.
&gt;
&gt;&gt;
&gt;&gt;  On Tue, Dec 1, 2009 at 4:41 PM, LoD MoD &lt;lodmod.dod@gmail.com&gt; wrote:
&gt;&gt;  &gt; You rock. Thank you.
&gt;&gt;  &gt;
&gt;&gt;  &gt; On Tue, Dec 1, 2009 at 4:31 PM, sebb &lt;sebbaz@gmail.com&gt; wrote:
&gt;&gt;  &gt;&gt; Also:
&gt;&gt;  &gt;&gt;
&gt;&gt;  &gt;&gt; http://jakarta.apache.org/jmeter/usermanual/get-started.html#non_gui
&gt;&gt;  &gt;&gt;
&gt;&gt;  &gt;&gt; On 02/12/2009, sebb &lt;sebbaz@gmail.com&gt; wrote:
&gt;&gt;  &gt;&gt;&gt; http://jakarta.apache.org/jmeter/usermanual/get-started.html#server
&gt;&gt;  &gt;&gt;&gt;
&gt;&gt;  &gt;&gt;&gt;
&gt;&gt;  &gt;&gt;&gt;  On 02/12/2009, LoD MoD &lt;lodmod.dod@gmail.com&gt; wrote:
&gt;&gt;  &gt;&gt;&gt;  &gt; Is there a way to run Jmeter from a server without an X-server?
&gt;&gt;  &gt;&gt;&gt;  &gt;
&gt;&gt;  &gt;&gt;&gt;  &gt;  ---------------------------------------------------------------------
&gt;&gt;  &gt;&gt;&gt;  &gt;  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt;  &gt;&gt;&gt;  &gt;  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;&gt;  &gt;&gt;&gt;  &gt;
&gt;&gt;  &gt;&gt;&gt;  &gt;
&gt;&gt;  &gt;&gt;&gt;
&gt;&gt;  &gt;&gt;
&gt;&gt;  &gt;&gt; ---------------------------------------------------------------------
&gt;&gt;  &gt;&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt;  &gt;&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;&gt;  &gt;&gt;
&gt;&gt;  &gt;&gt;
&gt;&gt;  &gt;
&gt;&gt;
&gt;&gt;  ---------------------------------------------------------------------
&gt;&gt;  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt;  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;&gt;
&gt;&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Issue with remote server POSTing</title>
<author><name>&quot;Chuck D'Antonio&quot; &lt;chuck@acquia.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c4a8449190912041208g73066f7dt57c2d55e8d0d34bf@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4a8449190912041208g73066f7dt57c2d55e8d0d34bf@mail-gmail-com%3e</id>
<updated>2009-12-04T20:08:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I don't know if it helps anyone to further understand the scenario,
but the requests were originally recorded.  The plan has been moved to
a remote system, though, and does run their correctly -- so I don't
think it's a missing file.

Chuck

On Fri, Dec 4, 2009 at 3:05 PM, Chuck D'Antonio &lt;chuck@acquia.com&gt; wrote:
&gt; Thanks Adrian.
&gt;
&gt; Yes, remote testing is working for all GETs.  The post data is right
&gt; in the test plan.  The "Content-Length" header is getting set
&gt; correctly, so it seems to me that the remote servers have the data in
&gt; hand to send.
&gt;
&gt; Chuck
&gt;
&gt;
&gt; On Fri, Dec 4, 2009 at 3:02 PM, Fitzpatrick, Adrian &lt;adrianf@revenue.ie&gt; wrote:
&gt;&gt;
&gt;&gt; Have you ever gotten remote testing to work?
&gt;&gt;
&gt;&gt; If not, then are you sending your post body data from a CSV file or similar?
&gt;&gt;
&gt;&gt; If so you will need (if you havent already) to put the CSV files on the
&gt;&gt; remote machines as well.
&gt;&gt;
&gt;&gt; Hope thats some help
&gt;&gt;
&gt;&gt; -----Original Message-----
&gt;&gt; From: Chuck D'Antonio [mailto:chuck@acquia.com]
&gt;&gt; Sent: 04 December 2009 19:54
&gt;&gt; To: jmeter-user
&gt;&gt; Subject: Issue with remote server POSTing
&gt;&gt;
&gt;&gt;
&gt;&gt; *************************************
&gt;&gt;
&gt;&gt; This e-mail has been received by the Revenue Internet e-mail service. (IP)
&gt;&gt;
&gt;&gt; *************************************
&gt;&gt;
&gt;&gt; Hi,
&gt;&gt;
&gt;&gt; I'm new to the list since for the most part jMeter has "just worked"
&gt;&gt; when I've used it in the past.  I'm running a set of remote tests and
&gt;&gt; having issues with all of the POST requests in my plan.  The plan runs
&gt;&gt; locally in the GUI, but when I attempt to run it remotely the body of
&gt;&gt; the POST request is not sent (I've validated this through packet
&gt;&gt; capture).  I'm hoping this is a something simple that I'm missing and
&gt;&gt; someone will be able to help me out.
&gt;&gt;
&gt;&gt; Thanks,
&gt;&gt; Chuck D'Antonio
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; *********************************************************************
&gt;&gt;
&gt;&gt; Please note that Revenue cannot guarantee that any personal
&gt;&gt; and sensitive data, sent in plain text via standard email,
&gt;&gt; is fully secure. Customers who choose to use this channel
&gt;&gt; are deemed to have accepted any risk involved. The alternative
&gt;&gt; communication methods offered by Revenue include standard post
&gt;&gt; and the option to register for our (encrypted) secure email service.
&gt;&gt; http://www.revenue.ie/en/practitioner/secure-email.html
&gt;&gt;
&gt;&gt; *********************************************************************
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;&gt;
&gt;&gt;
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Issue with remote server POSTing</title>
<author><name>&quot;Chuck D'Antonio&quot; &lt;chuck@acquia.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c4a8449190912041205v633bb28ao52abbfa6c04abc97@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4a8449190912041205v633bb28ao52abbfa6c04abc97@mail-gmail-com%3e</id>
<updated>2009-12-04T20:05:59Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thanks Adrian.

Yes, remote testing is working for all GETs.  The post data is right
in the test plan.  The "Content-Length" header is getting set
correctly, so it seems to me that the remote servers have the data in
hand to send.

Chuck


On Fri, Dec 4, 2009 at 3:02 PM, Fitzpatrick, Adrian &lt;adrianf@revenue.ie&gt; wrote:
&gt;
&gt; Have you ever gotten remote testing to work?
&gt;
&gt; If not, then are you sending your post body data from a CSV file or similar?
&gt;
&gt; If so you will need (if you havent already) to put the CSV files on the
&gt; remote machines as well.
&gt;
&gt; Hope thats some help
&gt;
&gt; -----Original Message-----
&gt; From: Chuck D'Antonio [mailto:chuck@acquia.com]
&gt; Sent: 04 December 2009 19:54
&gt; To: jmeter-user
&gt; Subject: Issue with remote server POSTing
&gt;
&gt;
&gt; *************************************
&gt;
&gt; This e-mail has been received by the Revenue Internet e-mail service. (IP)
&gt;
&gt; *************************************
&gt;
&gt; Hi,
&gt;
&gt; I'm new to the list since for the most part jMeter has "just worked"
&gt; when I've used it in the past.  I'm running a set of remote tests and
&gt; having issues with all of the POST requests in my plan.  The plan runs
&gt; locally in the GUI, but when I attempt to run it remotely the body of
&gt; the POST request is not sent (I've validated this through packet
&gt; capture).  I'm hoping this is a something simple that I'm missing and
&gt; someone will be able to help me out.
&gt;
&gt; Thanks,
&gt; Chuck D'Antonio
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;
&gt;
&gt;
&gt; *********************************************************************
&gt;
&gt; Please note that Revenue cannot guarantee that any personal
&gt; and sensitive data, sent in plain text via standard email,
&gt; is fully secure. Customers who choose to use this channel
&gt; are deemed to have accepted any risk involved. The alternative
&gt; communication methods offered by Revenue include standard post
&gt; and the option to register for our (encrypted) secure email service.
&gt; http://www.revenue.ie/en/practitioner/secure-email.html
&gt;
&gt; *********************************************************************
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Issue with remote server POSTing</title>
<author><name>&quot;Fitzpatrick, Adrian&quot; &lt;adrianf@revenue.ie&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c2AB2B3C160BFC14CB0D94D437513C3BA01951218@revmail02.revenuedomain.ie%3e"/>
<id>urn:uuid:%3c2AB2B3C160BFC14CB0D94D437513C3BA01951218@revmail02-revenuedomain-ie%3e</id>
<updated>2009-12-04T20:02:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Have you ever gotten remote testing to work?

If not, then are you sending your post body data from a CSV file or similar? 

If so you will need (if you havent already) to put the CSV files on the
remote machines as well.

Hope thats some help

-----Original Message-----
From: Chuck D'Antonio [mailto:chuck@acquia.com]
Sent: 04 December 2009 19:54
To: jmeter-user
Subject: Issue with remote server POSTing


*************************************

This e-mail has been received by the Revenue Internet e-mail service. (IP)

*************************************

Hi,

I'm new to the list since for the most part jMeter has "just worked"
when I've used it in the past.  I'm running a set of remote tests and
having issues with all of the POST requests in my plan.  The plan runs
locally in the GUI, but when I attempt to run it remotely the body of
the POST request is not sent (I've validated this through packet
capture).  I'm hoping this is a something simple that I'm missing and
someone will be able to help me out.

Thanks,
Chuck D'Antonio

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



*********************************************************************

Please note that Revenue cannot guarantee that any personal 
and sensitive data, sent in plain text via standard email, 
is fully secure. Customers who choose to use this channel 
are deemed to have accepted any risk involved. The alternative 
communication methods offered by Revenue include standard post 
and the option to register for our (encrypted) secure email service.
http://www.revenue.ie/en/practitioner/secure-email.html

*********************************************************************

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Issue with remote server POSTing</title>
<author><name>&quot;Chuck D'Antonio&quot; &lt;chuck@acquia.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c4a8449190912041153o671ce4apb52fc71d2803dc10@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4a8449190912041153o671ce4apb52fc71d2803dc10@mail-gmail-com%3e</id>
<updated>2009-12-04T19:53:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

I'm new to the list since for the most part jMeter has "just worked"
when I've used it in the past.  I'm running a set of remote tests and
having issues with all of the POST requests in my plan.  The plan runs
locally in the GUI, but when I attempt to run it remotely the body of
the POST request is not sent (I've validated this through packet
capture).  I'm hoping this is a something simple that I'm missing and
someone will be able to help me out.

Thanks,
Chuck D'Antonio

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: jmeter usage for form testing</title>
<author><name>Deepak Shetty &lt;shettyd@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c4483c26c0912041134y13b4361dn263341c493ab987@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4483c26c0912041134y13b4361dn263341c493ab987@mail-gmail-com%3e</id>
<updated>2009-12-04T19:34:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
In firefox use LiveHttpHeaders. In IE you can use HTTPHeadersWatch basic.
You can use any proxy like Fiddler with either browser
Sometimes you can use the response tab in JMeter and use render response as
HTML. You may be able to use the error message , if present, to detect what
you are doing wrong
regards
deepak

On Fri, Dec 4, 2009 at 11:28 AM, Oguz Yarimtepe &lt;comp.ogz@gmail.com&gt; wrote:

&gt; On Fri, Dec 4, 2009 at 8:55 PM, Deepak Shetty &lt;shettyd@gmail.com&gt; wrote:
&gt; &gt; If it works from the browser the problem isnt your application. Your
&gt; Jmeter
&gt; &gt; isnt sending exactly the same thing as your browser (it might be a
&gt; session
&gt; &gt; id or a cookie which is dynamic, did you add a cookie manager?). You need
&gt; to
&gt;
&gt; I am using cookie manager.
&gt;
&gt; &gt; compare each request from the browser with the corresponding request from
&gt; &gt; jmeter and identify differences
&gt;
&gt; How can i check the the browser requests? I can see that jmeter shows
&gt; the requests and responses but i am not sure the browser part.
&gt;
&gt; &gt; regards
&gt; &gt; deepak
&gt; &gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: jmeter usage for form testing</title>
<author><name>Oguz Yarimtepe &lt;comp.ogz@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c20831c740912041128x61d4865cm43797ec091577c92@mail.gmail.com%3e"/>
<id>urn:uuid:%3c20831c740912041128x61d4865cm43797ec091577c92@mail-gmail-com%3e</id>
<updated>2009-12-04T19:28:09Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, Dec 4, 2009 at 8:55 PM, Deepak Shetty &lt;shettyd@gmail.com&gt; wrote:
&gt; If it works from the browser the problem isnt your application. Your Jmeter
&gt; isnt sending exactly the same thing as your browser (it might be a session
&gt; id or a cookie which is dynamic, did you add a cookie manager?). You need to

I am using cookie manager.

&gt; compare each request from the browser with the corresponding request from
&gt; jmeter and identify differences

How can i check the the browser requests? I can see that jmeter shows
the requests and responses but i am not sure the browser part.

&gt; regards
&gt; deepak
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: jmeter usage for form testing</title>
<author><name>Deepak Shetty &lt;shettyd@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c4483c26c0912041055q452e65f0ya5bee093a1b016d9@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4483c26c0912041055q452e65f0ya5bee093a1b016d9@mail-gmail-com%3e</id>
<updated>2009-12-04T18:55:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
If it works from the browser the problem isnt your application. Your Jmeter
isnt sending exactly the same thing as your browser (it might be a session
id or a cookie which is dynamic, did you add a cookie manager?). You need to
compare each request from the browser with the corresponding request from
jmeter and identify differences
regards
deepak

On Fri, Dec 4, 2009 at 10:48 AM, Oguz Yarimtepe &lt;comp.ogz@gmail.com&gt; wrote:

&gt; On Fri, 4 Dec 2009 09:04:11 -0800
&gt; Deepak Shetty &lt;shettyd@gmail.com&gt; wrote:
&gt;
&gt; &gt; All problems of this class answered by
&gt; &gt;     http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour
&gt; &gt; essentially Compare browser(livehttpheaders, fiddler) to Jmeter(view
&gt; results
&gt;
&gt; After reading the wiki page i checked my code again and realised that
&gt; nothing is wrond at the PHP application part. When i run the test for PHP
&gt; application, i can see that inserts and gets data as expected.
&gt;
&gt; But at my web2py application is not behaving as i expected. I recorded
&gt; again with the Http Proxy Server, and replayed it as i had done for PHP
&gt; application. Indeed it replays but POST values are not inserted at the db.
&gt; Can it be because web2py is using db api at the background?
&gt;
&gt; &gt; tree listener) , add assertions to your tests to see where it fails...
&gt; &gt;
&gt; &gt; regards
&gt; &gt; deepak
&gt;
&gt;
&gt; --
&gt; Oguz Yarimtepe &lt;comp.ogz@gmail.com&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: jmeter usage for form testing</title>
<author><name>Oguz Yarimtepe &lt;comp.ogz@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c20091204204820.d99b5877.comp.ogz@gmail.com%3e"/>
<id>urn:uuid:%3c20091204204820-d99b5877-comp-ogz@gmail-com%3e</id>
<updated>2009-12-04T18:48:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Fri, 4 Dec 2009 09:04:11 -0800
Deepak Shetty &lt;shettyd@gmail.com&gt; wrote:

&gt; All problems of this class answered by
&gt;     http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour
&gt; essentially Compare browser(livehttpheaders, fiddler) to Jmeter(view results

After reading the wiki page i checked my code again and realised that nothing is wrond at
the PHP application part. When i run the test for PHP application, i can see that inserts
and gets data as expected.

But at my web2py application is not behaving as i expected. I recorded again with the Http
Proxy Server, and replayed it as i had done for PHP application. Indeed it replays but POST
values are not inserted at the db. Can it be because web2py is using db api at the background?

&gt; tree listener) , add assertions to your tests to see where it fails...
&gt; 
&gt; regards
&gt; deepak


-- 
Oguz Yarimtepe &lt;comp.ogz@gmail.com&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to declare a variable at thread level and assign it value in one time controller</title>
<author><name>mwolfe38 &lt;mwolfe38@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c26636157.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26636157-post@talk-nabble-com%3e</id>
<updated>2009-12-04T17:29:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Is each thready going to test a potentially different IP address? If not then
you could put it in a property.. 
Can you show like a tree view of what your test plan looks like so we can
get a better Idea what the problem is..
Just write it like this:
-TestPlan
 - Thread Group
  - Controller
   - Sample
  - Controller
   - Sample
 - Thread Group
....



Harry_ wrote:
&gt; 
&gt; Hi,
&gt; 
&gt; I have made a test plan in which I login in one time controller  from one
&gt; IP which is read from csv file (on a machine having multiple IP's) and
&gt; then I have to fire requests to server from that IP. 
&gt; 
&gt; But for this I have to store the value of IP in a variable in one time
&gt; controller and use it outside at the thread level where I have other
&gt; requests.
&gt; 
&gt; So how do I  declare a variable at thread level and assign it value in one
&gt; time controller.
&gt; 
&gt; And use it at thread level...
&gt; 
&gt; Regards
&gt; 

-- 
View this message in context: http://old.nabble.com/How-to-declare-a-variable-at-thread-level-and-assign-it-value-in-one-time-controller-tp26635872p26636157.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to use different values from CSV file in a loop</title>
<author><name>Deepak Shetty &lt;shettyd@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c4483c26c0912040907w3b8a2464gaf52dda74741bb4@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4483c26c0912040907w3b8a2464gaf52dda74741bb4@mail-gmail-com%3e</id>
<updated>2009-12-04T17:07:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
thread group
+while controller
++Request ${url}
++CSV Data set
Will cause a new value to be read. what is not working? Various options on
the CSV data set control whether the row is shared across threads , what to
do when all rows are read etc.
regards
deepak


On Fri, Dec 4, 2009 at 6:03 AM, Harry_ &lt;harjitworks@gmail.com&gt; wrote:

&gt;
&gt; Hi,
&gt;
&gt; I want to use loop for iterating over a set of request in a loop. How can
&gt; we
&gt; achieve this.
&gt;
&gt; In a loop the same request is picked for all the loop cycles. Is there any
&gt; way of doing it. (Like forcing CSV file to read next value.)
&gt;
&gt; This is required because I want to login to server once and then read the
&gt; requests from csv in a loop for that user using that session and then
&gt; logout. Any idea how to do this.
&gt;
&gt; Thanks and Regards
&gt; --
&gt; View this message in context:
&gt; http://old.nabble.com/How-to-use-different-values-from-CSV-file-in-a-loop-tp26635893p26635893.html
&gt; Sent from the JMeter - User mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: kmeter usage for form testing</title>
<author><name>Deepak Shetty &lt;shettyd@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c4483c26c0912040904i48118d5fucd45ed039952ff1b@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4483c26c0912040904i48118d5fucd45ed039952ff1b@mail-gmail-com%3e</id>
<updated>2009-12-04T17:04:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
All problems of this class answered by
    http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour
essentially Compare browser(livehttpheaders, fiddler) to Jmeter(view results
tree listener) , add assertions to your tests to see where it fails...

regards
deepak

On Fri, Dec 4, 2009 at 6:25 AM, Oguz Yarimtepe &lt;comp.ogz@gmail.com&gt; wrote:

&gt; I was trying to test my simple PHP application. It is composed of two
&gt; pages. One is listing the image names. When the name is clicked a comment
&gt; page is being opened. By writing the comment and submiting, it is possible
&gt; to see all comments at the same page.
&gt;
&gt; I followed the steps here to create a Threaded Group and Proxy Server to
&gt; record my actions:
&gt; http://one-size-doesnt-fit-all.blogspot.com/2009/06/stress-load-testing-web-applications.html
&gt;
&gt; I first open the list page and clicked on one of the image names and added
&gt; a comment. I can see that the HTTP requests are recorded. I could see the
&gt; GET and POST values also. When i run the action again and see the results at
&gt; a listener, i thought what ever i done is repeated so i checked the mysql
&gt; database i was using to keep my comments. I didn't see the same record
&gt; again.
&gt;
&gt; So i am not sure whether i managed to create the test for my PHP
&gt; application in the right way. What should i do to make my POST actions take
&gt; effect also at the database part?
&gt;
&gt; I was trying to compare the performance of two languages. So i wrote the
&gt; same application with PHP and the framework i wanna compare.
&gt;
&gt; --
&gt; Oguz Yarimtepe &lt;comp.ogz@gmail.com&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to generetae reports using ant from multiple files</title>
<author><name>Deepak Shetty &lt;shettyd@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c4483c26c0912040901g3fe490c1uf12dfa2d137c2f9c@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4483c26c0912040901g3fe490c1uf12dfa2d137c2f9c@mail-gmail-com%3e</id>
<updated>2009-12-04T17:01:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
either make a combined XML file (wrapped with a new root element) and make
corresponding changes to the stylesheet or modifyt the XSLT to use the XSLT
document function to load multiple documents
or use CSV as your output format and concatenate all files and then process
as you wish

regards
deepak

On Fri, Dec 4, 2009 at 8:08 AM, Harry_ &lt;harjitworks@gmail.com&gt; wrote:

&gt;
&gt; Hi,
&gt;
&gt; I want to generate reports from multiple result files of jmeter.
&gt;
&gt; For one file I do it using the following:
&gt;    &lt;target name="generate-reports"&gt;
&gt;        &lt;echo message="Generating Reports..."/&gt;
&gt;
&gt;        &lt;xslt in="${results}/filenameX.jtl"
&gt;         out="${results}/jmeter-results-report_21.html"
&gt;         style="${jmeter.dir}/extras/jmeter-results-report_21.xsl"/&gt;
&gt;    &lt;/target&gt;
&gt;
&gt; But as i need to merge results of multiple output files results. How should
&gt; I do it?
&gt;
&gt; Thanks and Regards
&gt; --
&gt; View this message in context:
&gt; http://old.nabble.com/How-to-generetae-reports-using-ant-from-multiple-files-tp26635936p26635936.html
&gt; Sent from the JMeter - User mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to declare a variable at thread level and assign it value in	one time controller</title>
<author><name>Deepak Shetty &lt;shettyd@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c4483c26c0912040852u65ffdc72k53124e5510bc2175@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4483c26c0912040852u65ffdc72k53124e5510bc2175@mail-gmail-com%3e</id>
<updated>2009-12-04T16:52:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi
you arent clear in what you want.
Any JMeter variable is available to the entire thread, whether it is set in
One Time Controllers or not . If you need to manage some custom access to
variables then beanshell(pre /post processor , sampler , listener) has
access to the vars object which has methods put and get

http://jakarta.apache.org/jmeter/api/org/apache/jmeter/threads/JMeterVariables.html

regards
deepak

On Fri, Dec 4, 2009 at 4:05 AM, Harry_ &lt;harjitworks@gmail.com&gt; wrote:

&gt;
&gt; Hi,
&gt;
&gt; I have made a test plan in which I login in one time controller  from one
&gt; IP
&gt; which is read from csv file (on a machine having multiple IP's) and then I
&gt; have to fire requests to server from that IP.
&gt;
&gt; But for this I have to store the value of IP in a variable in one time
&gt; controller and use it outside at the thread level where I have other
&gt; requests.
&gt;
&gt; So how do I  declare a variable at thread level and assign it value in one
&gt; time controller.
&gt;
&gt; And use it at thread level...
&gt;
&gt; Regards
&gt; --
&gt; View this message in context:
&gt; http://old.nabble.com/How-to-declare-a-variable-at-thread-level-and-assign-it-value-in-one-time-controller-tp26635872p26635872.html
&gt; Sent from the JMeter - User mailing list archive at Nabble.com.
&gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>How to generetae reports using ant from multiple files</title>
<author><name>Harry_ &lt;harjitworks@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c26635936.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26635936-post@talk-nabble-com%3e</id>
<updated>2009-12-04T16:08:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

I want to generate reports from multiple result files of jmeter. 

For one file I do it using the following:
    &lt;target name="generate-reports"&gt;
        &lt;echo message="Generating Reports..."/&gt;

        &lt;xslt in="${results}/filenameX.jtl"
	 out="${results}/jmeter-results-report_21.html"
	 style="${jmeter.dir}/extras/jmeter-results-report_21.xsl"/&gt;
    &lt;/target&gt;

But as i need to merge results of multiple output files results. How should
I do it?

Thanks and Regards
-- 
View this message in context: http://old.nabble.com/How-to-generetae-reports-using-ant-from-multiple-files-tp26635936p26635936.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: restrict jmeter to one domain</title>
<author><name>Harry_ &lt;harjitworks@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c26635929.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26635929-post@talk-nabble-com%3e</id>
<updated>2009-12-04T15:45:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

I was also facing similar problem. I used the following in the Embed URL must
match field:

http://.*\.online\.org\.uk/.*

Used star because we want to use the same regular expression for test on all
environments local, test, staging.

It is working fine... :)

Thanks for the post...



Deepak Shetty wrote:
&gt; 
&gt; Yes , i think that works
&gt; 
&gt; regards
&gt; deepak
&gt; 
&gt; On Thu, Dec 3, 2009 at 12:23 PM, Greg Coit &lt;greg@chapterthreellc.com&gt;
&gt; wrote:
&gt; 
&gt;&gt; deepak,
&gt;&gt;
&gt;&gt; I should have been clearer.
&gt;&gt;
&gt;&gt; The content pulled from other domains are images.  I was hoping that i
&gt;&gt; could tell jmeter to only request images if they are from the specific
&gt;&gt; domain.
&gt;&gt;
&gt;&gt; Would setting (in the HTTP Request form) "Retrieve All Embedded
&gt;&gt; Resources from HTML Files" and then setting "Embedded URLs must
&gt;&gt; match:" to the local domain accomplish this?
&gt;&gt;
&gt;&gt; Greg
&gt;&gt; --
&gt;&gt; Greg Coit
&gt;&gt; Systems Administrator
&gt;&gt; Chapter Three, Your Drupal Experts in San Francisco
&gt;&gt; 2325 3rd St, Suite 319, San Francisco, CA 94107
&gt;&gt; {c} 1.707.845.0317 {t} 1.888.496.3238 {f} 1.866.668.1912
&gt;&gt; chapterthree.com // twitter.com/chapter_three
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; On Thu, Dec 3, 2009 at 11:03 AM, Deepak Shetty &lt;shettyd@gmail.com&gt; wrote:
&gt;&gt; &gt; hi
&gt;&gt; &gt; Its not clear what you mean. the Jmeter scripts only execute whatever
&gt;&gt; you
&gt;&gt; &gt; have coded it to execute.
&gt;&gt; &gt;&gt;The site grabs some content from other (authorized) servers/domains
&gt;&gt; &gt; In what way? if the site does it server side , then this is not visible
&gt;&gt; to
&gt;&gt; &gt; either JMeter or to a browser. Only you know based on the code that the
&gt;&gt; &gt; application has which page is internal and which is from some other
&gt;&gt; site.
&gt;&gt; If
&gt;&gt; &gt; the content is included as part of some main page then there is no way
&gt;&gt; of
&gt;&gt; &gt; telling the app to not fetch it.
&gt;&gt; &gt;
&gt;&gt; &gt; If the site does it using iframes / javascript files then these are
&gt;&gt; separate
&gt;&gt; &gt; requests and you would have to deal with it by modifying your script.
&gt;&gt; You
&gt;&gt; &gt; could probably do this with an IF controller which checks each of its
&gt;&gt; child
&gt;&gt; &gt; requests (the if controller would have two flags one which says whether
&gt;&gt; it
&gt;&gt; &gt; should restrict to domain (probably a property) and the other whether
&gt;&gt; the
&gt;&gt; &gt; request is in the domain or not
&gt;&gt; &gt;
&gt;&gt; &gt; regards
&gt;&gt; &gt; deepak
&gt;&gt; &gt;
&gt;&gt; &gt; On Thu, Dec 3, 2009 at 10:44 AM, Greg Coit &lt;greg@chapterthreellc.com&gt;
&gt;&gt; wrote:
&gt;&gt; &gt;
&gt;&gt; &gt;&gt; Hello,
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; I'm doing some stress testing of a website/server using jmeter.  The
&gt;&gt; &gt;&gt; site grabs some content from other (authorized) servers/domains.  I'd
&gt;&gt; &gt;&gt; like to find out what kind of speed penalty I'm incurring with this
&gt;&gt; &gt;&gt; setup by running two tests:
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; One against the whole site and one against just pages hosted on this
&gt;&gt; &gt;&gt; domain.
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; Rather then modify the site (which is quite extensive), is there a way
&gt;&gt; &gt;&gt; to tell jmeter to ignore content from all domains but the one being
&gt;&gt; &gt;&gt; tested?
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; Thanks!
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; Greg
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; --
&gt;&gt; &gt;&gt; Greg Coit
&gt;&gt; &gt;&gt; Systems Administrator
&gt;&gt; &gt;&gt; Chapter Three, Your Drupal Experts in San Francisco
&gt;&gt; &gt;&gt; 2325 3rd St, Suite 319, San Francisco, CA 94107
&gt;&gt; &gt;&gt; {c} 1.707.845.0317 {t} 1.888.496.3238 {f} 1.866.668.1912
&gt;&gt; &gt;&gt; chapterthree.com // twitter.com/chapter_three
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; ---------------------------------------------------------------------
&gt;&gt; &gt;&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt; &gt;&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;&gt;
&gt;&gt;
&gt; 
&gt; 

-- 
View this message in context: http://old.nabble.com/restrict-jmeter-to-one-domain-tp26631016p26635929.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to stop retrieving embedded resourses from particular source within an HTTP Request</title>
<author><name>Harry_ &lt;harjitworks@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c26635912.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26635912-post@talk-nabble-com%3e</id>
<updated>2009-12-04T15:07:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

The query is already answered at:
http://old.nabble.com/restrict-jmeter-to-one-domain-to26631016.html



Harry_ wrote:
&gt; 
&gt; Hi,
&gt; 
&gt; I am doing performance test behind proxy server. I am giving http requests
&gt; with "Retrieve All embedded Resources from HTML file" option on,
&gt; 
&gt; After some time proxy starts throwing error for a embedded resources from
&gt; particular site like: 
&gt; 
&gt; http://xyz.addthis.com/images/smile.gif 
&gt; http://xyz.addthis.com/images/bigsmile.gif 
&gt; http://xyz.addthis.com/images/verybigsmile.gif 
&gt; etc
&gt; 
&gt; The download of embedded resources from this outside site is not important
&gt; to us. So is there any way to tell jmeter that do not retrieve embedded
&gt; resources from this site or just retrieve embedded resources from this
&gt; site. Any of the solution will work for us.
&gt; 
&gt; Thanks and Regards
&gt; 

-- 
View this message in context: http://old.nabble.com/How-to-stop-retrieving-embedded-resourses-from-particular-source-within-an-HTTP-Request-tp26635836p26635912.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>kmeter usage for form testing</title>
<author><name>Oguz Yarimtepe &lt;comp.ogz@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c20091204162548.04461e72.comp.ogz@gmail.com%3e"/>
<id>urn:uuid:%3c20091204162548-04461e72-comp-ogz@gmail-com%3e</id>
<updated>2009-12-04T14:25:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I was trying to test my simple PHP application. It is composed of two pages. One is listing
the image names. When the name is clicked a comment page is being opened. By writing the comment
and submiting, it is possible to see all comments at the same page. 

I followed the steps here to create a Threaded Group and Proxy Server to record my actions:
http://one-size-doesnt-fit-all.blogspot.com/2009/06/stress-load-testing-web-applications.html

I first open the list page and clicked on one of the image names and added a comment. I can
see that the HTTP requests are recorded. I could see the GET and POST values also. When i
run the action again and see the results at a listener, i thought what ever i done is repeated
so i checked the mysql database i was using to keep my comments. I didn't see the same record
again. 

So i am not sure whether i managed to create the test for my PHP application in the right
way. What should i do to make my POST actions take effect also at the database part? 

I was trying to compare the performance of two languages. So i wrote the same application
with PHP and the framework i wanna compare. 

-- 
Oguz Yarimtepe &lt;comp.ogz@gmail.com&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>How to use different values from CSV file in a loop</title>
<author><name>Harry_ &lt;harjitworks@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c26635893.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26635893-post@talk-nabble-com%3e</id>
<updated>2009-12-04T14:03:54Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

I want to use loop for iterating over a set of request in a loop. How can we
achieve this. 

In a loop the same request is picked for all the loop cycles. Is there any
way of doing it. (Like forcing CSV file to read next value.)  

This is required because I want to login to server once and then read the
requests from csv in a loop for that user using that session and then
logout. Any idea how to do this.

Thanks and Regards
-- 
View this message in context: http://old.nabble.com/How-to-use-different-values-from-CSV-file-in-a-loop-tp26635893p26635893.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>How to declare a variable at thread level and assign it value in one time controller</title>
<author><name>Harry_ &lt;harjitworks@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c26635872.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26635872-post@talk-nabble-com%3e</id>
<updated>2009-12-04T12:05:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

I have made a test plan in which I login in one time controller  from one IP
which is read from csv file (on a machine having multiple IP's) and then I
have to fire requests to server from that IP. 

But for this I have to store the value of IP in a variable in one time
controller and use it outside at the thread level where I have other
requests.

So how do I  declare a variable at thread level and assign it value in one
time controller.

And use it at thread level...

Regards
-- 
View this message in context: http://old.nabble.com/How-to-declare-a-variable-at-thread-level-and-assign-it-value-in-one-time-controller-tp26635872p26635872.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>How to stop retrieving embedded resourses within an HTTP Request</title>
<author><name>Harry_ &lt;harjitworks@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c26635836.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26635836-post@talk-nabble-com%3e</id>
<updated>2009-12-04T10:15:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

I am doing performance test behind proxy server. I am giving http requests
with "Retrieve All embedded Resources from HTML file" option on,

After some time proxy starts throwing error for a embedded resources from
particular site like: 

http://xyz.addthis.com/images/smile.gif 
http://xyz.addthis.com/images/bigsmile.gif 
http://xyz.addthis.com/images/verybigsmile.gif 
etc

The download of embedded resources from this outside site is not important
to us. So is there any way to tell jmeter that do not retrieve embedded
resources from this site or just retrieve embedded resources from this site.
Any of the solution will work for us.

Thanks and Regards
-- 
View this message in context: http://old.nabble.com/How-to-stop-retrieving-embedded-resourses-within-an-HTTP-Request-tp26635836p26635836.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Accept Terms and Conditions checkbox not working through jMeter</title>
<author><name>Ronan Klyne &lt;ronan.klyne@groupbc.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c4B18C78A.2060705@groupbc.com%3e"/>
<id>urn:uuid:%3c4B18C78A-2060705@groupbc-com%3e</id>
<updated>2009-12-04T08:25:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Harry_ wrote:
&gt; Thank you so much for looking into the files Deepak.
&gt;
&gt; I am sorry I could not reply earlier. 
&gt;
&gt; I will check about _utmv and will let you know how it worked asap.
&gt;   
It's a Google analytics cookie.

I've checked the headers you posted, and I note that JMeter is not 
sending a Host header - this could be directed to the wrong web site if 
your server uses name based virtual hosting...

Ronan
&gt; Regards
&gt;
&gt;
&gt;
&gt; Deepak Shetty wrote:
&gt;   
&gt;&gt; Hi
&gt;&gt; whats
&gt;&gt;
&gt;&gt; __utmv=236072452.authenticated%20user%2Cadministrator%3A%3A%3A%3A%3A?
&gt;&gt; Its sent by the browser but not by jmeter and seems to be security
&gt;&gt; related?
&gt;&gt;
&gt;&gt; Your best bet is checking out either the rendered response or
&gt;&gt; inspecting it to see if the application has given some explicit error
&gt;&gt; message or looking through the application logs to see why its not
&gt;&gt; working
&gt;&gt;
&gt;&gt; regards
&gt;&gt; deepak
&gt;&gt;
&gt;&gt;
&gt;&gt; On Thu, Dec 3, 2009 at 9:03 AM, Deepak Shetty &lt;shettyd@gmail.com&gt; wrote:
&gt;&gt;
&gt;&gt;     
&gt;&gt;&gt; hi
&gt;&gt;&gt; that will take time and is hard to do without reference to the
&gt;&gt;&gt; application.
&gt;&gt;&gt; However as you can see your browser is sending a redirect to some page
&gt;&gt;&gt; whereas via jmeter you get a 200 (probably some validation has failed, or
&gt;&gt;&gt; some data wasn't sent). In the view results tree Response Tab , if you
&gt;&gt;&gt; render as HTML do you see any error messages? Also if your app logs some
&gt;&gt;&gt; debug/errors you might check it to see what the app expected that it did
&gt;&gt;&gt; not
&gt;&gt;&gt; get.
&gt;&gt;&gt;
&gt;&gt;&gt; Again it is not necessary that there has to be a difference on this page,
&gt;&gt;&gt; any problems in the pages leading to this page might be a source of
&gt;&gt;&gt; errors
&gt;&gt;&gt; (e.g. you must check out a content before editing it , if the check out
&gt;&gt;&gt; fails , then even if the edit request is exactly the same , it will fail,
&gt;&gt;&gt; this is  just an example to illustrate that you need to check every step.
&gt;&gt;&gt; You can minimise this if you have good assertions to check the response
&gt;&gt;&gt; -by
&gt;&gt;&gt; default Jmeter will only check status codes, it wont automatically check
&gt;&gt;&gt; the
&gt;&gt;&gt; response, you must write assertions for the pages normally based on text
&gt;&gt;&gt; present on the page. This will help you identify the problem quicker)
&gt;&gt;&gt;
&gt;&gt;&gt; regards
&gt;&gt;&gt; deepak
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; On Thu, Dec 3, 2009 at 6:12 AM, Harry_ &lt;harjitworks@gmail.com&gt; wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;       
&gt;&gt;&gt;&gt; Hi Deepak,
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; In order of simplify the things I tested another web page which does not
&gt;&gt;&gt;&gt; have dynamic form ID and URL.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; The web page update the content of the page. In browser I am able to
&gt;&gt;&gt;&gt; update
&gt;&gt;&gt;&gt; the content but not through jMeter.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; I have attached the HTTPLiveHeaders Data and JMeter Result Tree data
&gt;&gt;&gt;&gt; file
&gt;&gt;&gt;&gt; along with this post. I am not able to find why I am not able to update
&gt;&gt;&gt;&gt; the
&gt;&gt;&gt;&gt; content using jmeter.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; http://old.nabble.com/file/p26626554/HTTPLiveHeadersOutput
&gt;&gt;&gt;&gt; HTTPLiveHeadersOutput
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; http://old.nabble.com/file/p26626554/JMeterResultTreeOutput
&gt;&gt;&gt;&gt; JMeterResultTreeOutput
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Can you please look into this files and point out what could be the
&gt;&gt;&gt;&gt; reason
&gt;&gt;&gt;&gt; for jmeter not updating the content.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Thanks and Regards
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Harry_ wrote:
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt; Thanks for the reply Deepak.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; I will try this in the morning and will let you know about the
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt; results.
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt; Regards
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Deepak Shetty wrote:
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt;&gt;&gt;&gt; then user is taken to Accept Terms and Conditions page.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt; How is this implemented?
&gt;&gt;&gt;&gt;&gt;&gt;  If it is via a redirect then it's ok so long as you have follow
&gt;&gt;&gt;&gt;&gt;&gt; redirects.
&gt;&gt;&gt;&gt;&gt;&gt; if its via some javascript window.location.href, then you must test
&gt;&gt;&gt;&gt;&gt;&gt; whether
&gt;&gt;&gt;&gt;&gt;&gt; the page contains this (using say a regex extractor with an IF
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt; controller
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; which checks what value you got).
&gt;&gt;&gt;&gt;&gt;&gt; If your question is how do I know whether I got redirected or not you
&gt;&gt;&gt;&gt;&gt;&gt; could
&gt;&gt;&gt;&gt;&gt;&gt; either extract out the text and use an IF controller or you could
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt; disable
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; follow redirects and check the status code (again you can extract
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt; this
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; using
&gt;&gt;&gt;&gt;&gt;&gt; regex or beanshell post processors). Im assuming here that a user who
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt; has
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; successfully logged in and previously accepted gets a 200 status
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt; code.
&gt;&gt;&gt;&gt; It
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; is
&gt;&gt;&gt;&gt;&gt;&gt; difficult however for anyone to know how your application behaves
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt; since
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; there are many ways in which your application could have implemented
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt; the
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; behavior you see. In all cases however the response(including the
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt; url)
&gt;&gt;&gt;&gt; is
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; always available to JMeter to inspect in any post processor.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt;&gt;&gt;&gt; and random form id in the page.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt; This will typically be of the form &lt;input type="hidden"
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt; name="form-id"
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; value="some random value" /&gt;
&gt;&gt;&gt;&gt;&gt;&gt; You would write a regex extractor like
&gt;&gt;&gt;&gt;&gt;&gt; &lt;input.*?name="form-id"\s*?value="([^"]*)" and you can have the value
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt; in
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt; a
&gt;&gt;&gt;&gt;&gt;&gt; variable and post it into the next request with ${VAR_NAME}.
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; regards
&gt;&gt;&gt;&gt;&gt;&gt; deepak
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt; On Wed, Dec 2, 2009 at 4:49 PM, Harry_ &lt;harjitworks@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi Deepak,
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I can only read when I am having response of the page.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Suppose I am on login page.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I make corresponding Http Request Sampler for this.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Now if the user has not accepted the conditions then user is taken
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt; to
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Accept
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Terms and Conditions page.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; The page address is something like:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt; http://test/acceptterms/userid/[some&lt;http://test/acceptterms/userid/%5Bsome&gt;
&gt;&gt;&gt;&gt; &lt;http://test/acceptterms/userid/%5Bsome&gt;random
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; combination of alphanumeric
&gt;&gt;&gt;&gt;&gt;&gt;&gt; characters]  and random form id in the page.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; So how can I get to this page through jmeter when I do not know in
&gt;&gt;&gt;&gt;&gt;&gt;&gt; advance
&gt;&gt;&gt;&gt;&gt;&gt;&gt; what will be the random characters in url.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; If somehow, if jmeter can take me to the page which comes up after
&gt;&gt;&gt;&gt;&gt;&gt;&gt; login,
&gt;&gt;&gt;&gt;&gt;&gt;&gt; and tell me its URL and its source. Then I can use Regex Post
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt; processor
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; to
&gt;&gt;&gt;&gt;&gt;&gt;&gt; extract necessary information and hit this url with appropriate
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt; values.
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; But I dont know whether jmeter can do this or not.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Regards
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Deepak Shetty wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; And how do i extract form ID.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Regex Post processor (or xpath or any of the other post processors
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; that
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; work)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I have no information about this page during http request for
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt; login.
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Yes you do , your application always behaves in the same way
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 
&gt;&gt;&gt;&gt; right.
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; you
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; know
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; that there will be a form which has a dynamic value. You either
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 
&gt;&gt;&gt;&gt; know
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; name or the location where this will be and you can extract and
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 
&gt;&gt;&gt;&gt; send
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; it.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; you
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; can also have conditionals that check either the url or content
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 
&gt;&gt;&gt;&gt; (if
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; controllers) and vary the next request accordingly.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; regards
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; deepak
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Wed, Dec 2, 2009 at 4:21 PM, Harry_ &lt;harjitworks@gmail.com&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 
&gt;&gt;&gt;&gt; wrote:
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Yes I am using Cookie Manager.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I am able to visit pages for logged on users (provided Accept
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt; Terms
&gt;&gt;&gt;&gt; &amp;
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Conditions is already accepted for user). If I dont use cookie
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt; manager,
&gt;&gt;&gt;&gt;&gt;&gt;&gt; i
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; get Forbidden errors.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; And how do i extract form ID.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Suppose I enter User name and password and click Submit (JMeter
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt; HTTP
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Post
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; request with params). Now I get another page which has form with
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt; dynamic
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; form ID. I have no information about this page during http
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt; request
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; for
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; login. How can I know the ID of the page.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Is there any way by which I can get this information. Like I
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt; click
&gt;&gt;&gt;&gt; on
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; on
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; login by providing credentials and I get information about the
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt; resulting
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; page source (Accept Terms and Conditions in our case.) So that I
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt; can
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; pass
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; necessary information to the resulting page.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Regards
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Deepak Shetty wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Also have you added the CookieManager
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Wed, Dec 2, 2009 at 1:46 PM, Deepak Shetty
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                     
&gt;&gt;&gt;&gt; &lt;shettyd@gmail.com
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; not sure what you are referring to , but you need to check
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; a. The request itself seems to be to a dynamically generated
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                       
&gt;&gt;&gt;&gt; url.
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Are
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; you
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; extracting this out from the previous request correctly? the
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                       
&gt;&gt;&gt;&gt; form
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; build
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; id
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; parameter too seems to be dynamic, are you extracting this
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                       
&gt;&gt;&gt;&gt;&gt;&gt;&gt; correctly
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; (or
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; are
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; you just sending out recorded values )
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; b. In your previous message you specified that it works for 1
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                       
&gt;&gt;&gt;&gt;&gt;&gt;&gt; user.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Does
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the test work only for the recorded user or does it work the
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                       
&gt;&gt;&gt;&gt; first
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; time?
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; If
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the problem was in cookies you need to see the request after
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                       
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; set-cookie,
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; if
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; jmeter does send the cookies then the problem isn't there.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; you need to check what your script is doing.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; regards
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; deepak
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Wed, Dec 2, 2009 at 12:59 PM, Harry_
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                       
&gt;&gt;&gt;&gt; &lt;harjitworks@gmail.com&gt;
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I checked the headers using "Live HTTP Headers" and in "View
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Result
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Tree".
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The difference is in setting Cookie. Is it something why my
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt; test
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; is
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; not
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; accepting the terms and conditions. If yes how do I set these
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; cookies
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; in
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; jMeter, if it is not doing by itself.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Live HTTP Headers Shows:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt; http://test/legal_accept/56008/3e787bed9257fd643a45a0f2c25fe1aa
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; POST /legal_accept/56008/3e787bed9257fd643a45a0f2c25fe1aa
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; HTTP/1.1
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Host: test
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; rv:1.9.0.15)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Gecko/2009102815 Ubuntu/9.04 (jaunty) Firefox/3.0.15
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Accept:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Accept-Language: en-gb,en;q=0.5
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Accept-Encoding: gzip,deflate
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Keep-Alive: 300
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Connection: keep-alive
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Referer:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; http://test/legal_accept/56008/3e787bed9257fd643a45a0f2c25fe1aa
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Cookie:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; __utma=236072452.573991268.1259585934.1259771130.1259784337.4;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt; __utmz=236072452.1259585934.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt; SESSdaebf48ce4666186eb29a7f5b9e90b00=3pfe3c5cfn5di2dbebivfs4at0;
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt; __utmv=236072452.authenticated%20user%2Cadministrator%3A%3A%3A%3A%3A;
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; has_js=1; __utmc=236072452; _csoot=1259775258852;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; _csuid=4ae6d3624bed3faf;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; __utmb=236072452.53.10.1259784337; DRUPAL_LOGGED_IN=Y
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Content-Type: application/x-www-form-urlencoded
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Content-Length: 98
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt; form_build_id=form-9565758b95b12d94f330804f32f13449&amp;form_id=legal_login&amp;legal_accept=on&amp;op=Confirm
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; HTTP/1.x 302 Found
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Date: Wed, 02 Dec 2009 20:47:31 GMT
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; OpenSSL/0.9.8e-fips-rhel5
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; PHP/5.2.9
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; X-Powered-By: PHP/5.2.9
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Cache-Control: no-store, no-cache, must-revalidate,
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt; post-check=0,
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; pre-check=0
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Pragma: no-cache
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Set-Cookie: DRUPAL_LOGGED_IN=Y; expires=Tue, 01-Dec-2009
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt; 20:47:31
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; GMT;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; path=/
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Set-Cookie: ns_remember=deleted; expires=Tue, 02-Dec-2008
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; 20:47:31
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; GMT;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; path=/
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Set-Cookie: DRUPAL_LOGGED_IN=Y; expires=Sat, 26-Dec-2009
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt; 00:20:52
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; GMT;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; path=/
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Expires: Sun, 19 Nov 1978 05:00:00 GMT
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Last-Modified: Mon, 23 Apr 2010 02:00:32 GMT
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Etag: "d41d8cd98f00b204e9800998ecf8427e"
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; X-Drupal: loggedin
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Location: http://test/
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Content-Length: 0
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Connection: close
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Content-Type: text/html; charset=utf-8
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ----------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; View Result Tree Headers Shows:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sampler Result Tab
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Thread Name: Thread Group 1-1
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sample Start: 2009-12-02 20:25:31 GMT
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Load time: 518
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Latency: 518
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Size in bytes: 0
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sample Count: 1
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Error Count: 0
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Response code: 302
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Response message: Found
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Response headers:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; HTTP/1.1 302 Found
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Date: Wed, 02 Dec 2009 20:25:50 GMT
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; OpenSSL/0.9.8e-fips-rhel5
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; PHP/5.2.9
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; X-Powered-By: PHP/5.2.9
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Set-Cookie:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt; SESSdaebf48ce4666186eb29a7f5b9e90b00=mpaspit0fcl9rmp5r2nv5agtg0;
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; expires=Fri, 25-Dec-2009 23:59:10 GMT; path=/; domain=.test
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Expires: Sun, 19 Nov 1978 05:00:00 GMT
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Last-Modified: Mon, 23 Apr 2010 02:00:32 GMT
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Cache-Control: post-check=0, pre-check=0
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ETag: "d41d8cd98f00b204e9800998ecf8427e"
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Location: http://test/
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Content-Length &lt;http://test/%0AContent-Length&gt;: 0
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Connection: close
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Content-Type: text/html; charset=utf-8
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; HTTPSampleResult fields:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ContentType: text/html; charset=utf-8
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; DataEncoding: utf-8
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ---------------------------------
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Request Tab
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; POST
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; http://test/legal_accept/56005/1c54c8bf3308d9138388b77d7b0911bf
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; POST data:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt; form_build_id=form-3b21145374b980b87ef4fd87e64f625a&amp;form_id=legal_login&amp;legal_accept=on&amp;op=Confirm
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [no cookies]
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Request Headers:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Accept-Language: en-gb,en;q=0.5
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Content-Length: 98
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Referer:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; http://test/legal_accept/56005/1c54c8bf3308d9138388b77d7b0911bf
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Accept-Encoding&lt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt; http://test/legal_accept/56005/1c54c8bf3308d9138388b77d7b0911bf%0AAccept-Encoding
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; :
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                     
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; gzip,deflate
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Keep-Alive: 300
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; rv:1.9.0.15)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Gecko/2009102815 Ubuntu/9.04 (jaunty) Firefox/3.0.15
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Connection: keep-alive
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Content-Type: application/x-www-form-urlencoded
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Accept:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Deepak Shetty wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; All of these class of problems are covered by 'Why does
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                           
&gt;&gt;&gt;&gt; Jmeter
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; not
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; behave
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; like my browser' covered in
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                           
&gt;&gt;&gt;&gt; And
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; all
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; need
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; you
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; to understand how your application behaves(any browser tool
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                           
&gt;&gt;&gt;&gt;&gt;&gt;&gt; like
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; fiddler/livehttpheaders) v/s what Jmeter is sending(view
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                           
&gt;&gt;&gt;&gt;&gt;&gt;&gt; results
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; tree).
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; If i have to guess, your application probably stores the
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                           
&gt;&gt;&gt;&gt;&gt;&gt;&gt; acceptance
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; as
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; a
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; cookie, and the second iteration (for the different user)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                           
&gt;&gt;&gt;&gt;&gt;&gt;&gt; probably
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; does
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; something wrong. perhaps you clear the cookies and dont set
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                           
&gt;&gt;&gt;&gt; it,
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; perhaps
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; you
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; get the earlier cookie, you need to .This is a guess , we
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                           
&gt;&gt;&gt;&gt; dont
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; know,
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; check
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; your application against what you have specified in jmeter
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; regards
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; deepak
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Wed, Dec 2, 2009 at 9:07 AM, Harry_ &lt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                           
&gt;&gt;&gt;&gt; harjitworks@gmail.com&gt;
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wrote:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi,
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I have created a test plan using HTTP Proxy Server
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt; recording
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; following
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; sequence.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 1. New User Login to System with valid user name and
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt; Password.
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 2. Accepts the terms and conditions (This sends post
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt;&gt;&gt;&gt; information
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; to
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; server
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; that user is accepting terms and conditions. This happens
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt; only
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; once.)
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 3. Now user can navigate various pages of the site which
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt; are
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; accessible
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; to
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; login user.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Now when I re-run this test with different new user with
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt;&gt;&gt;&gt; different
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; username/password from csv file, i get the following error
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt; for
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; pages
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; of
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; third step.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;  Response code: 403
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;  Response message: Forbidden
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; First two steps shows success and I have checked that
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt; jMeter
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; during
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; run
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; sends terms and condition accept params to the server of
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt;&gt;&gt;&gt; step2.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; But the terms and conditions are still not accepted that
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt; is
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; why
&gt;&gt;&gt;&gt;&gt;&gt;&gt; we
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; get
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; error on pages of step 3.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Now can anyone point me where could be the problem. Why
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt; Post
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; params
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; sent
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; through jMeter for checkboxes is not accepted by the
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt; server.
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The problem seems to be with check boxes only. Because if
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt; I
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; had
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; already
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; accepted the terms and conditions, jmeter works fine for
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt; every
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; request.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; If this a defect can anyone suggest me a workaround. I
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt; have
&gt;&gt;&gt;&gt; to
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; work
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; with
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; checkboxes quite often, so I am facing this problem
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt;&gt;&gt;&gt; everywhere.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Thanks and Regards
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt; http://old.nabble.com/Accept-Terms-and-Conditions-checkbox-not-working-through-jMeter-tp26612532p26612532.html
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent from the JMeter - User mailing list archive at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Nabble.com.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt;&gt;&gt;&gt; jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; jmeter-user-help@jakarta.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                             
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                           
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt; http://old.nabble.com/Accept-Terms-and-Conditions-checkbox-not-working-through-jMeter-tp26612532p26616337.html
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent from the JMeter - User mailing list archive at
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt; Nabble.com.
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; jmeter-user-help@jakarta.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                     
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt; http://old.nabble.com/Accept-Terms-and-Conditions-checkbox-not-working-through-jMeter-tp26612532p26618806.html
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent from the JMeter - User mailing list archive at Nabble.com.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt; jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt; jmeter-user-help@jakarta.apache.org
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                   
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;                 
&gt;&gt;&gt;&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt; http://old.nabble.com/Accept-Terms-and-Conditions-checkbox-not-working-through-jMeter-tp26612532p26619192.html
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sent from the JMeter - User mailing list archive at Nabble.com.
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt;         
&gt;&gt;&gt;&gt;&gt;&gt;&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt;&gt;&gt;               
&gt;&gt;&gt;&gt;&gt;&gt;             
&gt;&gt;&gt;&gt;&gt;           
&gt;&gt;&gt;&gt; --
&gt;&gt;&gt;&gt; View this message in context:
&gt;&gt;&gt;&gt; http://old.nabble.com/Accept-Terms-and-Conditions-checkbox-not-working-through-jMeter-tp26612532p26626554.html
&gt;&gt;&gt;&gt; Sent from the JMeter - User mailing list archive at Nabble.com.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; ---------------------------------------------------------------------
&gt;&gt;&gt;&gt; To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
&gt;&gt;&gt;&gt; For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;         
&gt;&gt;     
&gt;
&gt;   


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Accessing and asserting remote file system resources using	BeanShell</title>
<author><name>Deepak Shetty &lt;shettyd@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c4483c26c0912032246i6f44ffefged527f421d1c9f80@mail.gmail.com%3e"/>
<id>urn:uuid:%3c4483c26c0912032246i6f44ffefged527f421d1c9f80@mail-gmail-com%3e</id>
<updated>2009-12-04T06:46:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt;I've proven with basic BeanShell that I can do this in a crude, raw fashion
outside of Jmeter.
How did you do this? If this worked why doesn't it work from within a JMeter
Beanshell Sampler.?

bsh.Remote wont work because (from the manual)
* If Remote can parse the return value of the script as an integer it will
return the value as the exit status to the command line. *
regards
deepak

On Thu, Dec 3, 2009 at 10:17 PM, Mark Miller &lt;mark.o.miller@gmail.com&gt;wrote:

&gt; First off, a nod of appreciation to the contributors for this fantastic
&gt; tool.
&gt;
&gt; I am using Jmeter to validate the integrity of some complex integrations.
&gt; For these tests I use LDAP, HTTP, JDBC, and SOAP samplers extensively. It
&gt; is
&gt; providing great value.
&gt;
&gt; There is one final piece of my vision that I am struggling to achieve: I
&gt; want to 'sample' from remotely running BeanShell servers by sending code
&gt; that will find, read, and send back the contents of configuration files
&gt; (for
&gt; example) which I can then continue to evaluate in the sampler or with
&gt; subsequent assertions. I've proven with basic BeanShell that I can do this
&gt; in a crude, raw fashion outside of Jmeter.
&gt;
&gt; I have tried two approaches inside Jmeter:
&gt;
&gt; 1) Using a TCPSampler and sending java to the BeanShell telnet port
&gt; (port+1).
&gt; 2) Using a BeanShell sampler and directly invoking the bsh.Remote class.
&gt; (see code below)
&gt;
&gt; import bsh.Remote;
&gt; i = new Remote();
&gt; ResponseMessage = (i.eval("bsh://localhost:9000","print(0);"));
&gt;
&gt; The main crux, it seems, is that the connection returns nothing until the
&gt; BeanShell server itself exits. I also tried sending an exit() over to the
&gt; server which allows it to send an exit code back - but also terminates the
&gt; server process. So that doesn't do the trick. (Nor do I get the String data
&gt; I am looking for, just an exit code.)
&gt;
&gt; I'm not quite on the right track with this. But I think the utility of the
&gt; idea is so obvious that someone may have crossed this bridge.
&gt;
&gt; Anyone done anything like this and can provide some insights or point me in
&gt; the right direction?
&gt;
&gt; I do appreciate your thoughts on this.
&gt;
&gt; --
&gt; Mark Miller
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Accessing and asserting remote file system resources using BeanShell</title>
<author><name>Mark Miller &lt;mark.o.miller@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200912.mbox/%3c8a06c4da0912032217k6c44bc5bw8d47cccff64d6645@mail.gmail.com%3e"/>
<id>urn:uuid:%3c8a06c4da0912032217k6c44bc5bw8d47cccff64d6645@mail-gmail-com%3e</id>
<updated>2009-12-04T06:17:30Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
First off, a nod of appreciation to the contributors for this fantastic
tool.

I am using Jmeter to validate the integrity of some complex integrations.
For these tests I use LDAP, HTTP, JDBC, and SOAP samplers extensively. It is
providing great value.

There is one final piece of my vision that I am struggling to achieve: I
want to 'sample' from remotely running BeanShell servers by sending code
that will find, read, and send back the contents of configuration files (for
example) which I can then continue to evaluate in the sampler or with
subsequent assertions. I've proven with basic BeanShell that I can do this
in a crude, raw fashion outside of Jmeter.

I have tried two approaches inside Jmeter:

1) Using a TCPSampler and sending java to the BeanShell telnet port
(port+1).
2) Using a BeanShell sampler and directly invoking the bsh.Remote class.
(see code below)

import bsh.Remote;
i = new Remote();
ResponseMessage = (i.eval("bsh://localhost:9000","print(0);"));

The main crux, it seems, is that the connection returns nothing until the
BeanShell server itself exits. I also tried sending an exit() over to the
server which allows it to send an exit code back - but also terminates the
server process. So that doesn't do the trick. (Nor do I get the String data
I am looking for, just an exit code.)

I'm not quite on the right track with this. But I think the utility of the
idea is so obvious that someone may have crossed this bridge.

Anyone done anything like this and can provide some insights or point me in
the right direction?

I do appreciate your thoughts on this.

-- 
Mark Miller


</pre>
</div>
</content>
</entry>
</feed>
