压力测试工具,JMeter 2.6 发布
jopen 13年前
<p>JMeter是Apache组织的开放源代码项目,它是功能和性能测试的工具,100%的用java实现。<br /> <br /> JMeter 2.6 发布了,该版本要求 Java 5 的环境。2.6 版本包含众多改进:</p> <p>主窗口中的新的工具栏</p> <p><img style="width:570px;height:91px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/adfa093205da066ce19c06e52aa610e6.png" /></p> <p>新增一个启动图标用于启动测试而忽视暂停计时器</p> <p><img alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/12414234ba0d4209a771460119d3f6a5.png" width="201" height="58" /></p> <p>外观主题增加 CrossPlatform</p> <p><img alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/567f0c46d452256b08ef80f228af9592.png" width="373" height="162" /></p> <p>上下文菜单增加复制节点的项</p> <p><img alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/87b67f2abff358936a4be7e8db142fe1.png" width="323" height="136" /></p> <h3>JMeter tree view - search facility</h3> <p>Functionality to search by keyword in Samplers Tree View</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/514c1704541ef3a1781383f04c791ee0.png" width="554" height="219" /><br /> </td> </tr> </tbody> </table> <h3>HTTP Request - raw request pane</h3> <p>Improve HTTP Request GUI to better show parameters without name (GWT RPC request or SOAP request for example)</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img style="width:449px;height:272px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/ddb664cc455ef1fb7c9913ddb76c1faa.png" /><br /> </td> </tr> </tbody> </table> <h3>HTTP Request - other changes</h3> <p> </p> <ul> <li>Allow multiple selection in arguments panel </li> <li>Allow to add (paste) entries from the clipboard to an arguments list </li> <li>Ability to move variables up or down in HTTP Request </li> </ul> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img style="width:506px;height:126px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/baa74e5731db946ae8cc11a22b0982fa.png" /><br /> </td> </tr> </tbody> </table> <h3>HTTP Request - file protocol</h3> <p>Better support for file: protocol in HTTP sampler</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/8a7bdea62e9299070aba6f34c969bb0c.png" width="489" height="662" /><br /> </td> </tr> </tbody> </table> <p>Retrieve embedded resources with file: protocol</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img style="width:508px;height:100px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/00483a6d1c44c7177411849e6222a70b.png" /><br /> </td> </tr> </tbody> </table> <h3>HTTP Request - Ignore embedded resources failed</h3> <p>Enable "ignore failed" for embedded resources</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img style="width:418px;height:125px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/3bc7a1fb13ee330059aefbf13bfa3eaf.png" /><br /> </td> </tr> </tbody> </table> <p>Parent success with a embedded resource failed</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img style="width:453px;height:164px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/2b04ce131ca785d098b2c30961f913b1.png" /><br /> </td> </tr> </tbody> </table> <h3>View Results in Table - child sample display</h3> <p>Add option to TableVisualiser to display child samples instead of parent</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img style="width:343px;height:232px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/d453a78cea3a91b13e193a48b1ecc798.png" /><br /> </td> </tr> </tbody> </table> <h3>Key Store - multiple certificates</h3> <p>Allowing multiple certificates (JKS)</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/4420799b6f8ce61b1246748a9c11b265.png" width="324" height="166" /><br /> </td> </tr> </tbody> </table> <h3>Aggregate graph improvements</h3> <p>Some improvements on Aggregate Graph Listener:</p> <ul> <li>new GUI for settings </li> <li>dynamic graph size </li> <li>allow to change fonts for title graph and legend </li> <li>allow to change bar color (background and text values) </li> <li>allow to draw or not bars outlines </li> <li>allow to select only some samplers by a regexp filter </li> <li>allow to define Y axis maximum scale </li> </ul> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img style="width:313px;height:151px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/167bec7481eb4f4919bd2bb1ae7a4472.png" /><br /> </td> </tr> </tbody> </table> <p>Aggregate Graph bar</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img style="width:360px;height:214px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/61c610d6c51b833ca46b725c0e38d462.png" /><br /> </td> </tr> </tbody> </table> <h3>Counter - new reset option</h3> <p>Add an option to reset counter on each Thread Group iteration</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/ec0b43fb8ca0c2caf22917dd64224763.png" width="345" height="257" /><br /> </td> </tr> </tbody> </table> <h3>Functions</h3> <p> </p> <ul> <li>Add a new function __RandomString to generate random Strings </li> <li>Add a new function __TestPlanName returning the name of the current "Test Plan" </li> <li>Add a new function __machineIP returning IP address </li> <li>Add a new function __jexl2 to support Jexl2 </li> </ul> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img style="width:552px;height:186px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/7ca0da30bc474cbb8afec16f7b3efc32.png" /><br /> </td> </tr> </tbody> </table> <h3>User Defined Variable improvements</h3> <p> </p> <ul> <li>Add a comment field in User Defined Variables </li> <li>Allow to add (paste) entries from the clipboard to an arguments list </li> <li>Ability to move up or down variables in User Defined Variables </li> </ul> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/badfdd319453c2e60c08cbaba5f40ee0.png" width="543" height="237" /><br /> </td> </tr> </tbody> </table> <h3>View Results Tree</h3> <p>In View Results Tree rather than showing just a message if the results are to big, show as much of the result as are configured</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img style="width:555px;height:57px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/24c4693693b09c761a3fdd2f7dc2bbab.png" /><br /> </td> </tr> </tbody> </table> <h3>Controllers - change elements</h3> <p>Add ability to Change Controller elements</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img style="width:550px;height:95px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/c6caf2c094324447c1a5fffb90a850ca.png" /><br /> </td> </tr> </tbody> </table> <h3>JDBC pre- and post-processor</h3> <p>Add JDBC pre- and post-processor</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/f704bc13dbbc64c95c2eb24c7851ec3d.png" width="535" height="217" /><br /> </td> </tr> </tbody> </table> <h3>JDBC transaction isolation option</h3> <p>Allow to set the transaction isolation in the JDBC Connection Configuration</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/c6a19e6a2f9f6f2320edb823f6bcf5cc.png" width="437" height="351" /><br /> </td> </tr> </tbody> </table> <h3>Poisson Timer</h3> <p>Add a Poisson based timer</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/04ca43b5c11225858b7ac7accf7c215f.png" width="358" height="156" /><br /> </td> </tr> </tbody> </table> <h3>GUI and OS interaction</h3> <p>Support for file Drag and Drop.</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img style="width:535px;height:350px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/a182a737c9a21c1d2e1c480a2a4864aa.png" /><br /> </td> </tr> </tbody> </table> <h3>Confirm Remove Dialog box</h3> <p>Add a dialog box to confirm removing the element(s) when Remove action is called</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img style="width:509px;height:183px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/a4a1128290d5a48b61160ea6a54cc511.png" /><br /> </td> </tr> </tbody> </table> <p>The dialogue can be skipped by setting the JMeter property <code>confirm.delete.skip=true </code></p> <h3>Remote batching support</h3> <p>Use external store to hold samples during distributed testing, Added DiskStore remote sample sender: like Hold, but saves samples to disk until end of test</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img style="width:520px;height:142px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/3924857ad26bc526f3af91ae7d5a9378.png" /><br /> </td> </tr> </tbody> </table> <h3>JMS Subscriber sampler</h3> <p>With JMS Subscriber, ability to use Selectors</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img style="width:423px;height:178px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/5993e0900b64beda6d544fc943d7029d.png" /><br /> </td> </tr> </tbody> </table> <h3>New Logger Panel</h3> <p>A new Log Viewer has been added to the GUI and can be enabled from menu Options > Log Viewer:</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/93d7b4ddcbf129f1d5e7568849979826.png" width="326" height="147" /><br /> </td> </tr> </tbody> </table> <p>This Log Viewer shows the jmeter.log file, and useful (for example) to debug BeanShell/BSF scripts:</p> <table class="ke-zeroborder" border="0" cellspacing="0" cellpadding="0"> <tbody> <tr> <td><img style="width:576px;height:281px;" alt="压力测试工具,JMeter 2.6 发布" src="https://simg.open-open.com/show/3d5ff21cdd7e8ae04ec440b301920fbc.png" /><br /> </td> </tr> </tbody> </table> <h3>The menu item Options / Choose Language is now fully functional</h3> <p>The menu item Options / Choose Language now changes all the displayed text to the new language provided all messages are translated. You can help on this by translating into your language.</p> <h3>Legacy JMX and JTL Avalon format support restored</h3> <p>Support for reading/writing the original Avalon XML format of JMX (script) and JTL (sample result) files was dropped in JMeter version 2.4. JMeter can now read the Avalon format files again, however there is no support for saving files in the old format.</p> <h3>JMeter jars available from Maven repository</h3> <p>JMeter jars are now available from Maven repository.</p> <p>完整的内容请看:</p> <p><a href="/misc/goto?guid=4958327536968890950" target="_blank">http://jmeter.apache.org/changes.html</a></p>