Author: sebb
Date: Sat May  3 06:02:38 2008
New Revision: 653072

URL: http://svn.apache.org/viewvc?rev=653072&view=rev
Log:
The BeanShell and BSF component documentation made some incorrect references to 
the "SampleResponse" object; this has been corrected to "SampleResult"

Modified:
    jakarta/jmeter/trunk/docs/changes.html
    jakarta/jmeter/trunk/docs/usermanual/component_reference.html
    jakarta/jmeter/trunk/xdocs/changes.xml
    jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml

Modified: jakarta/jmeter/trunk/docs/changes.html
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/docs/changes.html?rev=653072&r1=653071&r2=653072&view=diff
==============================================================================
--- jakarta/jmeter/trunk/docs/changes.html (original)
+++ jakarta/jmeter/trunk/docs/changes.html Sat May  3 06:02:38 2008
@@ -387,6 +387,17 @@
                                                </li>
                                                                        
 
+                                                                               
                <li     >
+                                                               Bug 44912 - 
Filter not working in Log Parser
+                                               </li>
+                                                                       
+
+                                                                               
                <li     >
+                                                               The BeanShell 
and BSF component documentation made some incorrect references to the 
"SampleResponse" object;
+this has been corrected to "SampleResult"
+                                               </li>
+                                                                       
+
                                                </ul>
                                                                                
                                                                                
<h4     >
                                                                Improvements
@@ -608,6 +619,11 @@
                                                </li>
                                                                        
 
+                                                                               
                <li     >
+                                                               Bug 44872 - Add 
"All Files" filter to Open File dialogs
+                                               </li>
+                                                                       
+
                                                </ul>
                                                                                
                                                                                
<h4     >
                                                                Non-functional 
changes
@@ -1422,7 +1438,6 @@
                                                </p>
                                                                                
                                                                                
<p      >
                                                                
-
 Bug 22510 - JMeter always uses the first entry in the keystore.
 
                                                </p>

Modified: jakarta/jmeter/trunk/docs/usermanual/component_reference.html
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/docs/usermanual/component_reference.html?rev=653072&r1=653071&r2=653072&view=diff
==============================================================================
--- jakarta/jmeter/trunk/docs/usermanual/component_reference.html (original)
+++ jakarta/jmeter/trunk/docs/usermanual/component_reference.html Sat May  3 
06:02:38 2008
@@ -2840,11 +2840,11 @@
                        
                                                </ul>
                                                                                
                                                                                
<p      >
-                                                               The Sampler 
ResponseData is set from the return value of the script.
+                                                               The 
SampleResult ResponseData is set from the return value of the script.
                        Since version 2.1.2, if the script returns null, it can 
set the response directly, by using the method 
-                       SampleResponse.setResponseData(data), where data is 
either a String or a byte array.
+                       SampleResult.setResponseData(data), where data is 
either a String or a byte array.
                        The data type defaults to "text", but can be set to 
binary by using the method
-                       SampleResponse.setDataType(SampleResponse.BINARY).
+                       SampleResult.setDataType(SampleResult.BINARY).
                        
                                                </p>
                                                                                
                                                                                
<p      >
@@ -3027,11 +3027,11 @@
                                                </ul>
                                                                                
                                                                                
<p      >
                                                                
-The Sampler ResponseData is set from the return value of the script.
+The SampleResult ResponseData is set from the return value of the script.
 If the script returns null, it can set the response directly, by using the 
method 
-SampleResponse.setResponseData(data), where data is either a String or a byte 
array.
+SampleResult.setResponseData(data), where data is either a String or a byte 
array.
 The data type defaults to "text", but can be set to binary by using the method
-SampleResponse.setDataType(SampleResponse.BINARY).
+SampleResult.setDataType(SampleResult.BINARY).
 
                                                </p>
                                                                                
                                                                                
<p      >
@@ -3044,23 +3044,23 @@
                                                                                
                                                                                
<p      >
                                                                
 Unlike the Beanshell Sampler, the BSF Sampler does not set the ResponseCode, 
ResponseMessage and sample status via script variables.
-Currently the only way to changes these is via the SampleResponse methods:
+Currently the only way to changes these is via the SampleResult methods:
 
                                                                                
                <ul     >
                                                                
 
                                                                                
                <li     >
-                                                               
SampleResponse.setSuccessful(true/false)
+                                                               
SampleResult.setSuccessful(true/false)
                                                </li>
                                                                        
 
                                                                                
                <li     >
-                                                               
SampleResponse.setResponseCode("code")
+                                                               
SampleResult.setResponseCode("code")
                                                </li>
                                                                        
 
                                                                                
                <li     >
-                                                               
SampleResponse.setResponseMessage("message")
+                                                               
SampleResult.setResponseMessage("message")
                                                </li>
                                                                        
 

Modified: jakarta/jmeter/trunk/xdocs/changes.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/changes.xml?rev=653072&r1=653071&r2=653072&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/changes.xml (original)
+++ jakarta/jmeter/trunk/xdocs/changes.xml Sat May  3 06:02:38 2008
@@ -129,6 +129,8 @@
 <li>WebService(SOAP) Sampler ResponseData now includes the EOLs sent by 
server</li>
 <li>Bug 44910 - close previous socket (if any) in TCP Sampler</li>
 <li>Bug 44912 - Filter not working in Log Parser</li>
+<li>The BeanShell and BSF component documentation made some incorrect 
references to the "SampleResponse" object;
+this has been corrected to "SampleResult"</li>
 </ul>
 
 <h4>Improvements</h4>

Modified: jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=653072&r1=653071&r2=653072&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml Sat May  3 
06:02:38 2008
@@ -861,11 +861,11 @@
                        <li>ResponseMessage - for example "OK"</li>
                        <li>IsSuccess - true/false</li>
                        </ul>
-                       <p>The Sampler ResponseData is set from the return 
value of the script.
+                       <p>The SampleResult ResponseData is set from the return 
value of the script.
                        Since version 2.1.2, if the script returns null, it can 
set the response directly, by using the method 
-                       SampleResponse.setResponseData(data), where data is 
either a String or a byte array.
+                       SampleResult.setResponseData(data), where data is 
either a String or a byte array.
                        The data type defaults to "text", but can be set to 
binary by using the method
-                       SampleResponse.setDataType(SampleResponse.BINARY).
+                       SampleResult.setDataType(SampleResult.BINARY).
                        </p>
                        <p>The SampleResult variable gives the script full 
access to all the fields and
                                methods in the SampleResult. For example, the 
script has access to the methods
@@ -930,11 +930,11 @@
 <li>vars - JMeterVariables  - e.g. vars.get("VAR1"); vars.put("VAR2","value"); 
vars.remove("VAR3"); vars.putObject("OBJ1",new Object());</li>
 </ul>
 <p>
-The Sampler ResponseData is set from the return value of the script.
+The SampleResult ResponseData is set from the return value of the script.
 If the script returns null, it can set the response directly, by using the 
method 
-SampleResponse.setResponseData(data), where data is either a String or a byte 
array.
+SampleResult.setResponseData(data), where data is either a String or a byte 
array.
 The data type defaults to "text", but can be set to binary by using the method
-SampleResponse.setDataType(SampleResponse.BINARY).
+SampleResult.setDataType(SampleResult.BINARY).
 </p>
 <p>
 The SampleResult variable gives the script full access to all the fields and
@@ -943,11 +943,11 @@
 </p>
 <p>
 Unlike the Beanshell Sampler, the BSF Sampler does not set the ResponseCode, 
ResponseMessage and sample status via script variables.
-Currently the only way to changes these is via the SampleResponse methods:
+Currently the only way to changes these is via the SampleResult methods:
 <ul>
-<li>SampleResponse.setSuccessful(true/false)</li>
-<li>SampleResponse.setResponseCode("code")</li>
-<li>SampleResponse.setResponseMessage("message")</li>
+<li>SampleResult.setSuccessful(true/false)</li>
+<li>SampleResult.setResponseCode("code")</li>
+<li>SampleResult.setResponseMessage("message")</li>
 </ul>
 </p>
 </component>



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

Reply via email to