This commit is contained in:
liwanlei
2017-10-16 21:00:09 +08:00
parent 70893105bb
commit 1ca7dcc802
24 changed files with 772 additions and 151 deletions

View File

@@ -1,71 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>接口测试报告</title>
<style type="text/css">
td{ width:40px; height:50px;}
</style>
</head>
<body>
<div style='width: 1170px;margin-left: 15%'>
<h1>接口测试的结果</h1>
<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 >2</strong>
Fail: <strong >0</strong>
</span></p>
<p ><strong>测试详情如下</strong></p> </div>
<p>&nbsp;</p>
<table border='2'cellspacing='1' cellpadding='1' width='1100'align="center" >
<tr >
<td ><strong>用例ID&nbsp;</strong></td>
<td><strong>用例名字</strong></td>
<td><strong>key</strong></td>
<td><strong>请求内容</strong></td>
<td><strong>url</strong></td>
<td><strong>请求方式</strong></td>
<td><strong>预期</strong></td>
<td><strong>实际返回</strong></td>
<td><strong>结果</strong></td>
</tr>
<tr>
<td>1.0</td>
<td>图灵api接口</td>
<td>aaaa</td>
<td>sasa
</td>
<td>http://www.tuling123.com/openapi/api</td>
<td>POST</td>
<td>code=40001</td>
<td>{'code': 40001, 'text': '亲爱的key不对哦。'}</td>
<td bgcolor="green">pass</td>
</tr>
<tr>
<td>2.0</td>
<td>图灵api接口</td>
<td>dfeb1cc8125943d29764a2f2f5c33739</td>
<td>
</td>
<td>http://www.tuling123.com/openapi/api
</td>
<td>POST</td>
<td>code=40002</td>
<td>{'code': 40002, 'text': '有什么想说的话,不用藏在心里,可以直接告诉我哦~'}</td>
<td bgcolor="green">pass</td>
</tr>
</table>
</body>
</html>

View File

@@ -11,9 +11,9 @@
<div style='width: 1170px;margin-left: 15%'>
<h1>接口测试的结果</h1>
<p><strong>开始时间:</strong> 2017-08-03 20:06:36.156240</p>
<p><strong>结束时间:</strong> 2017-08-03 20:06:36.585264</p>
<p><strong>耗时:</strong> 0:00:00.429024</p>
<p><strong>开始时间:</strong> 2017-10-16 20:54:47.323436</p>
<p><strong>结束时间:</strong> 2017-10-16 20:54:48.234489</p>
<p><strong>耗时:</strong> 0:00:00.911053</p>
<p><strong>结果:</strong>
<span >Pass: <strong >3</strong>
Fail: <strong >0</strong>
@@ -61,7 +61,7 @@
</td>
<td>POST</td>
<td>code=40002</td>
<td>{'code': 40002, 'text': '有些话,难以说出口'}</td>
<td>{'code': 40002, 'text': '有啥事吗'}</td>
<td bgcolor="green">pass</td>
</tr>