DO NOT REPLY [Bug 38702] - https does not send cookie data on linux

2006-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38702





--- Additional Comments From [EMAIL PROTECTED]  2006-02-18 16:33 ---
You seem to be using a different version of JMeter on Linux - 2-1.20060126
rather than 2.1.1.

Also, on Linux JMeter complains:
jmeter.reporters.ResultCollector: Unexpected EOF trying to find XML end marker
in ../output/logout.jtl 
jmeter.reporters.ResultCollector: Unexpected EOF trying to find XML end marker
in ../output/main.jtl

This may be because these files were previously written as CSV files. 

I suspect the EOF problem is causing the ResultCollector NPEs later.

Please can you try re-running the test with 2.1.1 on Linux having first renamed
or deleted the jtl files?

There is also a problem with the Keystore, but that seems to be the same for
both runs, so is hopefully irrelevant,

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r378733 - /jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/util/JsseSSLManager.java

2006-02-18 Thread sebb
Author: sebb
Date: Sat Feb 18 07:45:50 2006
New Revision: 378733

URL: http://svn.apache.org/viewcvs?rev=378733&view=rev
Log:
Convert some detailed logging to debug level

Modified:

jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/util/JsseSSLManager.java

Modified: 
jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/util/JsseSSLManager.java
URL: 
http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/util/JsseSSLManager.java?rev=378733&r1=378732&r2=378733&view=diff
==
--- 
jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/util/JsseSSLManager.java
 (original)
+++ 
jakarta/jmeter/branches/rel-2-1/src/core/org/apache/jmeter/util/JsseSSLManager.java
 Sat Feb 18 07:45:50 2006
@@ -168,17 +168,19 @@
log.error("Exception occurred", e);
}
 
-   String[] dCiphers = 
this.context.getSocketFactory().getDefaultCipherSuites();
-   String[] sCiphers = 
this.context.getSocketFactory().getSupportedCipherSuites();
-   int len = (dCiphers.length > sCiphers.length) ? 
dCiphers.length : sCiphers.length;
-   for (int i = 0; i < len; i++) {
-   if (i < dCiphers.length) {
-   log.info("Default Cipher: " + 
dCiphers[i]);
-   }
-   if (i < sCiphers.length) {
-   log.info("Supported Cipher: " + 
sCiphers[i]);
-   }
-   }
+if (log.isDebugEnabled()){
+   String[] dCiphers = 
this.context.getSocketFactory().getDefaultCipherSuites();
+   String[] sCiphers = 
this.context.getSocketFactory().getSupportedCipherSuites();
+   int len = (dCiphers.length > sCiphers.length) ? 
dCiphers.length : sCiphers.length;
+   for (int i = 0; i < len; i++) {
+   if (i < dCiphers.length) {
+   log.debug("Default Cipher: " + 
dCiphers[i]);
+   }
+   if (i < sCiphers.length) {
+   log.debug("Supported Cipher: " + 
sCiphers[i]);
+   }
+   }
+}
}
return this.context;
}



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 38694] - UnsupportedEncodingException in Webservice (SOAP) Request

2006-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38694


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2006-02-18 17:03 ---
The jmeter.log file does not seem to be the correct one - I can find no
reference to java.io.UnsupportedEncodingException in it.

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 38646] - regular expression extractor using random match number doesn't reset variable in loop

2006-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38646


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEEDINFO|ASSIGNED




--- Additional Comments From [EMAIL PROTECTED]  2006-02-18 17:34 ---
Thanks for the update.

The code for resetting the previous values of the _gn variables is currently
only invoked where the match number is < 0 - the negative number was spefically
designed for use with the For Controller.

I'll fix this, but in the meantime, using ${inputVar} rather than ${inputVar_g1}
should fix the problem for the If controller.

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 38646] - regular expression extractor using random match number doesn't reset variable in loop

2006-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38646


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2006-02-18 19:22 ---
Test cases and fix have been applied to 2.1 branch. Note that only _g0 and _g1
variables are currently cleared.

The code now additionally sets refName_g to the number of groups in the RE (in
case that is useful)

The code will be in the next nightly.

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r378752 - in /jakarta/jmeter/branches/rel-2-1: src/components/org/apache/jmeter/extractor/RegexExtractor.java test/src/org/apache/jmeter/extractor/TestRegexExtractor.java xdocs/changes.xml

2006-02-18 Thread sebb
Author: sebb
Date: Sat Feb 18 10:24:08 2006
New Revision: 378752

URL: http://svn.apache.org/viewcvs?rev=378752&view=rev
Log:
Bug 38646 - remove stale values if match fails
Also set refname_g to number of groups in regex

Modified:

jakarta/jmeter/branches/rel-2-1/src/components/org/apache/jmeter/extractor/RegexExtractor.java

jakarta/jmeter/branches/rel-2-1/test/src/org/apache/jmeter/extractor/TestRegexExtractor.java
jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml
jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/component_reference.xml

Modified: 
jakarta/jmeter/branches/rel-2-1/src/components/org/apache/jmeter/extractor/RegexExtractor.java
URL: 
http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/src/components/org/apache/jmeter/extractor/RegexExtractor.java?rev=378752&r1=378751&r2=378752&view=diff
==
--- 
jakarta/jmeter/branches/rel-2-1/src/components/org/apache/jmeter/extractor/RegexExtractor.java
 (original)
+++ 
jakarta/jmeter/branches/rel-2-1/src/components/org/apache/jmeter/extractor/RegexExtractor.java
 Sat Feb 18 10:24:08 2006
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003-2005 The Apache Software Foundation.
+ * Copyright 2003-2006 The Apache Software Foundation.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -41,7 +41,10 @@
 import org.apache.oro.text.regex.Perl5Matcher;
 import org.apache.oro.text.regex.Util;
 
+// @see org.apache.jmeter.extractor.TestRegexExtractor for unit tests
+
 /**
+ * 
  * @version $Revision$
  */
 public class RegexExtractor extends AbstractTestElement implements 
PostProcessor, Serializable {
@@ -126,7 +129,12 @@
if (match != null) {
vars.put(refName, 
generateResult(match));
saveGroups(vars, refName, 
match);
-   }
+   } else {
+vars.remove(refName + "_g"); // $NON-NLS-1$
+vars.remove(refName + "_g0"); // $NON-NLS-1$
+vars.remove(refName + "_g1"); // $NON-NLS-1$
+//TODO - remove other groups if present?
+}
} else // < 0 means we save all the matches
{
int prevCount = 0;
@@ -164,13 +172,16 @@
 
private void saveGroups(JMeterVariables vars, String basename, 
MatchResult match) {
StringBuffer buf = new StringBuffer();
+buf.append(basename);
+buf.append("_g"); // $NON-NLS-1$
+int pfxlen=buf.length();
+//Note: match.groups() includes group 0
for (int x = 0; x < match.groups(); x++) {
-   buf.append(basename);
-   buf.append("_g");
buf.append(x);
vars.put(buf.toString(), match.group(x));
-   buf.setLength(0);
+   buf.setLength(pfxlen);
}
+vars.put(buf.toString(), Integer.toString(match.groups()-1));
}
 
public Object clone() {

Modified: 
jakarta/jmeter/branches/rel-2-1/test/src/org/apache/jmeter/extractor/TestRegexExtractor.java
URL: 
http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/test/src/org/apache/jmeter/extractor/TestRegexExtractor.java?rev=378752&r1=378751&r2=378752&view=diff
==
--- 
jakarta/jmeter/branches/rel-2-1/test/src/org/apache/jmeter/extractor/TestRegexExtractor.java
 (original)
+++ 
jakarta/jmeter/branches/rel-2-1/test/src/org/apache/jmeter/extractor/TestRegexExtractor.java
 Sat Feb 18 10:24:08 2006
@@ -71,6 +71,8 @@
assertEquals("pinposition2", vars.get("regVal_g1"));
assertEquals("5", vars.get("regVal_g2"));
assertEquals("5", 
vars.get("regVal_g0"));
+assertNull(vars.get("regVal_g3"));
+assertEquals("2",vars.get("regVal_g"));
}
 
static void templateSetup(RegexExtractor rex, String tmp) {
@@ -87,6 +89,7 @@
assertEquals("query", vars.get("regVal_g2"));
assertEquals("ret", vars.get("regVal_g3"));
assertEquals("", vars.get("regVal"));
+assertEquals("3",vars.get("regVal_g"));
}
 
public void testTemplate2() throws Exception {
@@ -189,6 +192,39 @@
 assertEquals("initial", vars.get("regVal"));
 extractor.process();
 assertEquals("initial", vars.get("regVal"));
+}
+
+public void testDefault() throws Exception {
+extractor.setRe

DO NOT REPLY [Bug 32919] - User variables can not be used in field URL for the WebService(SOAP) Request (Beta Code) listener

2006-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32919


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2006-02-18 19:30 ---
This should be in 2.1.1 - please re-open if the bug still exists

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r378786 - in /jakarta/jmeter/branches/rel-2-1: src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java xdocs/changes.xml

2006-02-18 Thread sebb
Author: sebb
Date: Sat Feb 18 13:42:48 2006
New Revision: 378786

URL: http://svn.apache.org/viewcvs?rev=378786&view=rev
Log:
Bug 38640 - fix WebService Sampler pooling

Modified:

jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java
jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml

Modified: 
jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java
URL: 
http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java?rev=378786&r1=378785&r2=378786&view=diff
==
--- 
jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java
 (original)
+++ 
jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/sampler/WebServiceSampler.java
 Sat Feb 18 13:42:48 2006
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003-2005 The Apache Software Foundation.
+ * Copyright 2003-2006 The Apache Software Foundation.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -127,31 +127,6 @@
}
 
/**
-* Method uses jorphan TextFile class to load the contents of the file. 
I
-* wonder if we should cache the DOM Document to save on parsing the
-* message. Parsing XML is CPU intensive, so it could restrict the 
number of
-* threads a test plan can run effectively. To cache the documents, it 
may
-* be good to have an external class to provide caching that is 
efficient.
-* We could just use a HashMap, but for large tests, it will be slow.
-* Ideally, the cache would be indexed, so that large tests will run
-* efficiently.
-* 
-* @return String contents of the file
-*/
-   private File retrieveRuntimeXmlData() {
-   String file = getRandomFileName();
-   if (file.length() > 0) {
-   if (this.getReadResponse()) {
-   TextFile tfile = new TextFile(file);
-   fileContents = tfile.getText();
-   }
-   return new File(file);
-   } else {
-   return null;
-   }
-   }
-
-   /**
 * Method is used internally to check if a random file should be used 
for
 * the message. Messages must be valid. This is one way to load test 
with
 * different messages. The limitation of this approach is parsing XML 
takes
@@ -320,12 +295,12 @@
return getPropertyAsString(WSDL_URL);
}
 
-   /**
+   /*
 * The method will check to see if JMeter was started in NonGui mode. 
If it
 * was, it will try to pick up the proxy host and port values if they 
were
 * passed to JMeter.java.
 */
-   public void checkProxy() {
+   private void checkProxy() {
if (System.getProperty("JMeter.NonGui") != null && 
System.getProperty("JMeter.NonGui").equals("true")) {
this.setUseProxy(true);
// we check to see if the proxy host and port are set
@@ -334,54 +309,61 @@
if (host == null || host.length() == 0) {
// it's not set, lets check if the user passed
// proxy host and port from command line
-   if (System.getProperty("http.proxyHost") != 
null) {
-   host = 
System.getProperty("http.proxyHost");
+host = System.getProperty("http.proxyHost");
+   if (host != null) {
this.setProxyHost(host);
}
}
if (port == null || port.length() == 0) {
// it's not set, lets check if the user passed
// proxy host and port from command line
-   if (System.getProperty("http.proxyPort") != 
null) {
-   port = 
System.getProperty("http.proxyPort");
+port = System.getProperty("http.proxyPort");
+   if (port != null) {
this.setProxyPort(port);
}
}
}
}
 
-   /**
+   /*
 * This method uses Apache soap util to create the proper DOM elements.
 * 
 * @return Element
 */
-   public org.w3c.dom.Element createDocument() {
-   if (getPropertyAsBoolean(MEMORY_CACHE)) {
-  

DO NOT REPLY [Bug 38640] - Web service SOAP data is repeated across requests if "Memory cache" is active

2006-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38640


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2006-02-18 22:43 ---
Problem is that the file name is used as the cache key, but if the XML is
provided in the test plan, then there is no file name.

Code has been fixed in 2.1 branch to only use the pool for XML files, as
test-plan documents can contain variables.

The next nightly build should contain the fix - hopefully this has fixed the
problem?

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r378789 - in /jakarta/jmeter/branches/rel-2-1: src/protocol/http/org/apache/jmeter/protocol/http/modifier/AnchorModifier.java xdocs/changes.xml

2006-02-18 Thread sebb
Author: sebb
Date: Sat Feb 18 13:58:12 2006
New Revision: 378789

URL: http://svn.apache.org/viewcvs?rev=378789&view=rev
Log:
Bug 38474 - HTML Link Parser doesn't follow frame links

Modified:

jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/modifier/AnchorModifier.java
jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml

Modified: 
jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/modifier/AnchorModifier.java
URL: 
http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/modifier/AnchorModifier.java?rev=378789&r1=378788&r2=378789&view=diff
==
--- 
jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/modifier/AnchorModifier.java
 (original)
+++ 
jakarta/jmeter/branches/rel-2-1/src/protocol/http/org/apache/jmeter/protocol/http/modifier/AnchorModifier.java
 Sat Feb 18 13:58:12 2006
@@ -1,5 +1,5 @@
 /*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2005 The Apache Software Foundation.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -95,6 +95,7 @@
}
addAnchorUrls(html, result, sampler, potentialLinks);
addFormUrls(html, result, sampler, potentialLinks);
+   addFramesetUrls(html, result, sampler, potentialLinks);
if (potentialLinks.size() > 0) {
HTTPSamplerBase url = (HTTPSamplerBase) 
potentialLinks.get(rand.nextInt(potentialLinks.size()));
sampler.setDomain(url.getDomain());
@@ -192,4 +193,37 @@
}
}
}
+private void addFramesetUrls(Document html, HTTPSampleResult result,
+   HTTPSamplerBase config, List potentialLinks) {
+   String base = "";
+   NodeList baseList = html.getElementsByTagName("base");
+   if (baseList.getLength() > 0) {
+   base = baseList.item(0).getAttributes().getNamedItem("href")
+   .getNodeValue();
+   }
+   NodeList nodeList = html.getElementsByTagName("frame");
+   for (int i = 0; i < nodeList.getLength(); i++) {
+   Node tempNode = nodeList.item(i);
+   NamedNodeMap nnm = tempNode.getAttributes();
+   Node namedItem = nnm.getNamedItem("src");
+   if (namedItem == null) {
+   continue;
+   }
+   String hrefStr = namedItem.getNodeValue();
+   try {
+   HTTPSamplerBase newUrl = HtmlParsingUtils.createUrlFromAnchor(
+   hrefStr, new URL(result.getURL(), base));
+   newUrl.setMethod(HTTPSamplerBase.GET);
+   log.debug("possible match: " + newUrl);
+   if (HtmlParsingUtils.isAnchorMatched(newUrl, config)) {
+   log.debug("Is a match! " + newUrl);
+   potentialLinks.add(newUrl);
+   }
+   } catch (MalformedURLException e) {
+   log.warn("Bad URL "+e);
+   } catch (org.apache.oro.text.regex.MalformedPatternException e) {
+   log.error("Bad pattern", e);
+   }
+   }
+   }
 }

Modified: jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml?rev=378789&r1=378788&r2=378789&view=diff
==
--- jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml (original)
+++ jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml Sat Feb 18 13:58:12 2006
@@ -72,6 +72,7 @@
 Bug 38693 - Webservice sampler can now use https protocol
 Bug 38646 - Regex Extractor now clears old variables on match failure
 Bug 38640 - fix WebService Sampler pooling
+Bug 38474 - HTML Link Parser doesn't follow frame links
   

 Other changes



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 38474] - HTML Link Parser doesn't follow links

2006-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38474


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
Version|2.1.2   |2.1.1




--- Additional Comments From [EMAIL PROTECTED]  2006-02-18 22:58 ---
Thanks for the patch; it has been applied to the 2.1 branch and will appear in
the next release of JMeter

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 35694] - Unrecognized VM option 'TargetSurvivorRatio=50%'

2006-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35694


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2006-02-18 23:10 ---
The option is commented out in 2.1.1

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 37946] - JMeter TCP sampler problem

2006-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37946


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2006-02-18 23:42 ---
No further info so closing

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 37686] - Help menu blocks JMeter

2006-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37686


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME




--- Additional Comments From [EMAIL PROTECTED]  2006-02-18 23:43 ---
No further info, so closing

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 37493] - Problem loading jtl files

2006-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37493


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2006-02-18 23:59 ---
Not heard anything; assuming fixed

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 36430] - Leading Zeros for Counter Values

2006-02-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36430


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2006-02-19 00:16 ---
Changed to long rather than int; will be in next release (or next nightly)

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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r378794 - in /jakarta/jmeter/branches/rel-2-1: src/components/org/apache/jmeter/modifiers/CounterConfig.java xdocs/changes.xml xdocs/usermanual/component_reference.xml

2006-02-18 Thread sebb
Author: sebb
Date: Sat Feb 18 15:16:13 2006
New Revision: 378794

URL: http://svn.apache.org/viewcvs?rev=378794&view=rev
Log:
Bug 36430 - Counter now uses long rather than int to increase the range

Modified:

jakarta/jmeter/branches/rel-2-1/src/components/org/apache/jmeter/modifiers/CounterConfig.java
jakarta/jmeter/branches/rel-2-1/xdocs/changes.xml
jakarta/jmeter/branches/rel-2-1/xdocs/usermanual/component_reference.xml

Modified: 
jakarta/jmeter/branches/rel-2-1/src/components/org/apache/jmeter/modifiers/CounterConfig.java
URL: 
http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/src/components/org/apache/jmeter/modifiers/CounterConfig.java?rev=378794&r1=378793&r2=378794&view=diff
==
--- 
jakarta/jmeter/branches/rel-2-1/src/components/org/apache/jmeter/modifiers/CounterConfig.java
 (original)
+++ 
jakarta/jmeter/branches/rel-2-1/src/components/org/apache/jmeter/modifiers/CounterConfig.java
 Sat Feb 18 15:16:13 2006
@@ -1,6 +1,5 @@
-// $Header$
 /*
- * Copyright 2002-2004 The Apache Software Foundation.
+ * Copyright 2002-2006 The Apache Software Foundation.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -25,7 +24,7 @@
 import org.apache.jmeter.engine.util.NoThreadClone;
 import org.apache.jmeter.testelement.AbstractTestElement;
 import org.apache.jmeter.testelement.property.BooleanProperty;
-import org.apache.jmeter.testelement.property.IntegerProperty;
+import org.apache.jmeter.testelement.property.LongProperty;
 import org.apache.jmeter.threads.JMeterContextService;
 import org.apache.jmeter.threads.JMeterVariables;
 import org.apache.jorphan.logging.LoggingManager;
@@ -47,7 +46,7 @@
 
public final static String VAR_NAME = "CounterConfig.name";
 
-   private int globalCounter = -1;
+   private long globalCounter = -1;
 
/**
 * @see LoopIterationListener#iterationStart(LoopIterationEvent)
@@ -55,25 +54,25 @@
public synchronized void iterationStart(LoopIterationEvent event) {
// Cannot use getThreadContext() as not cloned per thread
JMeterVariables variables = 
JMeterContextService.getContext().getVariables();
-   int start = getStart(), end = getEnd(), increment = 
getIncrement();
+   long start = getStart(), end = getEnd(), increment = 
getIncrement();
if (!isPerUser()) {
if (globalCounter == -1 || globalCounter > end) {
globalCounter = start;
}
-   variables.put(getVarName(), 
Integer.toString(globalCounter));
+   variables.put(getVarName(), 
Long.toString(globalCounter));
globalCounter += increment;
} else {
String value = variables.get(getVarName());
if (value == null) {
-   variables.put(getVarName(), 
Integer.toString(start));
+   variables.put(getVarName(), 
Long.toString(start));
} else {
try {
-   int current = Integer.parseInt(value);
+   long current = Long.parseLong(value);
current += increment;
if (current > end) {
current = start;
}
-   variables.put(getVarName(), 
Integer.toString(current));
+   variables.put(getVarName(), 
Long.toString(current));
} catch (NumberFormatException e) {
log.info("Bad number in Counter 
config", e);
}
@@ -81,40 +80,40 @@
}
}
 
-   public void setStart(int start) {
-   setProperty(new IntegerProperty(START, start));
+   public void setStart(long start) {
+   setProperty(new LongProperty(START, start));
}
 
public void setStart(String start) {
setProperty(START, start);
}
 
-   public int getStart() {
-   return getPropertyAsInt(START);
+   public long getStart() {
+   return getPropertyAsLong(START);
}
 
-   public void setEnd(int end) {
-   setProperty(new IntegerProperty(END, end));
+   public void setEnd(long end) {
+   setProperty(new LongProperty(END, end));
}
 
public void setEnd(String end) {
setProperty(END, end);
}
 
-   public int getEnd() {
-   return getPropertyAsInt(END);
+   public long getEnd() {