svn commit: r907679 - /jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java

2010-02-08 Thread sebb
Author: sebb
Date: Mon Feb  8 15:10:56 2010
New Revision: 907679

URL: http://svn.apache.org/viewvc?rev=907679view=rev
Log:
Javadoc clarification

Modified:

jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java

Modified: 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java?rev=907679r1=907678r2=907679view=diff
==
--- 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java
 (original)
+++ 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampleResult.java
 Mon Feb  8 15:10:56 2010
@@ -36,6 +36,12 @@
 
 private String method;
 
+/**
+ * The raw value of the Location: header; may be null. 
+ * This is supposed to be an absolute URL:
+ * a 
href=http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30;RFC2616 
sec14.30/a
+ * but is often relative.
+ */
 private String redirectLocation;
 
 private String queryString = ; // never null



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



svn commit: r907684 - /jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplers.java

2010-02-08 Thread sebb
Author: sebb
Date: Mon Feb  8 15:17:33 2010
New Revision: 907684

URL: http://svn.apache.org/viewvc?rev=907684view=rev
Log:
Use IP address rather than name to avoid DNS queries
Add basic redirect test

Modified:

jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplers.java

Modified: 
jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplers.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplers.java?rev=907684r1=907683r2=907684view=diff
==
--- 
jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplers.java
 (original)
+++ 
jakarta/jmeter/trunk/test/src/org/apache/jmeter/protocol/http/sampler/TestHTTPSamplers.java
 Mon Feb  8 15:17:33 2010
@@ -125,14 +125,38 @@
 assertEquals(http://www.apache.org/index.html?param1=value1;, 
config.getUrl().toString());
 }
 
+public void testRedirect() throws Exception {
+HTTPSamplerBase config = new HTTPNullSampler();
+config.setProtocol(http);
+config.setMethod(HTTPSamplerBase.GET);
+config.setDomain(192.168.0.1);
+HTTPSampleResult res = new HTTPSampleResult();
+res.sampleStart();
+res.setURL(config.getUrl());
+res.setResponseCode(301);
+res.sampleEnd();
+
+res.setRedirectLocation(./);
+config.followRedirects(res , 0);
+assertEquals(http://192.168.0.1/;, config.getUrl().toString());
+
+res.setRedirectLocation(.);
+config.followRedirects(res , 0);
+assertEquals(http://192.168.0.1/;, config.getUrl().toString());
+
+res.setRedirectLocation(../);
+config.followRedirects(res , 0);
+assertEquals(http://192.168.0.1/;, config.getUrl().toString());
+}
+
 public void testMakingUrl2() throws Exception {
 HTTPSamplerBase config = new HTTPNullSampler();
 config.setProtocol(http);
 config.setMethod(HTTPSamplerBase.GET);
 config.addArgument(param1, value1);
 config.setPath(/index.html?p1=p2);
-config.setDomain(www.apache.org);
-
assertEquals(http://www.apache.org/index.html?param1=value1p1=p2;, 
config.getUrl().toString());
+config.setDomain(192.168.0.1);
+assertEquals(http://192.168.0.1/index.html?param1=value1p1=p2;, 
config.getUrl().toString());
 }
 
 public void testMakingUrl3() throws Exception {
@@ -141,8 +165,8 @@
 config.setMethod(HTTPSamplerBase.POST);
 config.addArgument(param1, value1);
 config.setPath(/index.html?p1=p2);
-config.setDomain(www.apache.org);
-assertEquals(http://www.apache.org/index.html?p1=p2;, 
config.getUrl().toString());
+config.setDomain(192.168.0.1);
+assertEquals(http://192.168.0.1/index.html?p1=p2;, 
config.getUrl().toString());
 }
 
 // test cases for making Url, and exercise method
@@ -154,8 +178,8 @@
 config.setMethod(HTTPSamplerBase.GET);
 config.addArgument(param1, value1, =);
 config.setPath(/index.html);
-config.setDomain(www.apache.org);
-assertEquals(http://www.apache.org/index.html?param1=value1;, 
config.getUrl().toString());
+config.setDomain(192.168.0.1);
+assertEquals(http://192.168.0.1/index.html?param1=value1;, 
config.getUrl().toString());
 }
 
 public void testMakingUrl5() throws Exception {
@@ -164,8 +188,8 @@
 config.setMethod(HTTPSamplerBase.GET);
 config.addArgument(param1, , =);
 config.setPath(/index.html);
-config.setDomain(www.apache.org);
-assertEquals(http://www.apache.org/index.html?param1=;, 
config.getUrl().toString());
+config.setDomain(192.168.0.1);
+assertEquals(http://192.168.0.1/index.html?param1=;, 
config.getUrl().toString());
 }
 
 public void testMakingUrl6() throws Exception {
@@ -174,8 +198,8 @@
 config.setMethod(HTTPSamplerBase.GET);
 config.addArgument(param1, , );
 config.setPath(/index.html);
-config.setDomain(www.apache.org);
-assertEquals(http://www.apache.org/index.html?param1;, 
config.getUrl().toString());
+config.setDomain(192.168.0.1);
+assertEquals(http://192.168.0.1/index.html?param1;, 
config.getUrl().toString());
 }
 
 // test cases for making Url, and exercise method
@@ -187,8 +211,8 @@
 config.setMethod(HTTPSamplerBase.GET);
 config.parseArguments(param1=value1);
 config.setPath(/index.html);
-

[g...@vmgump]: Project jakarta-jmeter-svn (in module jakarta-jmeter) failed

2010-02-08 Thread Gump-build
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project jakarta-jmeter-svn has an issue affecting its community integration.
This issue affects 2 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- jakarta-jmeter-svn :  Pure Java load testing and performance measurement 
tool.
   ...
- jakarta-jmeter-test :  Pure Java load testing and performance measurement 
tool.
   ...


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-jmeter/jakarta-jmeter-svn/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Made directory [/srv/gump/public/workspace/jakarta-jmeter/build/core]
 -INFO- Made directory [/srv/gump/public/workspace/jakarta-jmeter/build/jorphan]
 -INFO- Made directory 
[/srv/gump/public/workspace/jakarta-jmeter/build/components]
 -INFO- Made directory 
[/srv/gump/public/workspace/jakarta-jmeter/build/protocol/http]
 -INFO- Made directory 
[/srv/gump/public/workspace/jakarta-jmeter/build/monitor/model]
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-jmeter/jakarta-jmeter-svn/gump_work/build_jakarta-jmeter_jakarta-jmeter-svn.html
Work Name: build_jakarta-jmeter_jakarta-jmeter-svn (Type: Build)
Work ended in a state of : Failed
Elapsed: 15 secs
Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true 
-Xbootclasspath/p:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar
 org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only '-Dversion.projectfile=$Revision: 888330 $' 
-Djmeter.version=08022010 -Dgump.run=true '-Ddate.projectfile=$Date: 2009-12-08 
03:17:10 -0800 (Tue, 08 Dec 2009) $' gump-build 
[Working Directory: /srv/gump/public/workspace/jakarta-jmeter]
CLASSPATH: 
/usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/jakarta-jmeter/build/core:/srv/gump/public/workspace/jakarta-jmeter/build/jorphan:/srv/gump/public/workspace/jakarta-jmeter/build/components:/srv/gump/public/workspace/jakarta-jmeter/build/protocol/http:/srv/gump/public/workspace/jakarta-jmeter/build/monitor/model:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/package
 
s/jsse1.0.3/lib/jcert.jar:/srv/gump/packages/jsse1.0.3/lib/jnet.jar:/srv/gump/packages/jsse1.0.3/lib/jsse.jar:/srv/gump/packages/jms1.1/lib/jms.jar:/srv/gump/public/workspace/rhino/build/rhino_08022010/js.jar:/srv/gump/public/workspace/jakarta-bsf/build/lib/bsf.jar:/srv/gump/public/workspace/apache-commons/codec/dist/commons-codec-08022010.jar:/srv/gump/public/workspace/apache-commons/io/target/commons-io-08022010.jar:/srv/gump/public/workspace/commons-lang-2.x/target/commons-lang-2.4.jar:/srv/gump/public/workspace/commons-jexl-1.x/target/commons-jexl-1.1.1-SNAPSHOT.jar:/srv/gump/public/workspace/httpcomponents/oac.hc3x/dist/commons-httpclient.jar:/srv/gump/public/workspace/apache-commons/net/dist/commons-net-08022010.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-08022010.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api
 

DO NOT REPLY [Bug 47622] Allow JMeter Proxy to record HTTPS

2010-02-08 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47622

--- Comment #15 from Victor Klepikovskiy vklepikovs...@gmail.com 2010-02-08 
14:47:57 UTC ---
I found a small bug - if I run JMeter and the current directory is not
jmeter/bin, HTTPS recording feature does not work, seems JMeter can not read
certificate file in this case.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



svn commit: r907839 - in /jakarta/jmeter/trunk: bin/testfiles/ src/components/org/apache/jmeter/config/ src/core/org/apache/jmeter/services/ test/src/org/apache/jmeter/config/ xdocs/ xdocs/usermanual/

2010-02-08 Thread sebb
Author: sebb
Date: Mon Feb  8 23:05:38 2010
New Revision: 907839

URL: http://svn.apache.org/viewvc?rev=907839view=rev
Log:
Bug 46790 - CSV Data Set Config should be able to parse CSV headers

Added:
jakarta/jmeter/trunk/bin/testfiles/testheader.csv
Modified:
jakarta/jmeter/trunk/src/components/org/apache/jmeter/config/CSVDataSet.java
jakarta/jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java
jakarta/jmeter/trunk/test/src/org/apache/jmeter/config/TestCVSDataSet.java
jakarta/jmeter/trunk/xdocs/changes.xml
jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml

Added: jakarta/jmeter/trunk/bin/testfiles/testheader.csv
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/bin/testfiles/testheader.csv?rev=907839view=auto
==
--- jakarta/jmeter/trunk/bin/testfiles/testheader.csv (added)
+++ jakarta/jmeter/trunk/bin/testfiles/testheader.csv Mon Feb  8 23:05:38 2010
@@ -0,0 +1,5 @@
+A|B|C|D|1
+a1|b1|c1|d1
+a2|b2|c2|d2
+a3|b3|c3|d3
+a4|b4|c4|d4
\ No newline at end of file

Modified: 
jakarta/jmeter/trunk/src/components/org/apache/jmeter/config/CSVDataSet.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/components/org/apache/jmeter/config/CSVDataSet.java?rev=907839r1=907838r2=907839view=diff
==
--- 
jakarta/jmeter/trunk/src/components/org/apache/jmeter/config/CSVDataSet.java 
(original)
+++ 
jakarta/jmeter/trunk/src/components/org/apache/jmeter/config/CSVDataSet.java 
Mon Feb  8 23:05:38 2010
@@ -91,10 +91,9 @@
 recycle = true;
 return this;
 }
-/*
- * (non-Javadoc)
- *
- * @see 
org.apache.jmeter.engine.event.LoopIterationListener#iterationStart(org.apache.jmeter.engine.event.LoopIterationEvent)
+
+/**
+ * {...@inheritdoc}
  */
 public void iterationStart(LoopIterationEvent iterEvent) {
 FileServer server = FileServer.getFileServer();
@@ -117,8 +116,18 @@
 alias = _fileName+@+mode; // user-specified key
 break;
 }
-server.reserveFile(_fileName, getFileEncoding(), alias);
-vars = JOrphanUtils.split(getVariableNames(), ,); // $NON-NLS-1$
+final String names = getVariableNames();
+if (names == null || names.length()==0) {
+String header = server.reserveFile(_fileName, 
getFileEncoding(), alias, true);
+try {
+vars = CSVSaveService.csvSplitString(header, 
getDelimiter().charAt(0));
+} catch (IOException e) {
+log.warn(Could not split CSV header line,e);
+}
+} else {
+server.reserveFile(_fileName, getFileEncoding(), alias);
+vars = JOrphanUtils.split(names, ,); // $NON-NLS-1$  
  
+}
 }
 try {
 String delim = getDelimiter();

Modified: 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java?rev=907839r1=907838r2=907839view=diff
==
--- jakarta/jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java 
(original)
+++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java 
Mon Feb  8 23:05:38 2010
@@ -118,7 +118,7 @@
  * @param charsetName - the character set encoding to use for the file 
(may be null)
  */
 public synchronized void reserveFile(String filename, String charsetName) {
-reserveFile(filename, charsetName, filename);
+reserveFile(filename, charsetName, filename, false);
 }
 
 /**
@@ -130,23 +130,45 @@
  * @param alias - the name to be used to access the object (must not be 
null)
  */
 public synchronized void reserveFile(String filename, String charsetName, 
String alias) {
+reserveFile(filename, charsetName, alias, false);
+}
+
+/**
+ * Creates an association between a filename and a File inputOutputObject,
+ * and stores it for later use - unless it is already stored.
+ *
+ * @param filename - relative (to base) or absolute file name (must not be 
null)
+ * @param charsetName - the character set encoding to use for the file 
(may be null)
+ * @param alias - the name to be used to access the object (must not be 
null)
+ * @param hasHeader true if the file has a header line describing the 
contents
+ */
+public synchronized String reserveFile(String filename, String 
charsetName, String alias, boolean hasHeader) {
 if (filename == null){
 throw new IllegalArgumentException(Filename must not be null);
 }
 if (alias == null){
 throw new 

DO NOT REPLY [Bug 46790] CSV Data Set Config should be able to parse CSV headers

2010-02-08 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46790

Sebb s...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #1 from Sebb s...@apache.org 2010-02-08 15:14:51 UTC ---
Fixed in SVN.

Did not add a new checkbox - if the Variable Names field is empty, then the
code assumes that the names are defined in the file header.

URL: http://svn.apache.org/viewvc?rev=907839view=rev
Log:
Bug 46790 - CSV Data Set Config should be able to parse CSV headers

Added:
   jakarta/jmeter/trunk/bin/testfiles/testheader.csv
Modified:
   jakarta/jmeter/trunk/src/components/org/apache/jmeter/config/CSVDataSet.java
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java
   jakarta/jmeter/trunk/test/src/org/apache/jmeter/config/TestCVSDataSet.java
   jakarta/jmeter/trunk/xdocs/changes.xml
   jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



svn commit: r907847 - in /jakarta/jmeter/trunk: src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java xdocs/usermanual/component_reference.xml

2010-02-08 Thread sebb
Author: sebb
Date: Mon Feb  8 23:50:02 2010
New Revision: 907847

URL: http://svn.apache.org/viewvc?rev=907847view=rev
Log:
Bug 47622 - dummy JMeter certificate resides in the bin directory
Document the properties

Modified:

jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml

Modified: 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java?rev=907847r1=907846r2=907847view=diff
==
--- 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
 (original)
+++ 
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
 Mon Feb  8 23:50:02 2010
@@ -97,10 +97,12 @@
 
 // Proxy configuration SSL
 private static final String CERT_DIRECTORY =
-JMeterUtils.getPropDefault(proxy.cert.directory, .); // 
$NON-NLS-1$ $NON-NLS-2$
+JMeterUtils.getPropDefault(proxy.cert.directory, 
JMeterUtils.getJMeterBinDir()); // $NON-NLS-1$
 
+private static final String CERT_FILE_DEFAULT = proxyserver.jks;// 
$NON-NLS-1$
+
 private static final String CERT_FILE =
-JMeterUtils.getPropDefault(proxy.cert.file, proxyserver.jks); // 
$NON-NLS-1$ $NON-NLS-2$
+JMeterUtils.getPropDefault(proxy.cert.file, CERT_FILE_DEFAULT); // 
$NON-NLS-1$
 
 private static final char[] KEYSTORE_PASSWORD =
 JMeterUtils.getPropDefault(proxy.cert.keystorepass, 
password).toCharArray(); // $NON-NLS-1$ $NON-NLS-2$

Modified: jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=907847r1=907846r2=907847view=diff
==
--- jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml Mon Feb  8 
23:50:02 2010
@@ -4504,6 +4504,18 @@
 You will need to accept the certificate in order to allow the JMeter Proxy to 
intercept the SSL traffic in order to
 record it. You should only accept the certificate temporarily.
 /p
+p
+The following properties can be used to change the certificate that is used:
+ul
+liproxy.cert.directory - the directory in which to find the certificate 
(default = JMeter bin/)/li
+liproxy.cert.file - name of the keystore file (default 
proxyserver.jks)/li
+liproxy.cert.keystorepass - keystore password (default password)/li
+liproxy.cert.keypassword - certificate key password (default password)/li
+liproxy.cert.type - the certificate type (default JKS)/li
+liproxy.cert.factory - the factory (default SunX509)/li
+liproxy.ssl.protocol - the protocol to be used (default SSLv3)/li
+/ul
+/p
 note
 If your browser currently uses a proxy (e.g. a company intranet may route all 
external requests via a proxy),
 then you need to a href=get-started.html#proxy_servertell JMeter to use 
that proxy/a before starting JMeter, 



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



DO NOT REPLY [Bug 47622] Allow JMeter Proxy to record HTTPS

2010-02-08 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47622

--- Comment #16 from Sebb s...@apache.org 2010-02-08 15:51:09 UTC ---
Thanks for the report. The code has been changed to default to the JMeter bin
directory instead of the current working directory:

URL: http://svn.apache.org/viewvc?rev=907847view=rev
Log:
Bug 47622 - dummy JMeter certificate resides in the bin directory
Document the properties

Modified:
  
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
   jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

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



svn commit: r907850 - /jakarta/jmeter/trunk/test/src/org/apache/jmeter/config/TestCVSDataSet.java

2010-02-08 Thread sebb
Author: sebb
Date: Tue Feb  9 00:04:35 2010
New Revision: 907850

URL: http://svn.apache.org/viewvc?rev=907850view=rev
Log:
Oops! forgot to change the test case when the data file was changed

Modified:
jakarta/jmeter/trunk/test/src/org/apache/jmeter/config/TestCVSDataSet.java

Modified: 
jakarta/jmeter/trunk/test/src/org/apache/jmeter/config/TestCVSDataSet.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/test/src/org/apache/jmeter/config/TestCVSDataSet.java?rev=907850r1=907849r2=907850view=diff
==
--- jakarta/jmeter/trunk/test/src/org/apache/jmeter/config/TestCVSDataSet.java 
(original)
+++ jakarta/jmeter/trunk/test/src/org/apache/jmeter/config/TestCVSDataSet.java 
Tue Feb  9 00:04:35 2010
@@ -104,13 +104,13 @@
 assertEquals(a1,threadVars.get(A));
 assertEquals(b1,threadVars.get(B));
 assertEquals(c1,threadVars.get(C));
-assertEquals(d1,threadVars.get(D 1));
+assertEquals(d1,threadVars.get(D|1));
 csv.iterationStart(null);
 assertNull(threadVars.get(a));
 assertEquals(a2,threadVars.get(A));
 assertEquals(b2,threadVars.get(B));
 assertEquals(c2,threadVars.get(C));
-assertEquals(d2,threadVars.get(D 1));
+assertEquals(d2,threadVars.get(D|1));
 }
 
 private CSVDataSet initCSV(){



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



Re: TCPClient classname from TCP config not applied

2010-02-08 Thread sebb
On 23/12/2009, Andrey Pohilko a...@fininfor.ru wrote:
 Alright!

  What should I do to report this unknown bug to developers?


Best to file a Bugzilla request - please see:

https://issues.apache.org/bugzilla/

  С уважением,
  Андрей Похилько

 -Original Message-
  From: sebb [mailto:seb...@gmail.com]
  Sent: Wednesday, December 23, 2009 1:20 AM
  To: JMeter Developers List
  Subject: Re: TCPClient classname from TCP config not applied

  2009/12/22 Andrey Pohilko a...@fininfor.ru:
   Hello!
  
  
  
   I wrote my own TCPClient class, it successfully working when I fill
   TCPClient classname field in separate TCP Samplers. But it is not
  applied
   when I fill the same field in TCP Sampler Config in test plan. All other
   options from config (hostname, port, etc) works fine, but classname is
  not.
  
  
  
   Is that a feature, known or unknown bug?
  

  The last option ;-)

  
   Thanks,
  
   Andrey
  
  


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


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



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



[g...@vmgump]: Project jakarta-jmeter-svn (in module jakarta-jmeter) failed

2010-02-08 Thread Gump-build
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project jakarta-jmeter-svn has an issue affecting its community integration.
This issue affects 2 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- jakarta-jmeter-svn :  Pure Java load testing and performance measurement 
tool.
   ...
- jakarta-jmeter-test :  Pure Java load testing and performance measurement 
tool.
   ...


Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-jmeter/jakarta-jmeter-svn/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Made directory [/srv/gump/public/workspace/jakarta-jmeter/build/core]
 -INFO- Made directory [/srv/gump/public/workspace/jakarta-jmeter/build/jorphan]
 -INFO- Made directory 
[/srv/gump/public/workspace/jakarta-jmeter/build/components]
 -INFO- Made directory 
[/srv/gump/public/workspace/jakarta-jmeter/build/protocol/http]
 -INFO- Made directory 
[/srv/gump/public/workspace/jakarta-jmeter/build/monitor/model]
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-jmeter/jakarta-jmeter-svn/gump_work/build_jakarta-jmeter_jakarta-jmeter-svn.html
Work Name: build_jakarta-jmeter_jakarta-jmeter-svn (Type: Build)
Work ended in a state of : Failed
Elapsed: 32 secs
Command Line: /usr/lib/jvm/java-6-sun/bin/java -Djava.awt.headless=true 
-Xbootclasspath/p:/srv/gump/public/workspace/xml-xalan/build/serializer.jar:/srv/gump/public/workspace/xml-xalan/build/xalan-unbundled.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar:/srv/gump/public/workspace/xml-xerces2/build/xercesImpl.jar
 org.apache.tools.ant.Main -Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only '-Dversion.projectfile=$Revision: 888330 $' 
-Djmeter.version=08022010 -Dgump.run=true '-Ddate.projectfile=$Date: 2009-12-08 
03:17:10 -0800 (Tue, 08 Dec 2009) $' gump-build 
[Working Directory: /srv/gump/public/workspace/jakarta-jmeter]
CLASSPATH: 
/usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/jakarta-jmeter/build/core:/srv/gump/public/workspace/jakarta-jmeter/build/jorphan:/srv/gump/public/workspace/jakarta-jmeter/build/components:/srv/gump/public/workspace/jakarta-jmeter/build/protocol/http:/srv/gump/public/workspace/jakarta-jmeter/build/monitor/model:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/package
 
s/jsse1.0.3/lib/jcert.jar:/srv/gump/packages/jsse1.0.3/lib/jnet.jar:/srv/gump/packages/jsse1.0.3/lib/jsse.jar:/srv/gump/packages/jms1.1/lib/jms.jar:/srv/gump/public/workspace/rhino/build/rhino_08022010/js.jar:/srv/gump/public/workspace/jakarta-bsf/build/lib/bsf.jar:/srv/gump/public/workspace/apache-commons/codec/dist/commons-codec-08022010.jar:/srv/gump/public/workspace/apache-commons/io/target/commons-io-08022010.jar:/srv/gump/public/workspace/commons-lang-2.x/target/commons-lang-2.4.jar:/srv/gump/public/workspace/commons-jexl-1.x/target/commons-jexl-1.1.1-SNAPSHOT.jar:/srv/gump/public/workspace/httpcomponents/oac.hc3x/dist/commons-httpclient.jar:/srv/gump/public/workspace/apache-commons/net/dist/commons-net-08022010.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-08022010.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api