You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by se...@apache.org on 2010/07/02 01:38:04 UTC

svn commit: r959811 - in /jakarta/jmeter/trunk/xdocs/usermanual: glossary.xml hints_and_tips.xml index.xml regular_expressions.xml

Author: sebb
Date: Thu Jul  1 23:38:04 2010
New Revision: 959811

URL: http://svn.apache.org/viewvc?rev=959811&view=rev
Log:
Start a Hints section

Added:
    jakarta/jmeter/trunk/xdocs/usermanual/hints_and_tips.xml   (with props)
Modified:
    jakarta/jmeter/trunk/xdocs/usermanual/glossary.xml
    jakarta/jmeter/trunk/xdocs/usermanual/index.xml
    jakarta/jmeter/trunk/xdocs/usermanual/regular_expressions.xml

Modified: jakarta/jmeter/trunk/xdocs/usermanual/glossary.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/glossary.xml?rev=959811&r1=959810&r2=959811&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/glossary.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/glossary.xml Thu Jul  1 23:38:04 2010
@@ -17,9 +17,9 @@
 -->
 <!DOCTYPE document
 [
-<!ENTITY sect-num '21'>
+<!ENTITY sect-num '22'>
 ]>
-<document prev="regular_expressions.html" date="$Date$">
+<document prev="hints_and_tips.html" date="$Date$">
 
 <properties>
   <title>User's Manual: Glossary</title>

Added: jakarta/jmeter/trunk/xdocs/usermanual/hints_and_tips.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/hints_and_tips.xml?rev=959811&view=auto
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/hints_and_tips.xml (added)
+++ jakarta/jmeter/trunk/xdocs/usermanual/hints_and_tips.xml Thu Jul  1 23:38:04 2010
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+ 
+       http://www.apache.org/licenses/LICENSE-2.0
+ 
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+<!DOCTYPE document
+[
+<!ENTITY sect-num '21'>
+]>
+<document prev="regular_expressions.html" next="glossary.html" date="$Date: 2009-05-19 16:50:20 +0100 (Tue, 19 May 2009) $">
+
+<properties>
+  <title>User's Manual: Hints and Tips</title>
+</properties>
+
+<body>
+
+<section name="&sect-num;. Hints and Tips" anchor="hints">
+<p>
+This section is a collection of various hints and tips that have been suggested by various questions on the JMeter User list.
+If you don't find what you are looking for here, please check the <a href="http://wiki.apache.org/jakarta-jmeter">JMeter Wiki</a>.
+Also, try search the JMeter User list; someone may well have already provided a solution.
+</p>
+<subsection name="&sect-num;.1 Passing variables between threads" anchor="variable_and_threads">
+<p>
+JMeter variables have thread scope. This is deliberate, so that threads can act indepently.
+However sometimes there is a need to pass variables between different threads, in the same or different Thread Groups.
+</p>
+<p>
+One way to do this is to use a property instead. 
+Properties are shared between all JMeter threads, so if one thread <a href="functions.html#__setProperty">sets a property</a>,
+another thread can <a href="functions.html#__P">read</a> the updated value.
+</p>
+<p>
+If there is a lot of information that needs to be passed between threads, then consider using a file.
+For example you could use the <a href="component_reference.html#Save_Responses_to_a_file">Save Responses to a file</a>
+listener or perhaps a BeanShell PostProcessor in one thread, and read the file using the HTTP Sampler "file:" protocol,
+and extract the information using a PostProcessor or BeanShell element.
+</p>
+<p>
+If you can derive the data before starting the test, then it may well be better to store it in a file,
+read it using CSV Dataset.
+</p>
+</subsection>
+
+<subsection name="&sect-num;.2 Enabling Debug logging" anchor="debug_logging">
+<p>
+Most test elements include debug logging. If running a test plan from the GUI, 
+select the test element and use the Help Menu to enable or disable logging.
+The Help Menu also has an option to display the GUI and test element class names.
+You can use these to determine the correct property setting to change the logging level.
+</p>
+</subsection>
+
+</section>
+
+</body>
+</document>

Propchange: jakarta/jmeter/trunk/xdocs/usermanual/hints_and_tips.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: jakarta/jmeter/trunk/xdocs/usermanual/index.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/index.xml?rev=959811&r1=959810&r2=959811&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/index.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/index.xml Thu Jul  1 23:38:04 2010
@@ -50,7 +50,8 @@
   <li><a href="#component_reference">+</a>...<a href="component_reference.html">18. Component Reference</a></li>
   <li><a href="#functions">+</a>...<a href="functions.html">19. Functions</a></li>
   <li><a href="#regex">+</a>...<a href="regular_expressions.html">20. Regular Expressions</a></li>
-  <li><a href="#glossary">+</a>...<a href="glossary.html">21. Glossary</a></li>
+  <li><a href="#hints">+</a>...<a href="hints_and_tips.html">21. Hints and Tips</a></li>
+  <li><a href="#glossary">+</a>...<a href="glossary.html">22. Glossary</a></li>
 </ul>
 </subsection>
 <subsection name="Detailed Section List" anchor="details">
@@ -189,7 +190,8 @@
  <li><a name="component_reference"/><a href="component_reference.html">18. Component Reference</a></li>
  <li><a name="functions"/><a href="functions.html">19. Functions</a></li>
  <li><a name="regex"/><a href="regular_expressions.html">20. Regular Expressions</a></li>
- <li><a name="glossary"/><a href="glossary.html">21. Glossary</a></li>
+ <li><a name="hints"/><a href="hints_and_tips.html">21. Hints and Tips</a></li>
+ <li><a name="glossary"/><a href="glossary.html">22. Glossary</a></li>
 </ul>
 </subsection>
 

Modified: jakarta/jmeter/trunk/xdocs/usermanual/regular_expressions.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/regular_expressions.xml?rev=959811&r1=959810&r2=959811&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/regular_expressions.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/regular_expressions.xml Thu Jul  1 23:38:04 2010
@@ -19,7 +19,7 @@
 [
 <!ENTITY sect-num '20'>
 ]>
-<document prev="functions.html" next="glossary.html" date="$Date$">
+<document prev="functions.html" next="hints_and_tips.html" date="$Date$">
 
 <properties>
   <title>User's Manual: Regular Expressions</title>



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