cvs commit: jakarta-jmeter/xdocs/usermanual build-jms-topic-test-plan.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

cvs commit: jakarta-jmeter/xdocs/usermanual build-jms-topic-test-plan.xml

woolfel
woolfel     2005/05/26 05:30:57

  Modified:    xdocs/usermanual build-jms-topic-test-plan.xml
  Log:
  cleaned up the draft quite a bit. it's still not done yet, but hopefully this will help
  martijn with the docs for the queue sampler.
 
  peter
 
  Revision  Changes    Path
  1.2       +21 -51    jakarta-jmeter/xdocs/usermanual/build-jms-topic-test-plan.xml
 
  Index: build-jms-topic-test-plan.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/xdocs/usermanual/build-jms-topic-test-plan.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build-jms-topic-test-plan.xml 25 May 2005 00:46:16 -0000 1.1
  +++ build-jms-topic-test-plan.xml 26 May 2005 12:30:57 -0000 1.2
  @@ -68,9 +68,9 @@
   Figure 10.1. Thread Group with Default Values</figure>
   
   <p>Start by providing a more descriptive name for our Thread Group. In the name
  -field, enter Jakarta Users.</p>
  +field, enter Subscribers.</p>
   
  -<p>Next, increase the number of users (called threads) to 10.</p>
  +<p>Next, increase the number of users (called threads) to 5.</p>
   
   <p>In the next field, the Ramp-Up Period, leave the the default value of 0
   seconds.  This property tells JMeter how long to delay between starting each
  @@ -80,77 +80,47 @@
   would be 1 second (5 users / 5 seconds = 1 user per second).  If you set the
   value to 0, then JMeter will immediately start all of your users.</p>
   
  -<p>Finally, clear the checkbox labeled "Forever", and enter a value of 2 in
  -the Loop Count field.  This property tells JMeter how many times to repeat your
  -test. If you enter a loop count value of 0, then JMeter will run your test only
  +<p>Clear the checkbox labeled "Forever", and enter a value of 10 in the Loop
  +Count field.  This property tells JMeter how many times to repeat your test.
  +If you enter a loop count value of 0, then JMeter will run your test only
   once. To have JMeter repeatedly run your Test Plan, select the Forever
   checkbox.</p>
   
  +<p>Repeat the process and add another thread group. For the second thread
  +group, leave the number of threads 1 and change the iteration to 10.</p>
  +
   <note>In most applications, you have to manually accept
   changes you make in a Control Panel.  However, in JMeter, the Control Panel
   automatically accepts your changes as you make them.  If you change the
   name of an element, the tree will be updated with the new text after you
   leave the Control Panel (for example, when selecting another tree element).</note>
   
  -<p>See Figure 10.2 for the completed Jakarta Users Thread Group.</p>
  -
  -<figure image="webtest/threadgroup2.png">
  -Figure 10.2. Jakarta Users Thread Group</figure>
   
   </section>
   
  -<section name="10.2 Adding JMS Requests" anchor="adding_requests">
  +<section name="10.2 Adding JMS Subscriber and Publisher" anchor="adding_subscriber_publisher">
   
   <p>Make sure the required jar files are in JMeter's lib directory. If they are
   not, shutdown JMeter, copy the jar files over and restart JMeter.</p>
   
  -<p>Start by adding the sampler <complink name="jms publisher"/>
  -to the Jakarta Users element (Add --&gt; Sampler --&gt; JMS Publisher).
  -Then, select the JMS Publisher element in the tree and edit the following properties
  +<p>Start by adding the sampler <complink name="jms subscriber"/>
  +to the Jakarta Users element (Add --&gt; Sampler --&gt; JMS Subscriber).
  +Then, select the JMS Subscriber element in the tree and edit the following properties
   (see Figure 10.5):
   <ol>
  -<li>Change the Name field to "WebService(SOAP) Request (Beta Code)".</li>
  -<li>Enter the WSDL URL and click "Load WSDL".</li>
  +<li>Change the Name field to .</li>
  +<li>Enter the name of the InitialContextFactory class.</li>
  +<li>Enter the provider URL.</li>
   </ol>
   </p>
   
  -<figure image="jms/jms_pub.png">
  -Figure 10.3. JMS Publisher</figure>
  -
  -<p>If the WSDL file was loaded correctly, the "Web Methods" drop down should
  -be populated. If the drop down remains blank, it means there was a problem
  -getting the WSDL. You can test the WSDL using a browser that reads XML.
  -For example, if you're testing an IIS webservice the URL will look like this:
  -http://localhost/myWebService/Service.asmx?WSDL. At this point, SOAPAction, URL
  -and SOAP Data should be blank.</p>
  -
  -<p>Next, select the web method and click "Configure". The sampler should
  -populate the "URL" and "SOAPAction" text fields. Assuming the WSDL is valid,
  -the correct soap action should be entered.
  -</p>
  -
  -<p>The last step is to paste the SOAP message in the "SOAP/XML-RPC Data"
  -text area. You can optionally save the soap message to a file and browse
  -to the location. For convienance, there is a third option of using a
  -message folder. The sampler will randomly select files from a given
  -folder and use the text for the soap message.</p>
  -
  -<p>If you do not want JMeter to read the response from the SOAP Webservice,
  -uncheck "Read Soap Responses." If the test plan is intended to stress test
  -a webservice, the box should be unchecked. If the test plan is a functional
  -test, the box should be checked. When "Read Soap Responses" is unchecked,
  -no result will be displayed in view result tree or view results in table.</p>
  -
  -<p>An important note on the sampler. It will automatically use the proxy host
  -and port passed to JMeter from command line, if thoe fields in the sampler are
  -left blank. If a sampler has values in the proxy host and port text field, it
  -will use the ones provided by the user. If no host or port are provided and
  -JMeter wasn't started with command line options, the sampler will fail
  -silently. This behavior may not be what users expect.</p>
  -
   <figure image="jms/jms_sub.png">
   Figure 10.3. JMS Subscriber</figure>
   
  +<p></p>
  +<figure image="jms/jms_pub.png">
  +Figure 10.3. JMS Publisher</figure>
  +
   
   </section>
   
 
 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]