搭建持续集成接口测试平台(Jenkins+Ant+Jmeter)
1 Started by user anonymous2 Building in workspace D:\B_TOOLS\jenkins\jobs\TestJenkins\workspace
3 $ cmd.exe /C '"ant.bat -file build3.xml run && exit %%ERRORLEVEL%%"'
4 Buildfile: build3.xml
5
6 run:
7 start...
8
9 clean:
10 Created dir: D:\B_TOOLS\jenkins\jobs\TestJenkins\workspace\results\15
11
12 test:
13 Executing test plan: D:\B_TOOLS\apache-jmeter-2.13\demo\baidu.jmx ==> D:\B_TOOLS\jenkins\jobs\TestJenkins\workspace\results\15\TestReport.jtl
14 Creating summariser <summary>
15 Created the tree successfully using D:\B_TOOLS\apache-jmeter-2.13\demo\baidu.jmx
16 Starting the test @ Tue Sep 22 15:50:33 CST 2015 (1442908233010)
17 Waiting for possible shutdown message on port 4445
18 summary + 1 in 1s = 2.0/s Avg: 254 Min: 254 Max: 254 Err: 0 (0.00%) Active: 1 Started: 1 Finished: 0
19 summary + 5 in 1s = 7.3/s Avg: 131 Min: 96 Max: 196 Err: 0 (0.00%) Active: 0 Started: 1 Finished: 1
20 summary = 6 in 1.2s = 5.0/s Avg: 151 Min: 96 Max: 254 Err: 0 (0.00%)
21 Tidying up ... @ Tue Sep 22 15:50:34 CST 2015 (1442908234310)
22 ... end of run
23 Executing test plan: D:\B_TOOLS\apache-jmeter-2.13\demo\google.jmx ==> D:\B_TOOLS\jenkins\jobs\TestJenkins\workspace\results\15\TestReport.jtl
24 Creating summariser <summary>
25 Created the tree successfully using D:\B_TOOLS\apache-jmeter-2.13\demo\google.jmx
26 Starting the test @ Tue Sep 22 15:50:35 CST 2015 (1442908235240)
27 Waiting for possible shutdown message on port 4445
28 summary + 1 in 1s = 1.9/s Avg: 253 Min: 253 Max: 253 Err: 1 (100.00%) Active: 1 Started: 1 Finished: 0
29 summary + 5 in 1.1s = 4.4/s Avg: 209 Min: 97 Max: 420 Err: 0 (0.00%) Active: 0 Started: 1 Finished: 1
30 summary = 6 in 2s = 3.6/s Avg: 216 Min: 97 Max: 420 Err: 1 (16.67%)
31 Tidying up ... @ Tue Sep 22 15:50:36 CST 2015 (1442908236992)
32 ... end of run
33
34 report:
35 Processing D:\B_TOOLS\jenkins\jobs\TestJenkins\workspace\results\15\TestReport.jtl to D:\B_TOOLS\jenkins\jobs\TestJenkins\workspace\results\15\TestReport.html
36 Loading stylesheet D:\B_TOOLS\apache-jmeter-2.13\extras\jmeter-results-detail-report_21.xsl
37 Copying 2 files to D:\B_TOOLS\jenkins\jobs\TestJenkins\workspace\results\15
38
39 BUILD SUCCESSFUL
40 Total time: 5 seconds
41 $ cmd /c call D:\Users\heman793\AppData\Local\Temp\hudson4765606743104861298.bat
42
43 D:\B_TOOLS\jenkins\jobs\TestJenkins\workspace>echo D:\B_TOOLS\jenkins\jobs\TestJenkins\workspace
44 D:\B_TOOLS\jenkins\jobs\TestJenkins\workspace
45
46 D:\B_TOOLS\jenkins\jobs\TestJenkins\workspace>echo 15
47 15
48
49 D:\B_TOOLS\jenkins\jobs\TestJenkins\workspace>cd results
50
51 D:\B_TOOLS\jenkins\jobs\TestJenkins\workspace\results>cd 15
52
53 D:\B_TOOLS\jenkins\jobs\TestJenkins\workspace\results\15>exit 0
54 Finished: SUCCESS
页:
[1]