From jmeter-devchoijoshua@example.net Tue Apr 03 23:04:09 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 36728 invoked by uid 500); 3 Apr 2001 23:04:09 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Delivered-To: moderator for choijoshua@example.net
Received: (qmail 4156 invoked from network); 3 Apr 2001 22:28:44 -0000
Date: Tue, 3 Apr 2001 15:17:52 -0700 (PDT)
Message-Id: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net
Cc: 
Subject: [Bug 1204] New - Need the ability to change the port number for HTTP.
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1204

*** shadow/1204	Tue Apr  3 15:17:52 2001
--- shadow/1204.tmp.22501	Tue Apr  3 15:17:52 2001
***************
*** 0 ****
--- 1,20 ----
+ +============================================================================+
+ | Need the ability to change the port number for HTTP.                       |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1204                        Product: JMeter                  |
+ |       Status: NEW                         Version: unspecified             |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Enhancement              OS/Version: All                     |
+ |     Priority: High                      Component: Main                    |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: choijoshua@example.net                                |
+ |  Reported By: choijoshua@example.net                                              |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ We want to run JMeter on some servlets that are running on port 8080 (not the
+ normal 80), it appears this can't be configured right now. I put this priority
+ to high because there currently is no workaround (aside from editing the source
+ code ;-).

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Wed Apr 04 01:53:07 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 15071 invoked by uid 500); 4 Apr 2001 01:53:06 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 15060 invoked by uid 500); 4 Apr 2001 01:53:06 -0000
Delivered-To: choijoshua@example.net
Date: 4 Apr 2001 01:53:05 -0000
Message-ID: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net
Subject: cvs commit: jakarta-jmeter/src/org/apache/jmeter/protocol/http/config/gui UrlConfigGui.java

bburns      01/04/03 18:53:05

  Modified:    src/org/apache/jmeter/protocol/http/config UrlConfig.java
               src/org/apache/jmeter/protocol/http/config/gui
                        UrlConfigGui.java
  Log:
  added ability to set port in HTTP Sampling
  
  Revision  Changes    Path
  1.7       +17 -3     jakarta-jmeter/src/org/apache/jmeter/protocol/http/config/UrlConfig.java
  
  Index: UrlConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/org/apache/jmeter/protocol/http/config/UrlConfig.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- UrlConfig.java	2001/03/17 22:25:49	1.6
  +++ UrlConfig.java	2001/04/04 01:53:05	1.7
  @@ -64,13 +64,14 @@
    *  Apache Foundation
    *
    *@author     Michael Stover
  - *@created    $Date: 2001/03/17 22:25:49 $
  - *@version    $Revision: 1.6 $
  + *@created    $Date: 2001/04/04 01:53:05 $
  + *@version    $Revision: 1.7 $
    ***********************************************************/
   
   public class UrlConfig extends AbstractConfigElement
   {
   	public final static String DOMAIN = "domain";
  +    public final static String PORT = "port";
   	public final static String PATH = "path";
   	public final static String METHOD = "method";
   	public final static String ARGUMENTS = "arguments";
  @@ -101,9 +102,18 @@
   		{
   			setPath("/"+getPath());
   		}
  -		return new URL("http", (String)properties.get(DOMAIN), 80, (String)properties.get(PATH));
  +		return new URL("http", (String)properties.get(DOMAIN), ((Integer)properties.get(PORT)).intValue(), (String)properties.get(PATH));
   	}
   
  +    public int getPort() {
  +	Integer port = (Integer)properties.get(PORT);
  +	return (port!=null?port.intValue():80);
  +    }
  +
  +    public void setPort(int port) {
  +	properties.put(PORT, new Integer(port));
  +    }
  +
   	public String getPath()
   	{
   		return (String)properties.get(PATH);
  @@ -184,3 +194,7 @@
   		return isGood;
   	}
   }
  +
  +
  +
  +
  
  
  
  1.4       +23 -1     jakarta-jmeter/src/org/apache/jmeter/protocol/http/config/gui/UrlConfigGui.java
  
  Index: UrlConfigGui.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/org/apache/jmeter/protocol/http/config/gui/UrlConfigGui.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- UrlConfigGui.java	2001/03/17 22:25:49	1.3
  +++ UrlConfigGui.java	2001/04/04 01:53:05	1.4
  @@ -74,12 +74,14 @@
   public class UrlConfigGui extends JPanel implements ModelSupported,KeyListener,ActionListener
   {
   	private static String DOMAIN = "domain";
  +    private static String PORT = "port";
   	//private static String METHOD = "method";
   	private static String PATH = "path";
   	private static String POST = "post";
   	private static String GET = "get";
   
   	private JTextField domain = new JTextField(30);
  +    private JTextField port = new JTextField("80", 30);
   	private JTextField path = new JTextField(30);
   	private JRadioButton post = new JRadioButton("POST");
   	private JRadioButton get = new JRadioButton("GET");
  @@ -101,6 +103,9 @@
   	{
   		domain.setText((String)model.getProperty(UrlConfig.DOMAIN));
   		path.setText((String)model.getProperty(UrlConfig.PATH));
  +		Integer portI = (Integer)model.getProperty(UrlConfig.PORT);
  +		if (portI!=null)
  +		    port.setText(portI.toString());
   		if(namePanel != null)
   						 namePanel.updateGui();
   		if(UrlConfig.POST.equals(model.getProperty(UrlConfig.METHOD)))
  @@ -130,11 +135,24 @@
   		}
   
   		this.add(getDomainPanel());
  +		this.add(getPortPanel());
   		this.add(getPathPanel());
   		this.add(getMethodPanel());
   		this.add(getParameterPanel());
   	}
   
  +    private JPanel getPortPanel() {
  +	JPanel portP = new JPanel();
  +	portP.add(new JLabel("Port"));
  +	Integer portI = (Integer)model.getProperty(UrlConfig.PORT);
  +	if (portI!=null)
  +	    port.setText(portI.toString());
  +	port.setName(PORT);
  +	port.addKeyListener(this);
  +	portP.add(port);
  +	return portP;
  +    }
  +
   	private JPanel getDomainPanel()
   	{
   		JPanel domainP = new JPanel();
  @@ -222,6 +240,10 @@
   		{
   			model.putProperty(UrlConfig.PATH,path.getText());
   		}
  +		else if (name.equals(PORT)) {
  +		    model.putProperty
  +			(UrlConfig.PORT, new Integer(port.getText()));
  +		}
   	}
   
   	public void actionPerformed(ActionEvent e)
  @@ -237,4 +259,4 @@
   		}
   	}
   
  -}
  \ No newline at end of file
  +}
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Wed Apr 04 01:58:42 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 20111 invoked by uid 500); 4 Apr 2001 01:58:42 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 20100 invoked from network); 4 Apr 2001 01:58:42 -0000
Date: Tue, 3 Apr 2001 18:59:37 -0700 (PDT)
Message-Id: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net, choijoshua@example.net
Cc: 
Subject: [Bug 1204] Changed - Need the ability to change the port number for HTTP.
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1204

*** shadow/1204	Tue Apr  3 15:17:52 2001
--- shadow/1204.tmp.24001	Tue Apr  3 18:59:37 2001
***************
*** 2,9 ****
  | Need the ability to change the port number for HTTP.                       |
  +----------------------------------------------------------------------------+
  |        Bug #: 1204                        Product: JMeter                  |
! |       Status: NEW                         Version: unspecified             |
! |   Resolution:                            Platform: All                     |
  |     Severity: Enhancement              OS/Version: All                     |
  |     Priority: High                      Component: Main                    |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | Need the ability to change the port number for HTTP.                       |
  +----------------------------------------------------------------------------+
  |        Bug #: 1204                        Product: JMeter                  |
! |       Status: RESOLVED                    Version: unspecified             |
! |   Resolution: FIXED                      Platform: All                     |
  |     Severity: Enhancement              OS/Version: All                     |
  |     Priority: High                      Component: Main                    |
  +----------------------------------------------------------------------------+
***************
*** 17,20 ****
  We want to run JMeter on some servlets that are running on port 8080 (not the
  normal 80), it appears this can't be configured right now. I put this priority
  to high because there currently is no workaround (aside from editing the source
! code ;-).
--- 17,23 ----
  We want to run JMeter on some servlets that are running on port 8080 (not the
  normal 80), it appears this can't be configured right now. I put this priority
  to high because there currently is no workaround (aside from editing the source
! code ;-).
! 
! ------- Additional Comments From choijoshua@example.net  2001-04-03 18:59 -------
! This is now fixed in CVS.

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Mon Apr 09 12:45:31 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 97058 invoked by uid 500); 9 Apr 2001 12:45:29 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 97046 invoked from network); 9 Apr 2001 12:45:28 -0000
Date: Mon, 9 Apr 2001 05:38:25 -0700 (PDT)
Message-Id: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net
Cc: 
Subject: [Bug 1263] New - jmeter 1.6 alpha looks for SSL.StaticProvider in stead of SSLStaticProvider
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1263

*** shadow/1263	Mon Apr  9 05:38:24 2001
--- shadow/1263.tmp.15997	Mon Apr  9 05:38:24 2001
***************
*** 0 ****
--- 1,24 ----
+ +============================================================================+
+ | jmeter 1.6 alpha looks for SSL.StaticProvider in stead of SSLStaticProvide |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1263                        Product: JMeter                  |
+ |       Status: UNCONFIRMED                 Version: unspecified             |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Major                    OS/Version: Linux                   |
+ |     Priority: Medium                    Component: Main                    |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: choijoshua@example.net                                |
+ |  Reported By: choijoshua@example.net                                     |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Version is 1.6, which is an alpha. I don't know whether I should use this tool 
+ to report this bug, as it only provides up to 1.5
+ 
+ I added jsse jars to my jmeter startup script, started jmeter, and the 
+ NewDriver call gave a classNotFound exception for org.apache. ..... 
+ util.SSL.StaticProvider. Indeed, this class doesn't exist in the apacheJmeter 
+ jar, but there is a SSLStaticProvider in the util package one above. Suppose 
+ this is a bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Mon Apr 09 13:00:31 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 18333 invoked by uid 500); 9 Apr 2001 13:00:28 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 18322 invoked from network); 9 Apr 2001 13:00:27 -0000
Date: Mon, 9 Apr 2001 05:52:34 -0700 (PDT)
Message-Id: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net
Cc: 
Subject: [Bug 1264] New - Version 1.6 StaticProvider contains hard-coded link to sun jsse implementation
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1264

*** shadow/1264	Mon Apr  9 05:52:34 2001
--- shadow/1264.tmp.16025	Mon Apr  9 05:52:34 2001
***************
*** 0 ****
--- 1,22 ----
+ +============================================================================+
+ | Version 1.6 StaticProvider contains hard-coded link to sun jsse implementa |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1264                        Product: JMeter                  |
+ |       Status: NEW                         Version: unspecified             |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Linux                   |
+ |     Priority: Low                       Component: Main                    |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: choijoshua@example.net                                |
+ |  Reported By: choijoshua@example.net                                     |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ The class SSLStaticProvider (or should it be SSL.StaticProvider?) contains an 
+ import of the com.sun.net.ssl package of Sun's jsse implementation. This 
+ shouldn't be hard-coded, as it does not allow now to change to other 
+ implementations.
+ 
+ Version 1.6 Alpha

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Mon Apr 09 14:45:34 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 77245 invoked by uid 500); 9 Apr 2001 14:45:29 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 77079 invoked from network); 9 Apr 2001 14:45:26 -0000
Date: Mon, 9 Apr 2001 07:39:45 -0700 (PDT)
Message-Id: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net
Cc: 
Subject: [Bug 1265] New - version 1.6 wrong link in userdocs for user_manual/Running.html
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1265

*** shadow/1265	Mon Apr  9 07:39:44 2001
--- shadow/1265.tmp.16327	Mon Apr  9 07:39:44 2001
***************
*** 0 ****
--- 1,19 ----
+ +============================================================================+
+ | version 1.6 wrong link in userdocs for user_manual/Running.html            |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1265                        Product: JMeter                  |
+ |       Status: NEW                         Version: unspecified             |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Minor                    OS/Version: Linux                   |
+ |     Priority: Low                       Component: Main                    |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: choijoshua@example.net                                |
+ |  Reported By: choijoshua@example.net                                     |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ The link in the html documentation for Usage/Running is not correct. It links 
+ to user_manual/Running.html where there is no page Running.html but 
+ running.html with lower-case.

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Tue Apr 10 12:50:18 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 62651 invoked by uid 500); 10 Apr 2001 12:50:18 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 62640 invoked by uid 500); 10 Apr 2001 12:50:17 -0000
Delivered-To: choijoshua@example.net
Date: 10 Apr 2001 12:50:17 -0000
Message-ID: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net
Subject: cvs commit: jakarta-jmeter/src/org/apache/jmeter/protocol/http/sampler HTTPSampler.java

mstover1    01/04/10 05:50:17

  Modified:    src/org/apache/jmeter/protocol/http/sampler HTTPSampler.java
  Log:
  Fixed reference to SSLStaticProvider
  
  Revision  Changes    Path
  1.10      +3 -3      jakarta-jmeter/src/org/apache/jmeter/protocol/http/sampler/HTTPSampler.java
  
  Index: HTTPSampler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/org/apache/jmeter/protocol/http/sampler/HTTPSampler.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- HTTPSampler.java	2001/03/17 22:25:52	1.9
  +++ HTTPSampler.java	2001/04/10 12:50:17	1.10
  @@ -72,8 +72,8 @@
    *  HTTP requests, including cookies and authentication.
    *
    *@author     Michael Stover
  - *@created    $Date: 2001/03/17 22:25:52 $
  - *@version    $Revision: 1.9 $
  + *@created    $Date: 2001/04/10 12:50:17 $
  + *@version    $Revision: 1.10 $
    ***********************************************************/
   public class HTTPSampler implements Sampler
   {
  @@ -392,7 +392,7 @@
   		{
   			try
   			{
  -				Class c = Class.forName("org.apache.jmeter.protocol.http.util.SSL.StaticProvider");
  +				Class c = Class.forName("org.apache.jmeter.protocol.http.util.SSLStaticProvider");
   				c.newInstance();
   			}
   			catch (Exception ex)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Tue Apr 10 17:01:10 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 56952 invoked by uid 500); 10 Apr 2001 17:01:10 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 56940 invoked from network); 10 Apr 2001 17:01:09 -0000
Date: Tue, 10 Apr 2001 10:00:12 -0700 (PDT)
Message-Id: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net
Cc: 
Subject: [Bug 1292] New - version 1.6 JMeterThread calls getSampler with entry == null
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1292

*** shadow/1292	Tue Apr 10 10:00:12 2001
--- shadow/1292.tmp.26197	Tue Apr 10 10:00:12 2001
***************
*** 0 ****
--- 1,29 ----
+ +============================================================================+
+ | version 1.6 JMeterThread calls getSampler with entry == null               |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1292                        Product: JMeter                  |
+ |       Status: NEW                         Version: unspecified             |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Critical                 OS/Version: Linux                   |
+ |     Priority:                           Component: Main                    |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: choijoshua@example.net                                |
+ |  Reported By: choijoshua@example.net                                     |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Version 1.6a
+ 
+ Trying to get JMeter running with a ThreadGroup, a constant timer, a view 
+ results listener, a once only logic, and a URL sample as a part of the once 
+ only logic controller. URL sample contains an ip, index.html as file, and 
+ method get.
+ JMeter causes a null pointer exception in 
+ org.apache.jmeter.threads.JMeterThread.getSampler(entry)
+ In the run method of JMeterThread first a test is done whether entry == null, 
+ but regardless the result of this, the getSampler(entry) method is called. This 
+ method causes an error as a method of entry is called, though the object does 
+ not exist. I guess that if entry equals null, the getSampler method shouldn't 
+ be called.

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Tue Apr 10 17:31:02 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 7170 invoked by uid 500); 10 Apr 2001 17:31:01 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 7159 invoked by uid 500); 10 Apr 2001 17:31:01 -0000
Delivered-To: choijoshua@example.net
Date: 10 Apr 2001 17:31:01 -0000
Message-ID: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net
Subject: cvs commit: jakarta-jmeter/src/org/apache/jmeter/threads JMeterThread.java

mstover1    01/04/10 10:31:01

  Modified:    src/org/apache/jmeter/save/handlers
                        AbstractConfigElementHandler.java
                        ArgumentsHandler.java
               src/org/apache/jmeter/threads JMeterThread.java
  Log:
  Fixing bugs to do with a test having no more samples, saving bugs.
  
  Revision  Changes    Path
  1.5       +3 -3      jakarta-jmeter/src/org/apache/jmeter/save/handlers/AbstractConfigElementHandler.java
  
  Index: AbstractConfigElementHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/org/apache/jmeter/save/handlers/AbstractConfigElementHandler.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractConfigElementHandler.java	2001/03/24 14:39:58	1.4
  +++ AbstractConfigElementHandler.java	2001/04/10 17:31:00	1.5
  @@ -120,7 +120,7 @@
   
   		if(data != null && data.trim().length() > 0)
   		{
  -			config.putProperty(currentProperty,data);
  +			config.putProperty(currentProperty,data.trim());
   			currentProperty = null;
   		}
   	}
  @@ -172,8 +172,8 @@
   	{
   		out.write("<property name=\"");
   		out.write(key);
  -		out.write("\">\n");
  +		out.write("\">");
   		JMeterHandler.writeObject(value,out);
  -		out.write("\n</property>\n");
  +		out.write("</property>\n");
   	}
   }
  
  
  
  1.4       +4 -0      jakarta-jmeter/src/org/apache/jmeter/save/handlers/ArgumentsHandler.java
  
  Index: ArgumentsHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/org/apache/jmeter/save/handlers/ArgumentsHandler.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ArgumentsHandler.java	2001/03/17 22:25:56	1.3
  +++ ArgumentsHandler.java	2001/04/10 17:31:00	1.4
  @@ -125,6 +125,10 @@
   
   	public void argument(String data)
   	{
  +		if(data != null)
  +		{
  +			data = data.trim();
  +		}
   		args.addArgument(currentArgument,data);
   		currentArgument = null;
   	}
  
  
  
  1.11      +3 -2      jakarta-jmeter/src/org/apache/jmeter/threads/JMeterThread.java
  
  Index: JMeterThread.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/org/apache/jmeter/threads/JMeterThread.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- JMeterThread.java	2001/03/17 22:25:57	1.10
  +++ JMeterThread.java	2001/04/10 17:31:01	1.11
  @@ -70,8 +70,8 @@
    *  timing, add listeners for sampling events and to stop the sampling process.
    *
    *@author     $Author: mstover1 $
  - *@created    $Date: 2001/03/17 22:25:57 $
  - *@version    $Revision: 1.10 $
  + *@created    $Date: 2001/04/10 17:31:01 $
  + *@version    $Revision: 1.11 $
    ***********************************************************/
   public class JMeterThread implements Runnable, java.io.Serializable
   {
  @@ -119,6 +119,7 @@
   				if (entry == null)
   				{
   					running = false;
  +					break;
   				}
   				Sampler sampler = null;
   				try
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Tue Apr 10 20:31:16 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 2803 invoked by uid 500); 10 Apr 2001 20:31:11 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 2505 invoked from network); 10 Apr 2001 20:31:08 -0000
Date: Tue, 10 Apr 2001 13:23:02 -0700 (PDT)
Message-Id: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net
Cc: 
Subject: [Bug 1297] New - ClassCastException Testing Database in 1.6
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1297

*** shadow/1297	Tue Apr 10 13:23:01 2001
--- shadow/1297.tmp.612	Tue Apr 10 13:23:02 2001
***************
*** 0 ****
--- 1,45 ----
+ +============================================================================+
+ | ClassCastException Testing Database in 1.6                                 |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1297                        Product: JMeter                  |
+ |       Status: NEW                         Version: 1.5                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version:                         |
+ |     Priority:                           Component: Main                    |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: choijoshua@example.net                                |
+ |  Reported By: choijoshua@example.net                                      |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Running following setup in version 1.6
+ 
+ - Test Plan
+         - Thread Group
+                 - Database Testing
+                         - SQL Query
+ 
+ 
+ I always get the exeption:
+ 
+         java.lang.ClassCastException: org.apache.jmeter.config.LoginConfig
+                 at org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.sample
+ (JDBCSampler.java:102)
+                 at org.apache.jmeter.threads.JMeterThread.run
+ (JMeterThread.java:133)
+                 at java.lang.Thread.run(Thread.java:484)
+ 
+ 
+ Here is the line that does it (JDBCSampler.java:102):
+ 
+         DBKey key = getKey((DbConfig)e.getConfigElement(DbConfig.class),
+                 (PoolConfig)e.getConfigElement(PoolConfig.class));
+ 
+ 
+ I think that the cause is that DbConfig extends 
+ org.apache.jmeter.config.LoginConfig but does not override the clone() method.  
+ This means that aDbConfig.clone() returns an instance of LoginConfig.  Since 
+ the Entry class clones ConfigElements before putting them on a hash, the return 
+ value of getConfigElement() is a LoginConfig.  Hope this helps.

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Tue Apr 10 22:13:09 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 27533 invoked by uid 500); 10 Apr 2001 22:12:58 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 27196 invoked by uid 500); 10 Apr 2001 22:12:54 -0000
Delivered-To: choijoshua@example.net
Date: 10 Apr 2001 22:12:53 -0000
Message-ID: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net
Subject: cvs commit: jakarta-jmeter/src/org/apache/jmeter/protocol/jdbc/config DbConfig.java

mstover1    01/04/10 15:12:52

  Modified:    src/org/apache/jmeter/protocol/jdbc/config DbConfig.java
  Log:
  Fixing cloning in DbConfig
  
  Revision  Changes    Path
  1.5       +12 -0     jakarta-jmeter/src/org/apache/jmeter/protocol/jdbc/config/DbConfig.java
  
  Index: DbConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/org/apache/jmeter/protocol/jdbc/config/DbConfig.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DbConfig.java	2001/03/17 22:25:52	1.4
  +++ DbConfig.java	2001/04/10 22:12:50	1.5
  @@ -80,6 +80,18 @@
   		return org.apache.jmeter.protocol.jdbc.config.gui.DbConfigGui.class;
   	}
   
  +	/************************************************************
  +	 *  Description of the Method
  +	 *
  +	 *@return    Description of the Returned Value
  +	 ***********************************************************/
  +	public Object clone()
  +	{
  +		LoginConfig newConfig = new DbConfig();
  +		configureClone(newConfig);
  +		return newConfig;
  +	}
  +
   	public String getUrl()
   	{
   		return (String)this.getProperty(URL);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Wed Apr 11 12:45:23 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 89977 invoked by uid 500); 11 Apr 2001 12:45:17 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 89960 invoked by uid 500); 11 Apr 2001 12:45:14 -0000
Delivered-To: choijoshua@example.net
Date: 11 Apr 2001 12:45:12 -0000
Message-ID: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net
Subject: cvs commit: jakarta-jmeter/xdocs/user_manual index.xml

mstover1    01/04/11 05:45:12

  Modified:    docs     running.html
               docs/user_manual index.html
               src/org/apache/jmeter/protocol/http/config UrlConfig.java
               src/org/apache/jmeter/protocol/http/config/gui
                        UrlConfigGui.java
               xdocs/user_manual index.xml
  Log:
  Fixing saving bugs, some documentation linking problems
  
  Revision  Changes    Path
  1.13      +0 -0      jakarta-jmeter/docs/running.html
  
  Index: running.html
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/docs/running.html,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- running.html	2001/03/29 23:56:26	1.12
  +++ running.html	2001/04/11 12:45:02	1.13
  @@ -151,7 +151,7 @@
   </blockquote>
                                                   <p align="center"><font size="-1">Copyright (c) 1998-99 <a href="http://java.apache.org">The Java Apache
   Project</a>.<br />
  -$Id: running.html,v 1.12 2001/03/29 23:56:26 mstover1 Exp $</font> <br />
  +$Id: running.html,v 1.13 2001/04/11 12:45:02 mstover1 Exp $</font> <br />
   <font size="-1">All rights reserved.</font></p>
                               </blockquote>
         </td></tr>
  
  
  
  1.3       +1 -1      jakarta-jmeter/docs/user_manual/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/docs/user_manual/index.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- index.html	2001/03/24 14:39:58	1.2
  +++ index.html	2001/04/11 12:45:04	1.3
  @@ -84,7 +84,7 @@
   	<li><a HREF="logical_controllers.html">Creating Flow Logic Controls</a></li>
   	<li><a HREF="visualizers.html">Using Visualizers</a></li>
   	<li><a HREF="timers.html">Using Timers</a></li>
  -	<li><a HREF="Running.html">Running the test script</a></li>
  +	<li><a HREF="running.html">Running the test script</a></li>
   	<li><a href="saving.html">Saving test script elements</a></li>
   	<li><a href="rmi.html">Running JMeter over RMI</a></li>
   
  
  
  
  1.8       +25 -10    jakarta-jmeter/src/org/apache/jmeter/protocol/http/config/UrlConfig.java
  
  Index: UrlConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/org/apache/jmeter/protocol/http/config/UrlConfig.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- UrlConfig.java	2001/04/04 01:53:05	1.7
  +++ UrlConfig.java	2001/04/11 12:45:07	1.8
  @@ -64,14 +64,14 @@
    *  Apache Foundation
    *
    *@author     Michael Stover
  - *@created    $Date: 2001/04/04 01:53:05 $
  - *@version    $Revision: 1.7 $
  + *@created    $Date: 2001/04/11 12:45:07 $
  + *@version    $Revision: 1.8 $
    ***********************************************************/
   
   public class UrlConfig extends AbstractConfigElement
   {
   	public final static String DOMAIN = "domain";
  -    public final static String PORT = "port";
  +	 public final static String PORT = "port";
   	public final static String PATH = "path";
   	public final static String METHOD = "method";
   	public final static String ARGUMENTS = "arguments";
  @@ -102,17 +102,32 @@
   		{
   			setPath("/"+getPath());
   		}
  -		return new URL("http", (String)properties.get(DOMAIN), ((Integer)properties.get(PORT)).intValue(), (String)properties.get(PATH));
  +		return new URL("http", (String)properties.get(DOMAIN), getPort(), (String)properties.get(PATH));
   	}
   
  -    public int getPort() {
  -	Integer port = (Integer)properties.get(PORT);
  -	return (port!=null?port.intValue():80);
  -    }
  +	 public int getPort() {
  +			Object port = properties.get(PORT);
  +			if(port == null)
  +			{
  +				properties.remove(PORT);
  +				return 80;
  +			}
  +			else if(port instanceof Integer)
  +			{
  +				return ((Integer)port).intValue();
  +			}
  +			else if(port instanceof String)
  +			{
  +				Integer intPort = new Integer((String)port);
  +				properties.put(PORT,intPort);
  +				return intPort.intValue();
  +			}
  +			return 80;
  +	 }
   
  -    public void setPort(int port) {
  +	 public void setPort(int port) {
   	properties.put(PORT, new Integer(port));
  -    }
  +	 }
   
   	public String getPath()
   	{
  
  
  
  1.5       +15 -9     jakarta-jmeter/src/org/apache/jmeter/protocol/http/config/gui/UrlConfigGui.java
  
  Index: UrlConfigGui.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/org/apache/jmeter/protocol/http/config/gui/UrlConfigGui.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- UrlConfigGui.java	2001/04/04 01:53:05	1.4
  +++ UrlConfigGui.java	2001/04/11 12:45:09	1.5
  @@ -74,14 +74,14 @@
   public class UrlConfigGui extends JPanel implements ModelSupported,KeyListener,ActionListener
   {
   	private static String DOMAIN = "domain";
  -    private static String PORT = "port";
  +	 private static String PORT = "port";
   	//private static String METHOD = "method";
   	private static String PATH = "path";
   	private static String POST = "post";
   	private static String GET = "get";
   
   	private JTextField domain = new JTextField(30);
  -    private JTextField port = new JTextField("80", 30);
  +	 private JTextField port = new JTextField(30);
   	private JTextField path = new JTextField(30);
   	private JRadioButton post = new JRadioButton("POST");
   	private JRadioButton get = new JRadioButton("GET");
  @@ -103,9 +103,9 @@
   	{
   		domain.setText((String)model.getProperty(UrlConfig.DOMAIN));
   		path.setText((String)model.getProperty(UrlConfig.PATH));
  -		Integer portI = (Integer)model.getProperty(UrlConfig.PORT);
  +		Object portI = model.getProperty(UrlConfig.PORT);
   		if (portI!=null)
  -		    port.setText(portI.toString());
  +			 port.setText(portI.toString());
   		if(namePanel != null)
   						 namePanel.updateGui();
   		if(UrlConfig.POST.equals(model.getProperty(UrlConfig.METHOD)))
  @@ -141,17 +141,17 @@
   		this.add(getParameterPanel());
   	}
   
  -    private JPanel getPortPanel() {
  +	 private JPanel getPortPanel() {
   	JPanel portP = new JPanel();
   	portP.add(new JLabel("Port"));
  -	Integer portI = (Integer)model.getProperty(UrlConfig.PORT);
  +	Object portI = model.getProperty(UrlConfig.PORT);
   	if (portI!=null)
  -	    port.setText(portI.toString());
  +		 port.setText(portI.toString());
   	port.setName(PORT);
   	port.addKeyListener(this);
   	portP.add(port);
   	return portP;
  -    }
  +	 }
   
   	private JPanel getDomainPanel()
   	{
  @@ -241,8 +241,14 @@
   			model.putProperty(UrlConfig.PATH,path.getText());
   		}
   		else if (name.equals(PORT)) {
  -		    model.putProperty
  +			try
  +			{
  +				model.putProperty
   			(UrlConfig.PORT, new Integer(port.getText()));
  +			}
  +			catch (Exception ex)
  +			{
  +			}
   		}
   	}
   
  
  
  
  1.5       +1 -1      jakarta-jmeter/xdocs/user_manual/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/xdocs/user_manual/index.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- index.xml	2001/03/24 14:39:59	1.4
  +++ index.xml	2001/04/11 12:45:11	1.5
  @@ -15,7 +15,7 @@
   	<li><a HREF="logical_controllers.html">Creating Flow Logic Controls</a></li>
   	<li><a HREF="visualizers.html">Using Visualizers</a></li>
   	<li><a HREF="timers.html">Using Timers</a></li>
  -	<li><a HREF="Running.html">Running the test script</a></li>
  +	<li><a HREF="running.html">Running the test script</a></li>
   	<li><a href="saving.html">Saving test script elements</a></li>
   	<li><a href="rmi.html">Running JMeter over RMI</a></li>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Wed Apr 11 12:46:16 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 91659 invoked by uid 500); 11 Apr 2001 12:46:12 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 91571 invoked from network); 11 Apr 2001 12:46:10 -0000
Date: Wed, 11 Apr 2001 05:43:43 -0700 (PDT)
Message-Id: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net, choijoshua@example.net
Cc: 
Subject: [Bug 1292] Changed - version 1.6 JMeterThread calls getSampler with entry == null
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1292

*** shadow/1292	Tue Apr 10 10:00:12 2001
--- shadow/1292.tmp.7780	Wed Apr 11 05:43:43 2001
***************
*** 2,11 ****
  | version 1.6 JMeterThread calls getSampler with entry == null               |
  +----------------------------------------------------------------------------+
  |        Bug #: 1292                        Product: JMeter                  |
! |       Status: NEW                         Version: unspecified             |
! |   Resolution:                            Platform: PC                      |
  |     Severity: Critical                 OS/Version: Linux                   |
! |     Priority:                           Component: Main                    |
  +----------------------------------------------------------------------------+
  |  Assigned To: choijoshua@example.net                                |
  |  Reported By: choijoshua@example.net                                     |
--- 2,11 ----
  | version 1.6 JMeterThread calls getSampler with entry == null               |
  +----------------------------------------------------------------------------+
  |        Bug #: 1292                        Product: JMeter                  |
! |       Status: RESOLVED                    Version: unspecified             |
! |   Resolution: FIXED                      Platform: PC                      |
  |     Severity: Critical                 OS/Version: Linux                   |
! |     Priority: High                      Component: Main                    |
  +----------------------------------------------------------------------------+
  |  Assigned To: choijoshua@example.net                                |
  |  Reported By: choijoshua@example.net                                     |
***************
*** 26,29 ****
  but regardless the result of this, the getSampler(entry) method is called. This 
  method causes an error as a method of entry is called, though the object does 
  not exist. I guess that if entry equals null, the getSampler method shouldn't 
! be called.
--- 26,32 ----
  but regardless the result of this, the getSampler(entry) method is called. This 
  method causes an error as a method of entry is called, though the object does 
  not exist. I guess that if entry equals null, the getSampler method shouldn't 
! be called.
! 
! ------- Additional Comments From choijoshua@example.net  2001-04-11 05:43 -------
! Added a break so that JMeter stops sampling if no more samples are present

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Wed Apr 11 12:46:23 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 91980 invoked by uid 500); 11 Apr 2001 12:46:20 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 91945 invoked from network); 11 Apr 2001 12:46:18 -0000
Date: Wed, 11 Apr 2001 05:44:23 -0700 (PDT)
Message-Id: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net, choijoshua@example.net
Cc: 
Subject: [Bug 1297] Changed - ClassCastException Testing Database in 1.6
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1297

*** shadow/1297	Tue Apr 10 13:23:02 2001
--- shadow/1297.tmp.7787	Wed Apr 11 05:44:23 2001
***************
*** 2,11 ****
  | ClassCastException Testing Database in 1.6                                 |
  +----------------------------------------------------------------------------+
  |        Bug #: 1297                        Product: JMeter                  |
! |       Status: NEW                         Version: 1.5                     |
! |   Resolution:                            Platform: PC                      |
! |     Severity: Normal                   OS/Version:                         |
! |     Priority:                           Component: Main                    |
  +----------------------------------------------------------------------------+
  |  Assigned To: choijoshua@example.net                                |
  |  Reported By: choijoshua@example.net                                      |
--- 2,11 ----
  | ClassCastException Testing Database in 1.6                                 |
  +----------------------------------------------------------------------------+
  |        Bug #: 1297                        Product: JMeter                  |
! |       Status: RESOLVED                    Version: 1.5                     |
! |   Resolution: FIXED                      Platform: PC                      |
! |     Severity: Normal                   OS/Version: All                     |
! |     Priority: High                      Component: Main                    |
  +----------------------------------------------------------------------------+
  |  Assigned To: choijoshua@example.net                                |
  |  Reported By: choijoshua@example.net                                      |
***************
*** 42,45 ****
  org.apache.jmeter.config.LoginConfig but does not override the clone() method.  
  This means that aDbConfig.clone() returns an instance of LoginConfig.  Since 
  the Entry class clones ConfigElements before putting them on a hash, the return 
! value of getConfigElement() is a LoginConfig.  Hope this helps.
--- 42,48 ----
  org.apache.jmeter.config.LoginConfig but does not override the clone() method.  
  This means that aDbConfig.clone() returns an instance of LoginConfig.  Since 
  the Entry class clones ConfigElements before putting them on a hash, the return 
! value of getConfigElement() is a LoginConfig.  Hope this helps.
! 
! ------- Additional Comments From choijoshua@example.net  2001-04-11 05:44 -------
! Added the required clone() method to DbConfig.

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Wed Apr 11 17:23:52 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 85490 invoked by uid 500); 11 Apr 2001 17:23:49 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 85475 invoked by uid 500); 11 Apr 2001 17:23:47 -0000
Delivered-To: choijoshua@example.net
Date: 11 Apr 2001 17:23:46 -0000
Message-ID: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net
Subject: cvs commit: jakarta-jmeter/src/org/apache/jmeter/protocol/http/config/gui UrlConfigGui.java

mstover1    01/04/11 10:23:46

  Modified:    src/org/apache/jmeter/protocol/http/config UrlConfig.java
               src/org/apache/jmeter/protocol/http/config/gui
                        UrlConfigGui.java
  Log:
  Added https support to UrlConfig
  
  Revision  Changes    Path
  1.9       +28 -5     jakarta-jmeter/src/org/apache/jmeter/protocol/http/config/UrlConfig.java
  
  Index: UrlConfig.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/org/apache/jmeter/protocol/http/config/UrlConfig.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- UrlConfig.java	2001/04/11 12:45:07	1.8
  +++ UrlConfig.java	2001/04/11 17:23:45	1.9
  @@ -64,8 +64,8 @@
    *  Apache Foundation
    *
    *@author     Michael Stover
  - *@created    $Date: 2001/04/11 12:45:07 $
  - *@version    $Revision: 1.8 $
  + *@created    $Date: 2001/04/11 17:23:45 $
  + *@version    $Revision: 1.9 $
    ***********************************************************/
   
   public class UrlConfig extends AbstractConfigElement
  @@ -76,6 +76,7 @@
   	public final static String METHOD = "method";
   	public final static String ARGUMENTS = "arguments";
   	public final static String POST = "POST";
  +	public final static String PROTOCOL = "PROTOCOL";
   	public final static String GET = "GET";
   
   	/************************************************************
  @@ -102,7 +103,14 @@
   		{
   			setPath("/"+getPath());
   		}
  -		return new URL("http", (String)properties.get(DOMAIN), getPort(), (String)properties.get(PATH));
  +		if(getPort() == 0)
  +		{
  +			return new URL(getProtocol(),getDomain(),getPath());
  +		}
  +		else
  +		{
  +			return new URL(getProtocol(), (String)properties.get(DOMAIN), getPort(), (String)properties.get(PATH));
  +		}
   	}
   
   	 public int getPort() {
  @@ -110,7 +118,7 @@
   			if(port == null)
   			{
   				properties.remove(PORT);
  -				return 80;
  +				return 0;
   			}
   			else if(port instanceof Integer)
   			{
  @@ -122,11 +130,26 @@
   				properties.put(PORT,intPort);
   				return intPort.intValue();
   			}
  -			return 80;
  +			return 0;
  +	 }
  +
  +	 public String getProtocol()
  +	 {
  +		String protocol = (String)getProperty(PROTOCOL);
  +		return protocol;
  +	 }
  +
  +	 public void setProtocol(String protocol)
  +	 {
  +		properties.put(PROTOCOL,protocol);
   	 }
   
   	 public void setPort(int port) {
   	properties.put(PORT, new Integer(port));
  +	if(port == 0)
  +	{
  +		properties.remove(PORT);
  +	}
   	 }
   
   	public String getPath()
  
  
  
  1.6       +55 -1     jakarta-jmeter/src/org/apache/jmeter/protocol/http/config/gui/UrlConfigGui.java
  
  Index: UrlConfigGui.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/org/apache/jmeter/protocol/http/config/gui/UrlConfigGui.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- UrlConfigGui.java	2001/04/11 12:45:09	1.5
  +++ UrlConfigGui.java	2001/04/11 17:23:46	1.6
  @@ -79,12 +79,16 @@
   	private static String PATH = "path";
   	private static String POST = "post";
   	private static String GET = "get";
  +	private static String HTTP = "http";
  +	private static String HTTPS = "https";
   
   	private JTextField domain = new JTextField(30);
   	 private JTextField port = new JTextField(30);
   	private JTextField path = new JTextField(30);
   	private JRadioButton post = new JRadioButton("POST");
   	private JRadioButton get = new JRadioButton("GET");
  +	private JRadioButton http = new JRadioButton("HTTP");
  +	private JRadioButton https = new JRadioButton("HTTPS");
   	private NamePanel namePanel;
   	private boolean displayName = true;
   
  @@ -116,6 +120,14 @@
   		{
   			get.setSelected(true);
   		}
  +		if(http.getText().equalsIgnoreCase(model.getProtocol()))
  +		{
  +			http.setSelected(true);
  +		}
  +		else if(https.getText().equalsIgnoreCase(model.getProtocol()))
  +		{
  +			https.setSelected(true);
  +		}
   	}
   
   	public void setModel(Object model)
  @@ -133,7 +145,7 @@
   			namePanel.setModel(model);
   			this.add(namePanel);
   		}
  -
  +		this.add(getProtocolPanel());
   		this.add(getDomainPanel());
   		this.add(getPortPanel());
   		this.add(getPathPanel());
  @@ -175,6 +187,39 @@
   		return panel;
   	}
   
  +	private JPanel getProtocolPanel()
  +	{
  +		JPanel panel = new JPanel();
  +		panel.add(new JLabel("Protocol: "));
  +		ButtonGroup group = new ButtonGroup();
  +		group.add(http);
  +		group.add(https);
  +		if(http.getText().equalsIgnoreCase(model.getProtocol()))
  +		{
  +			http.setSelected(true);
  +		}
  +		else if(https.getText().equalsIgnoreCase(model.getProtocol()))
  +		{
  +			https.setSelected(true);
  +		}
  +		http.setActionCommand(HTTP);
  +		https.setActionCommand(HTTPS);
  +		http.addActionListener(this);
  +		https.addActionListener(this);
  +		JPanel buttons = new JPanel(new VerticalLayout(0,VerticalLayout.LEFT));
  +		JPanel postButton = new JPanel();
  +		postButton.add(http);
  +
  +		JPanel getButton = new JPanel();
  +		getButton.add(https);
  +
  +		buttons.add(getButton);
  +		buttons.add(postButton);
  +
  +		panel.add(buttons);
  +		return panel;
  +	}
  +
   	private JPanel getMethodPanel()
   	{
   		JPanel panel = new JPanel();
  @@ -248,6 +293,7 @@
   			}
   			catch (Exception ex)
   			{
  +				model.setPort(0);
   			}
   		}
   	}
  @@ -262,6 +308,14 @@
   		else if(name.equals(GET))
   		{
   			model.putProperty(UrlConfig.METHOD,UrlConfig.GET);
  +		}
  +		else if(name.equals(HTTP))
  +		{
  +			model.putProperty(UrlConfig.PROTOCOL,"http");
  +		}
  +		else if(name.equals(HTTPS))
  +		{
  +			model.putProperty(UrlConfig.PROTOCOL,"https");
   		}
   	}
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Thu Apr 19 07:31:28 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 42869 invoked by uid 500); 19 Apr 2001 07:31:14 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 42821 invoked from network); 19 Apr 2001 07:31:07 -0000
Date: Thu, 19 Apr 2001 00:30:29 -0700 (PDT)
Message-Id: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net
Cc: 
Subject: [Bug 1386] New - Broken link to "Running a test script"
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1386

*** shadow/1386	Thu Apr 19 00:30:28 2001
--- shadow/1386.tmp.27434	Thu Apr 19 00:30:29 2001
***************
*** 0 ****
--- 1,22 ----
+ +============================================================================+
+ | Broken link to "Running a test script"                                     |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1386                        Product: JMeter                  |
+ |       Status: NEW                         Version: 1.5                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority:                           Component: Main                    |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: choijoshua@example.net                                |
+ |  Reported By: choijoshua@example.net                                           |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL: http://jakarta.apache.org/jmeter/user_manual/index.html      |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Should be lower case r in running.html, not Running.html.
+ 
+ This is the "Usage" page, and the link is in the bulleted list at the top.
+ 
+ Thanks!
+ Jeff

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Thu Apr 19 12:01:15 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 57344 invoked by uid 500); 19 Apr 2001 12:01:14 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 57316 invoked from network); 19 Apr 2001 12:01:14 -0000
Date: Thu, 19 Apr 2001 05:03:57 -0700 (PDT)
Message-Id: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net, choijoshua@example.net
Cc: 
Subject: [Bug 1386] Changed - Broken link to "Running a test script"
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1386

*** shadow/1386	Thu Apr 19 00:30:29 2001
--- shadow/1386.tmp.28125	Thu Apr 19 05:03:57 2001
***************
*** 2,11 ****
  | Broken link to "Running a test script"                                     |
  +----------------------------------------------------------------------------+
  |        Bug #: 1386                        Product: JMeter                  |
! |       Status: NEW                         Version: 1.5                     |
! |   Resolution:                            Platform: PC                      |
  |     Severity: Normal                   OS/Version: All                     |
! |     Priority:                           Component: Main                    |
  +----------------------------------------------------------------------------+
  |  Assigned To: choijoshua@example.net                                |
  |  Reported By: choijoshua@example.net                                           |
--- 2,11 ----
  | Broken link to "Running a test script"                                     |
  +----------------------------------------------------------------------------+
  |        Bug #: 1386                        Product: JMeter                  |
! |       Status: RESOLVED                    Version: 1.5                     |
! |   Resolution: FIXED                      Platform: PC                      |
  |     Severity: Normal                   OS/Version: All                     |
! |     Priority: High                      Component: Main                    |
  +----------------------------------------------------------------------------+
  |  Assigned To: choijoshua@example.net                                |
  |  Reported By: choijoshua@example.net                                           |

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Thu Apr 19 12:16:22 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 78708 invoked by uid 500); 19 Apr 2001 12:16:22 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 78673 invoked from network); 19 Apr 2001 12:16:22 -0000
Date: Thu, 19 Apr 2001 05:04:25 -0700 (PDT)
Message-Id: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net, choijoshua@example.net
Cc: 
Subject: [Bug 1265] Changed - version 1.6 wrong link in userdocs for user_manual/Running.html
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1265

*** shadow/1265	Mon Apr  9 07:39:44 2001
--- shadow/1265.tmp.28133	Thu Apr 19 05:04:25 2001
***************
*** 2,9 ****
  | version 1.6 wrong link in userdocs for user_manual/Running.html            |
  +----------------------------------------------------------------------------+
  |        Bug #: 1265                        Product: JMeter                  |
! |       Status: NEW                         Version: unspecified             |
! |   Resolution:                            Platform: PC                      |
  |     Severity: Minor                    OS/Version: Linux                   |
  |     Priority: Low                       Component: Main                    |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | version 1.6 wrong link in userdocs for user_manual/Running.html            |
  +----------------------------------------------------------------------------+
  |        Bug #: 1265                        Product: JMeter                  |
! |       Status: RESOLVED                    Version: unspecified             |
! |   Resolution: FIXED                      Platform: PC                      |
  |     Severity: Minor                    OS/Version: Linux                   |
  |     Priority: Low                       Component: Main                    |
  +----------------------------------------------------------------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Fri Apr 27 04:44:49 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 72846 invoked by uid 500); 27 Apr 2001 04:44:45 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 72832 invoked from network); 27 Apr 2001 04:44:43 -0000
Date: Thu, 26 Apr 2001 21:46:23 -0700 (PDT)
Message-Id: <choijoshua@example.net>
From: choijoshua@example.net
To: choijoshua@example.net, choijoshua@example.net
Cc: 
Subject: [Bug 1263] Changed - jmeter 1.6 alpha looks for SSL.StaticProvider in stead of SSLStaticProvider
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1263

*** shadow/1263	Mon Apr  9 05:38:24 2001
--- shadow/1263.tmp.19077	Thu Apr 26 21:46:23 2001
***************
*** 21,24 ****
  NewDriver call gave a classNotFound exception for org.apache. ..... 
  util.SSL.StaticProvider. Indeed, this class doesn't exist in the apacheJmeter 
  jar, but there is a SSLStaticProvider in the util package one above. Suppose 
! this is a bug.
--- 21,32 ----
  NewDriver call gave a classNotFound exception for org.apache. ..... 
  util.SSL.StaticProvider. Indeed, this class doesn't exist in the apacheJmeter 
  jar, but there is a SSLStaticProvider in the util package one above. Suppose 
! this is a bug.
! 
! ------- Additional Comments From choijoshua@example.net  2001-04-26 21:46 -------
! Yes, I experienced this too.  It looks like it's a typo in the static 
! initializer of org.apache.jmeter.protocol.http.sampler.HTTPSampler.  The line 
! in there should read: 				
! 
! Class c = Class.forName
! ("org.apache.jmeter.protocol.http.util.SSLStaticProvider");

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net


From jmeter-devchoijoshua@example.net Mon Apr 30 07:02:54 2001
Return-Path: <jmeter-devchoijoshua@example.net>
Delivered-To: choijoshua@example.net
Received: (qmail 53814 invoked by uid 500); 30 Apr 2001 07:02:52 -0000
Mailing-List: contact choijoshua@example.net; run by ezmlm
Precedence: bulk
Reply-To: choijoshua@example.net
list-help: <mailto:choijoshua@example.net>
list-unsubscribe: <mailto:choijoshua@example.net>
list-post: <mailto:choijoshua@example.net>
Delivered-To: mailing list choijoshua@example.net
Received: (qmail 53801 invoked from network); 30 Apr 2001 07:02:51 -0000
Message-ID: <choijoshua@example.net>
Date: Mon, 30 Apr 2001 09:03:01 +0200 (CEST)
From: =?iso-8859-1?q?Stefan=20Gaffga?= <choijoshua@example.net>
Subject: CVS file based mirror available?
To: choijoshua@example.net
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N

Hi to all JMeter fans!

I don't have access to CVS because our firewall
blocks the ports needed to do so.

Can anybody please point me to a current
CVS-export in .zip or .tar.gz format?

Thanks a lot in advance.

Stefan


__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

---------------------------------------------------------------------
To unsubscribe, e-mail: choijoshua@example.net
For additional commands, e-mail: choijoshua@example.net



{'source': 'Apache Software Foundation Public Mail Archives'}