apache-jmeter对网站压力测试
2014-11-25 01:59
351 查看
(1)测试的网址的代码是
webapp10.html
<!DOCTYPE html>
<html>
<head>
<title>
Web App
</title>
</head>
<body>
<header>Square root query page</header>
<form action="webapp10.php" method="POST">
<label>What is the square root of <input type="number" value="2" name="n"></label>
<button type="submit">Find out!</button>
</form>
</body>
</html>
webapp10.html
<!DOCTYPE html>
<html>
<head>
<title>
Web App
</title>
</head>
<body>
<?php
echo "the result is".sqrt($_POST['n']);
?>
</body>
</html>
传入的参数是n=2;
(2)
点击该文件 按文章的要求配置
step one:
setp two:
step 3
click the start button and see the result
step 4
you can use distribution run, control several computer to test website
1. run jmeter-server.bat in /bin to open the server side
2. to edit jmeter.properties(make sure the file is visiable)
edit this sentence
to add the slave host ip adress;
3. make sure turn off the firewall
4. open the panel to control it, you can control the slave compuer 192.136.1.2 to test the website.
usually the server is on one computer. the master host is on one computer. the slaves hosts are one other computers;
jmeter usermanual
webapp10.html
<!DOCTYPE html>
<html>
<head>
<title>
Web App
</title>
</head>
<body>
<header>Square root query page</header>
<form action="webapp10.php" method="POST">
<label>What is the square root of <input type="number" value="2" name="n"></label>
<button type="submit">Find out!</button>
</form>
</body>
</html>
webapp10.html
<!DOCTYPE html>
<html>
<head>
<title>
Web App
</title>
</head>
<body>
<?php
echo "the result is".sqrt($_POST['n']);
?>
</body>
</html>
传入的参数是n=2;
(2)
点击该文件 按文章的要求配置
step one:
setp two:
step 3
click the start button and see the result
step 4
you can use distribution run, control several computer to test website
1. run jmeter-server.bat in /bin to open the server side
2. to edit jmeter.properties(make sure the file is visiable)
edit this sentence
to add the slave host ip adress;
3. make sure turn off the firewall
4. open the panel to control it, you can control the slave compuer 192.136.1.2 to test the website.
usually the server is on one computer. the master host is on one computer. the slaves hosts are one other computers;
jmeter usermanual
相关文章推荐
- Apache自带网站压力测试工具ab
- apache网站压力测试
- PHP使用Apache中的ab测试网站的压力性能
- PHP使用Apache中的ab测试网站的压力性能
- Apache JMeter--网站自动测试与性能测评
- Apache-ApacheBench(ab)网站压力测试
- 网站压力测试工具Jmeter安装与使用
- PHP使用Apache中的ab测试网站的压力性能
- 网站系统压力测试Jmeter+Badboy
- jmeter模拟对网站做压力测试
- apache下ab网站压力测试命令的参数、输出结果的中文注解
- 网站访问压力测试--JMeter
- Apache JMeter【对软件做压力测试】
- apache 自带的ab.exe 测试网站的并发量(网站压力测试)
- apache下ab网站压力测试命令的参数、输出结果的中文注解
- apache下ab网站压力测试命令的参数、输出结果的中文注解
- 使用Apache的ab工具测试网站压力
- 使用apache自带的压力测试工具进行网站压力测试
- Apache JMeter--网站自动测试与性能测评
- 使用apache自带的压力测试工具进行网站压力测试