Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
江炜
/
erp2.0-test-report
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
359c217f
authored
Feb 22, 2019
by
flyxiaozhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
99c9aa31
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
83 additions
and
2 deletions
data/erp2.0-测试结果.jmx
doc/technologySharing/doc/20170719232446685.png
doc/technologySharing/technologySharing.md
data/erp2.0-测试结果.jmx
View file @
359c217f
<?xml
version="1.0" encoding="UTF-8"?>
<?xml
version="1.0" encoding="UTF-8"?>
...
...
@@ -1169,7 +1169,7 @@
<boolProp
name=
"LoopController.continue_forever"
>
false
</boolProp>
<stringProp
name=
"LoopController.loops"
>
1
</stringProp>
</elementProp>
<stringProp
name=
"ThreadGroup.num_threads"
>
1
</stringProp>
<stringProp
name=
"ThreadGroup.num_threads"
>
0
</stringProp>
<stringProp
name=
"ThreadGroup.ramp_time"
>
0
</stringProp>
<boolProp
name=
"ThreadGroup.scheduler"
>
false
</boolProp>
<stringProp
name=
"ThreadGroup.duration"
></stringProp>
...
...
@@ -1530,6 +1530,76 @@ vars.put("sign",sign.toString());</stringProp>
</ResultCollector>
<hashTree/>
</hashTree>
<ThreadGroup
guiclass=
"ThreadGroupGui"
testclass=
"ThreadGroup"
testname=
"线程组"
enabled=
"true"
>
<stringProp
name=
"ThreadGroup.on_sample_error"
>
continue
</stringProp>
<elementProp
name=
"ThreadGroup.main_controller"
elementType=
"LoopController"
guiclass=
"LoopControlPanel"
testclass=
"LoopController"
testname=
"循环控制器"
enabled=
"true"
>
<boolProp
name=
"LoopController.continue_forever"
>
false
</boolProp>
<stringProp
name=
"LoopController.loops"
>
1
</stringProp>
</elementProp>
<stringProp
name=
"ThreadGroup.num_threads"
>
1
</stringProp>
<stringProp
name=
"ThreadGroup.ramp_time"
>
0
</stringProp>
<boolProp
name=
"ThreadGroup.scheduler"
>
false
</boolProp>
<stringProp
name=
"ThreadGroup.duration"
></stringProp>
<stringProp
name=
"ThreadGroup.delay"
></stringProp>
</ThreadGroup>
<hashTree>
<HTTPSamplerProxy
guiclass=
"HttpTestSampleGui"
testclass=
"HTTPSamplerProxy"
testname=
"HTTP请求"
enabled=
"true"
>
<elementProp
name=
"HTTPsampler.Arguments"
elementType=
"Arguments"
guiclass=
"HTTPArgumentsPanel"
testclass=
"Arguments"
enabled=
"true"
>
<collectionProp
name=
"Arguments.arguments"
/>
</elementProp>
<stringProp
name=
"HTTPSampler.domain"
>
www.baidu.com
</stringProp>
<stringProp
name=
"HTTPSampler.port"
>
80
</stringProp>
<stringProp
name=
"HTTPSampler.protocol"
>
http
</stringProp>
<stringProp
name=
"HTTPSampler.contentEncoding"
></stringProp>
<stringProp
name=
"HTTPSampler.path"
></stringProp>
<stringProp
name=
"HTTPSampler.method"
>
GET
</stringProp>
<boolProp
name=
"HTTPSampler.follow_redirects"
>
true
</boolProp>
<boolProp
name=
"HTTPSampler.auto_redirects"
>
false
</boolProp>
<boolProp
name=
"HTTPSampler.use_keepalive"
>
true
</boolProp>
<boolProp
name=
"HTTPSampler.DO_MULTIPART_POST"
>
false
</boolProp>
<stringProp
name=
"HTTPSampler.embedded_url_re"
></stringProp>
<stringProp
name=
"HTTPSampler.connect_timeout"
></stringProp>
<stringProp
name=
"HTTPSampler.response_timeout"
></stringProp>
</HTTPSamplerProxy>
<hashTree/>
<ResultCollector
guiclass=
"ViewResultsFullVisualizer"
testclass=
"ResultCollector"
testname=
"察看结果树"
enabled=
"true"
>
<boolProp
name=
"ResultCollector.error_logging"
>
false
</boolProp>
<objProp>
<name>
saveConfig
</name>
<value
class=
"SampleSaveConfiguration"
>
<time>
true
</time>
<latency>
true
</latency>
<timestamp>
true
</timestamp>
<success>
true
</success>
<label>
true
</label>
<code>
true
</code>
<message>
true
</message>
<threadName>
true
</threadName>
<dataType>
true
</dataType>
<encoding>
false
</encoding>
<assertions>
true
</assertions>
<subresults>
true
</subresults>
<responseData>
false
</responseData>
<samplerData>
false
</samplerData>
<xml>
false
</xml>
<fieldNames>
true
</fieldNames>
<responseHeaders>
false
</responseHeaders>
<requestHeaders>
false
</requestHeaders>
<responseDataOnError>
false
</responseDataOnError>
<saveAssertionResultsFailureMessage>
true
</saveAssertionResultsFailureMessage>
<assertionsResultsToSave>
0
</assertionsResultsToSave>
<bytes>
true
</bytes>
<sentBytes>
true
</sentBytes>
<url>
true
</url>
<threadCounts>
true
</threadCounts>
<idleTime>
true
</idleTime>
<connectTime>
true
</connectTime>
</value>
</objProp>
<stringProp
name=
"filename"
></stringProp>
</ResultCollector>
<hashTree/>
</hashTree>
</hashTree>
</hashTree>
</jmeterTestPlan>
doc/technologySharing/doc/20170719232446685.png
0 → 100644
View file @
359c217f
382 KB
doc/technologySharing/technologySharing.md
View file @
359c217f
...
...
@@ -13,12 +13,23 @@
最大并发数:指同时登录站点的最大人数或者服务器同时接收下载的最大数量。
吞吐率:是场景运行过程中服务器每秒的吞吐量。其度量单位是字节,表示每个请求连接在任何给定的每一秒从服务器获得的数据量。
## 目的
通过压力测试,判断当前应用环境情况下系统的负载能力,为今后应用范围扩大,用户量上升后,服务器扩容、升级等提供必要的技术支撑,及服务器规划等。
## JMeter
JMeter是100%纯JAVA桌面应用程序,被设计为用于测试客户端/服务端结构的软件(例如web应用程序)。它可以用来测试静态和动态资源的性能。
*
使用教程博客
基本使用:
https://www.cnblogs.com/TankXiao/p/4045439.html
https://blog.csdn.net/m0_37529303/article/details/75453230
使用录制功能的教程
https://blog.csdn.net/u011541946/article/details/79594631
*
分布式压测
*
线程组
!
[
img
](
./doc/20170719232446685.png
)
*
聚合报告含义
!
[
img
](
./doc/20170720001739096.png
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment