优化了断言,新增统计,

This commit is contained in:
liwanlei
2017-08-03 13:03:33 +08:00
parent 9bddccfff4
commit f77834a584
21 changed files with 68 additions and 57 deletions

View File

@@ -11,12 +11,12 @@
<div style='width: 1170px;margin-left: 15%'>
<h1>接口测试的结果</h1>
<p><strong>开始时间:</strong> 2017-08-02 13:50:24.016425</p>
<p><strong>结束时间:</strong> 2017-08-02 13:51:00.284499</p>
<p><strong>耗时:</strong> 0:00:36.268074</p>
<p><strong>开始时间:</strong> 2017-08-03 12:58:24.075566</p>
<p><strong>结束时间:</strong> 2017-08-03 12:59:00.367642</p>
<p><strong>耗时:</strong> 0:00:36.292076</p>
<p><strong>结果:</strong>
<span >Pass: <strong >0</strong>
Fail: <strong >2</strong>
<span >Pass: <strong >2</strong>
Fail: <strong >0</strong>
</span></p>
<p ><strong>测试详情如下</strong></p> </div>
@@ -44,9 +44,9 @@
</td>
<td>http://www.tuling123.com/openapi/api</td>
<td>POST</td>
<td>40002</td>
<td>code=40001</td>
<td>{'code': 40001, 'text': '亲爱的key不对哦。'}</td>
<td bgcolor="fail">fail</td>
<td bgcolor="green">pass</td>
</tr>
@@ -60,9 +60,9 @@
<td>http://www.tuling123.com/openapi/api
</td>
<td>POST</td>
<td>40008</td>
<td>{'code': 40002, 'text': '干啥呀?'}</td>
<td bgcolor="fail">fail</td>
<td>code=40002</td>
<td>{'code': 40002, 'text': '有什么想说的话,不用藏在心里,可以直接告诉我哦~'}</td>
<td bgcolor="green">pass</td>
</tr>