⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 boss.html

📁 测试工具jmeter可用来进行性能测试
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<font color="#ffffff" face="arial,helvetica,sanserif">
<a name="dig"><strong>17.4.2 nslookup/dig</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>

	While the 
<u>
user
</u>
 will normally use a human-readable internet
	address, 
<u>
you
</u>
 may wish to avoid the overhead of DNS lookups when
	performing benchmarking/load-testing. These can be used to determine
	the unique address (dotted quad) of your target site.
	
</p>
</blockquote>
</td></tr>
<tr><td><br></td></tr>
</table>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#828DA6">
<font color="#ffffff" face="arial,helvetica,sanserif">
<a name="traceroute"><strong>17.4.3 traceroute</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>

	If you cannot "ping" your target site, this may be used to determine 
	the problem (possibly a firewall or a proxy). It can also be used
	to estimate the overall network latency (running locally should give
	the lowest possible network latency - remember that your users will
	be running over a possibly busy internet). Generally, the fewer hops
	the better.
	
</p>
</blockquote>
</td></tr>
<tr><td><br></td></tr>
</table>
</blockquote>
</td></tr>
<tr><td><br></td></tr>
</table>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#828DA6">
<font color="#ffffff" face="arial,helvetica,sanserif">
<a name="products"><strong>17.5 What other products are there ?</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>
There are a number of commercial products, which generally have fairly
hefty pricetags. If you can justify it, these are probably the way to go.
If, however, these products do not do exactly what you want, or you are on a
limited budget, the following are worth a look. In fact, you should probably
start by trying the Apache 
<b>
ab
</b>
 tool, as it may very well do the job
if your requirements are not particularly complicated.

</p>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#828DA6">
<font color="#ffffff" face="arial,helvetica,sanserif">
<a name="ab"><strong>17.5.1 Apache 'ab' tool</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>

	You should definitely start with this one. It handles HTTP 'get' requests
	very well, and can be made to handle HTTP 'post' requests with a little
	effort. Written in 'C', it performs very well, and offers good (if basic)
	performance reporting.
	
</p>
</blockquote>
</td></tr>
<tr><td><br></td></tr>
</table>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#828DA6">
<font color="#ffffff" face="arial,helvetica,sanserif">
<a name="httpunit"><strong>17.5.2 HttpUnit</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>

	This is worth a look. It is a library (and therefore of more interest to
	developers) that can be used to perform HTTP tests/benchmarks. It is
	intended to be used instead of a web browser (therefore no GUI) in
	conjunction with 
<b>
JUnit
</b>
.
	
</p>
</blockquote>
</td></tr>
<tr><td><br></td></tr>
</table>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#828DA6">
<font color="#ffffff" face="arial,helvetica,sanserif">
<a name="WAS"><strong>17.5.3 Microsoft WAS</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>

	This is definitely worth a look. It has an excellent user interface
	but it may not do exactly what you want. If this is the case, be aware
	that the functionality of this product is not likely to change.
	
</p>
</blockquote>
</td></tr>
<tr><td><br></td></tr>
</table>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#828DA6">
<font color="#ffffff" face="arial,helvetica,sanserif">
<a name="JMeter"><strong>17.5.4 JMeter</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>

	If you have non-standard requirements, then this solution offers an
	open-source community to provide them (of course, if you are reading
	
<u>
this
</u>
, you are probably already committed to this one). This
	product is free to evolve along with your requirements.
	
</p>
</blockquote>
</td></tr>
<tr><td><br></td></tr>
</table>
</blockquote>
</td></tr>
<tr><td><br></td></tr>
</table>
<table border="0" cellspacing="0" cellpadding="2" width="100%">
<tr><td bgcolor="#828DA6">
<font color="#ffffff" face="arial,helvetica,sanserif">
<a name="java"><strong>17.6 Why Java ?</strong></a>
</font>
</td></tr>
<tr><td>
<blockquote>
<p>
Why not Perl or C ?

</p>
<p>
Well, Perl might be a very good choice except that the Benchmark package
seems to give fairly fuzzy results. Also, simulating multiple users with
Perl is a tricky proposition (multiple connections can be simulated by forking
many processes from a shell script, but these will not be threads, they will
be processes). However, the Perl community is very large. If you find that
someone has already written something that seems useful, this could be a very
good solution.

</p>
<p>
C, of course, is a very good choice (check out the Apache 
<b>
ab
</b>
 tool).
But be prepared to write all of the custom networking, threading, and state
management code that you will need to benchmark your application.

</p>
<p>
Java gives you (for free) the custom networking, threading, and state
management code that you will need to benchmark your application. Java is
aware of HTTP, FTP, and HTTPS - as well as RMI, IIOP, and JDBC (not to mention
cookies, URL-encoding, and URL-rewriting). In addition Java gives you automatic
garbage-collection, and byte-code level security.

</p>
<p>
And once Microsoft moves to a CLR (common language run-time) a Windows Java
solution will not be any slower than any other type of solution on the Windows
platform.

</p>
</blockquote>
</td></tr>
<tr><td><br></td></tr>
</table>
</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="component_reference.html"><font size=-1 color="#ffffff" face="arial,helvetica,sanserif">Next</font></a></div>
</td>
<td bgcolor="#525D76">
<div align="right"><a href="best-practices.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 &copy; 1999-2008, Apache Software Foundation
</em></font>
</td>
<td align="right">
<font color="#525D76" size="-1"><em>
Updated: $Date: 2007-11-15 23:29:10 +0000 (Thu, 15 Nov 2007) $
</em></font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>




























⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -