📄 build-jms-point-to-point-test-plan.html
字号:
</font>
</td>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
Q.RPL
</font>
</td>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
This is equal to the JNDI name defined in the JNDI properties.
</font>
</td>
</tr>
<tr>
<td bgcolor="#039acc" colspan="3" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
Message Properties
</font>
</td>
</tr>
<tr>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
Communication Style
</font>
</td>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
Request Response
</font>
</td>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
This means that you need at least a service that responds to the requests.
</font>
</td>
</tr>
<tr>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
Content
</font>
</td>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
test
</font>
</td>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
This is just the content of the message.
</font>
</td>
</tr>
<tr>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
JMS Properties
</font>
</td>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
</font>
</td>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
Nothing needed for active mq.
</font>
</td>
</tr>
<tr>
<td bgcolor="#039acc" colspan="3" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
JNDI Properties
</font>
</td>
</tr>
<tr>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
InitialContextFactory
</font>
</td>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
org.activemq.jndi.ActiveMQInitialContextFactory
</font>
</td>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
The standard InitialContextFactory for Active MQ
</font>
</td>
</tr>
<tr>
<td bgcolor="#039acc" colspan="3" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
Properties
</font>
</td>
</tr>
<tr>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
providerURL
</font>
</td>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
tcp://localhost:61616
</font>
</td>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
This defines the URL of the active mq messaging system.
</font>
</td>
</tr>
<tr>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
queue.Q.REQ
</font>
</td>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
example.Q.REQ
</font>
</td>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
This defines a JNDI name Q.REQ for the request queue that points to the queue example.Q.REQ.
</font>
</td>
</tr>
<tr>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
queue.Q.RPL
</font>
</td>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
example.Q.RPL
</font>
</td>
<td bgcolor="#a0ddf0" colspan="1" rowspan="" valign="top" align="left">
<font color="#000000" size="-1" face="arial,helvetica,sanserif">
This defines a JNDI name Q.RPL for the reply queue that points to the queue example.Q.RPL.
</font>
</td>
</tr>
</table>
</p>
</blockquote>
</p>
</td></tr>
<tr><td><br></td></tr>
</table>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#525D76">
<font color="#ffffff" face="arial,helvetica,sanserif">
<a name="adding_listener"><strong>11.3 Adding a Listener to View Store the Test Results</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>
The final element you need to add to your Test Plan is a
<a href="component_reference.html#listeners">
Listener
</a>
. This element is
responsible for storing all of the results of your JMS requests in a file and presenting
a visual model of the data.
</p>
<p>
Select the Thread Group element and add a
<a href="../usermanual/component_reference.html#Graph_Results">Graph Results</a>
listener (Add --> Listener
--> Graph Results). Next, you need to specify a directory and filename of the
output file. You can either type it into the filename field, or select the
Browse button and browse to a directory and then enter a filename.
</p>
<p><table border="0" cellspacing="0" cellpadding="0"><tr><td><img src="../../docs/images/screenshots/graph_results.png"><br>
<font size="-1">
Figure 11.2. Graph Results Listener
</font></td></tr></table></p>
</blockquote>
</p>
</td></tr>
<tr><td><br></td></tr>
</table>
<br>
<table>
<tr>
<td bgcolor="#525D76">
<div align="right"><a href="index.html"><font size=-1 color="#ffffff" face="arial,helvetica,sanserif">Index</font></a></div>
</td>
<td bgcolor="#525D76">
<div align="right"><a href="build-jms-topic-test-plan.html"><font size=-1 color="#ffffff" face="arial,helvetica,sanserif">Next</font></a></div>
</td>
<td bgcolor="#525D76">
<div align="right"><a href="build-ws-test-plan.html"><font size=-1 color="#ffffff" face="arial,helvetica,sanserif">Prev</font></a></div>
</td>
</tr>
</table>
</td>
</tr>
<tr><td>
<hr noshade size="1">
</td></tr>
<tr>
<td>
<table width=100%>
<tr>
<td>
<font color="#525D76" size="-1"><em>
Copyright © 1999-2008, Apache Software Foundation
</em></font>
</td>
<td align="right">
<font color="#525D76" size="-1"><em>
Updated: $Date: 2007-08-20 19:07:53 +0100 (Mon, 20 Aug 2007) $
</em></font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -