|
|
|
<head>
|
|
|
|
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title> - TestReport</title>
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
background-color: #f2f2f2;
|
|
|
|
color: #333;
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 960px;
|
|
|
|
}
|
|
|
|
#summary, #details {
|
|
|
|
width: 960px;
|
|
|
|
}
|
|
|
|
#summary th {
|
|
|
|
background-color: skyblue;
|
|
|
|
padding: 5px 12px;
|
|
|
|
}
|
|
|
|
#summary td {
|
|
|
|
background-color: lightblue;
|
|
|
|
text-align: center;
|
|
|
|
padding: 4px 8px;
|
|
|
|
}
|
|
|
|
#details th {
|
|
|
|
background-color: skyblue;
|
|
|
|
padding: 5px 12px;
|
|
|
|
}
|
|
|
|
#details td {
|
|
|
|
background-color: lightblue;
|
|
|
|
padding: 5px 12px;
|
|
|
|
}
|
|
|
|
#details .detail {
|
|
|
|
background-color: lightgrey;
|
|
|
|
font-size: smaller;
|
|
|
|
padding: 5px 10px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
#details .success {
|
|
|
|
background-color: greenyellow;
|
|
|
|
}
|
|
|
|
#details .error {
|
|
|
|
background-color: red;
|
|
|
|
}
|
|
|
|
#details .failure {
|
|
|
|
background-color: salmon;
|
|
|
|
}
|
|
|
|
#details .skipped {
|
|
|
|
background-color: gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
font-size: 1em;
|
|
|
|
padding: 6px;
|
|
|
|
width: 4em;
|
|
|
|
text-align: center;
|
|
|
|
background-color: #06d85f;
|
|
|
|
border-radius: 20px/50px;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: all 0.3s ease-out;
|
|
|
|
}
|
|
|
|
a.button{
|
|
|
|
color: gray;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
.button:hover {
|
|
|
|
background: #2cffbd;
|
|
|
|
}
|
|
|
|
|
|
|
|
.overlay {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
background: rgba(0, 0, 0, 0.7);
|
|
|
|
transition: opacity 500ms;
|
|
|
|
visibility: hidden;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
.overlay:target {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup {
|
|
|
|
margin: 70px auto;
|
|
|
|
padding: 20px;
|
|
|
|
background: #fff;
|
|
|
|
border-radius: 5px;
|
|
|
|
width: 30%;
|
|
|
|
position: relative;
|
|
|
|
transition: all 5s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup h2 {
|
|
|
|
margin-top: 0;
|
|
|
|
color: #333;
|
|
|
|
font-family: Tahoma, Arial, sans-serif;
|
|
|
|
}
|
|
|
|
.popup .close {
|
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
right: 30px;
|
|
|
|
transition: all 200ms;
|
|
|
|
font-size: 30px;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
.popup .close:hover {
|
|
|
|
color: #06d85f;
|
|
|
|
}
|
|
|
|
.popup .content {
|
|
|
|
max-height: 30%;
|
|
|
|
overflow: auto;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 700px) {
|
|
|
|
.box {
|
|
|
|
width: 70%;
|
|
|
|
}
|
|
|
|
.popup {
|
|
|
|
width: 70%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<h1>Test Report: </h1>
|
|
|
|
|
|
|
|
<h2>Summary</h2>
|
|
|
|
<table id="summary">
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th>START AT</th>
|
|
|
|
<td colspan="4">2018-04-03 16:16:20</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>DURATION</th>
|
|
|
|
<td colspan="4">0.943 seconds</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>PLATFORM</th>
|
|
|
|
<td>HttpRunner 1.0.0 </td>
|
|
|
|
<td>CPython 2.7.10 </td>
|
|
|
|
<td colspan="2">Darwin-14.5.0-x86_64-i386-32bit</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>TOTAL</th>
|
|
|
|
<th>SUCCESS</th>
|
|
|
|
<th>FAILED</th>
|
|
|
|
<th>ERROR</th>
|
|
|
|
<th>SKIPPED</th>
|
|
|
|
<!-- <th>ExpectedFailure</th>
|
|
|
|
<th>UnexpectedSuccess</th> -->
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>12</td>
|
|
|
|
<td>11</td>
|
|
|
|
<td>0</td>
|
|
|
|
<td>1</td>
|
|
|
|
<td>0</td>
|
|
|
|
<!-- <td>0</td>
|
|
|
|
<td>0</td> -->
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<h2>Details</h2>
|
|
|
|
<table id="details">
|
|
|
|
<tr>
|
|
|
|
<th>Status</th>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Response Time</th>
|
|
|
|
<th>Detail</th>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th class="success" style="width:5em;">success</td>
|
|
|
|
<td>21桌 顾客扫桌码</td>
|
|
|
|
<td style="text-align:center;width:6em;">183.0 ms</td>
|
|
|
|
<td class="detail">
|
|
|
|
|
|
|
|
<a class="button" href="#popup_log_1">log</a>
|
|
|
|
<div id="popup_log_1" class="overlay">
|
|
|
|
<div class="popup">
|
|
|
|
<h2>Request and Response data</h2>
|
|
|
|
<a class="close" href="#">×</a>
|
|
|
|
<div class="content"><pre>{
|
|
|
|
"content_size": 494,
|
|
|
|
"elapsed": 0.179997,
|
|
|
|
"method": "POST",
|
|
|
|
"request_body": "openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026remark=%E8%BF%99%E6%98%AF21%E6%A1%8C%E7%9A%84%E5%A4%87%E6%B3%A8\u0026remarkid=1\u0026pnum=8\u0026tableid=21\u0026sellerid=4",
|
|
|
|
"request_headers": {
|
|
|
|
"Accept": "*/*",
|
|
|
|
"Accept-Encoding": "gzip, deflate",
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Length": "139",
|
|
|
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
|
|
"User-Agent": "python-requests/2.18.4"
|
|
|
|
},
|
|
|
|
"request_time": 1522743380.936911,
|
|
|
|
"response_body": "{\"ret\":200,\"data\":[{\"id\":\"28\",\"no\":\"87083608\",\"pnum\":\"8\",\"sellerid\":\"4\",\"tableid\":\"21\",\"openid\":\"o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\",\"price\":\"300\",\"status\":\"1\",\"remark\":\"\\u8fd9\\u662f21\\u684c\\u7684\\u5907\\u6ce8\",\"remarkid\":\"1\",\"type\":null,\"phone\":null,\"cdate\":\"1522741607\",\"table\":{\"id\":\"21\",\"rid\":\"2\",\"sellerid\":\"4\",\"name\":\"\\u554a\\u554a\\u554a\\u4e00\",\"table_pnum\":\"5\",\"tid\":\"0\",\"order_o\":\"12\",\"status\":\"1\",\"enable\":\"0\",\"cdate\":\"1522650111\",\"region_name\":\"\\u554a\\u554a\\u554a\",\"type_name\":\"\"}}],\"msg\":\"\"}",
|
|
|
|
"response_headers": {
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Encoding": "gzip",
|
|
|
|
"Content-Type": "application/json;charset=utf-8",
|
|
|
|
"Date": "Tue, 03 Apr 2018 08:16:20 GMT",
|
|
|
|
"Server": "nginx/1.13.5",
|
|
|
|
"Transfer-Encoding": "chunked",
|
|
|
|
"X-Powered-By": "PHP/5.6.9"
|
|
|
|
},
|
|
|
|
"response_time": 183,
|
|
|
|
"status_code": 200,
|
|
|
|
"url": "/?s=App.Orders.CreateOrder"
|
|
|
|
}</pre></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th class="success" style="width:5em;">success</td>
|
|
|
|
<td>21桌 添加一个有规格有做法菜品</td>
|
|
|
|
<td style="text-align:center;width:6em;">71.0 ms</td>
|
|
|
|
<td class="detail">
|
|
|
|
|
|
|
|
<a class="button" href="#popup_log_2">log</a>
|
|
|
|
<div id="popup_log_2" class="overlay">
|
|
|
|
<div class="popup">
|
|
|
|
<h2>Request and Response data</h2>
|
|
|
|
<a class="close" href="#">×</a>
|
|
|
|
<div class="content"><pre>{
|
|
|
|
"content_size": 229,
|
|
|
|
"elapsed": 0.070604,
|
|
|
|
"method": "POST",
|
|
|
|
"request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026specid=7\u0026cookbookid=6\u0026practiceid=3",
|
|
|
|
"request_headers": {
|
|
|
|
"Accept": "*/*",
|
|
|
|
"Accept-Encoding": "gzip, deflate",
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Length": "81",
|
|
|
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
|
|
"User-Agent": "python-requests/2.18.4"
|
|
|
|
},
|
|
|
|
"request_time": 1522743381.126917,
|
|
|
|
"response_body": "{\"ret\":200,\"data\":[{\"orderid\":28,\"openid\":\"o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\",\"cookbookid\":6,\"specid\":7,\"practiceid\":3,\"price\":null,\"source\":1,\"fromSoucre\":null,\"cdate\":1522743380,\"id\":\"524\",\"countTotal\":6,\"countPirce\":368}],\"msg\":\"\"}",
|
|
|
|
"response_headers": {
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Encoding": "gzip",
|
|
|
|
"Content-Type": "application/json;charset=utf-8",
|
|
|
|
"Date": "Tue, 03 Apr 2018 08:16:20 GMT",
|
|
|
|
"Server": "nginx/1.13.5",
|
|
|
|
"Transfer-Encoding": "chunked",
|
|
|
|
"X-Powered-By": "PHP/5.6.9"
|
|
|
|
},
|
|
|
|
"response_time": 71,
|
|
|
|
"status_code": 200,
|
|
|
|
"url": "/?s=App.Orders.AddCart"
|
|
|
|
}</pre></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th class="success" style="width:5em;">success</td>
|
|
|
|
<td>21桌 添加一个有规格无做法菜品</td>
|
|
|
|
<td style="text-align:center;width:6em;">57.0 ms</td>
|
|
|
|
<td class="detail">
|
|
|
|
|
|
|
|
<a class="button" href="#popup_log_3">log</a>
|
|
|
|
<div id="popup_log_3" class="overlay">
|
|
|
|
<div class="popup">
|
|
|
|
<h2>Request and Response data</h2>
|
|
|
|
<a class="close" href="#">×</a>
|
|
|
|
<div class="content"><pre>{
|
|
|
|
"content_size": 232,
|
|
|
|
"elapsed": 0.056331,
|
|
|
|
"method": "POST",
|
|
|
|
"request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026specid=4\u0026cookbookid=3",
|
|
|
|
"request_headers": {
|
|
|
|
"Accept": "*/*",
|
|
|
|
"Accept-Encoding": "gzip, deflate",
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Length": "68",
|
|
|
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
|
|
"User-Agent": "python-requests/2.18.4"
|
|
|
|
},
|
|
|
|
"request_time": 1522743381.199754,
|
|
|
|
"response_body": "{\"ret\":200,\"data\":[{\"orderid\":28,\"openid\":\"o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\",\"cookbookid\":3,\"specid\":4,\"practiceid\":null,\"price\":null,\"source\":1,\"fromSoucre\":null,\"cdate\":1522743380,\"id\":\"525\",\"countTotal\":7,\"countPirce\":436}],\"msg\":\"\"}",
|
|
|
|
"response_headers": {
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Encoding": "gzip",
|
|
|
|
"Content-Type": "application/json;charset=utf-8",
|
|
|
|
"Date": "Tue, 03 Apr 2018 08:16:20 GMT",
|
|
|
|
"Server": "nginx/1.13.5",
|
|
|
|
"Transfer-Encoding": "chunked",
|
|
|
|
"X-Powered-By": "PHP/5.6.9"
|
|
|
|
},
|
|
|
|
"response_time": 57,
|
|
|
|
"status_code": 200,
|
|
|
|
"url": "/?s=App.Orders.AddCart"
|
|
|
|
}</pre></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th class="success" style="width:5em;">success</td>
|
|
|
|
<td>21桌 添加一个普通菜品</td>
|
|
|
|
<td style="text-align:center;width:6em;">62.0 ms</td>
|
|
|
|
<td class="detail">
|
|
|
|
|
|
|
|
<a class="button" href="#popup_log_4">log</a>
|
|
|
|
<div id="popup_log_4" class="overlay">
|
|
|
|
<div class="popup">
|
|
|
|
<h2>Request and Response data</h2>
|
|
|
|
<a class="close" href="#">×</a>
|
|
|
|
<div class="content"><pre>{
|
|
|
|
"content_size": 235,
|
|
|
|
"elapsed": 0.061684,
|
|
|
|
"method": "POST",
|
|
|
|
"request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026cookbookid=9",
|
|
|
|
"request_headers": {
|
|
|
|
"Accept": "*/*",
|
|
|
|
"Accept-Encoding": "gzip, deflate",
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Length": "59",
|
|
|
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
|
|
"User-Agent": "python-requests/2.18.4"
|
|
|
|
},
|
|
|
|
"request_time": 1522743381.258292,
|
|
|
|
"response_body": "{\"ret\":200,\"data\":[{\"orderid\":28,\"openid\":\"o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\",\"cookbookid\":9,\"specid\":null,\"practiceid\":null,\"price\":null,\"source\":1,\"fromSoucre\":null,\"cdate\":1522743380,\"id\":\"526\",\"countTotal\":8,\"countPirce\":462}],\"msg\":\"\"}",
|
|
|
|
"response_headers": {
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Encoding": "gzip",
|
|
|
|
"Content-Type": "application/json;charset=utf-8",
|
|
|
|
"Date": "Tue, 03 Apr 2018 08:16:20 GMT",
|
|
|
|
"Server": "nginx/1.13.5",
|
|
|
|
"Transfer-Encoding": "chunked",
|
|
|
|
"X-Powered-By": "PHP/5.6.9"
|
|
|
|
},
|
|
|
|
"response_time": 62,
|
|
|
|
"status_code": 200,
|
|
|
|
"url": "/?s=App.Orders.AddCart"
|
|
|
|
}</pre></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th class="success" style="width:5em;">success</td>
|
|
|
|
<td>21桌 添加一个沽清数量为2的菜品</td>
|
|
|
|
<td style="text-align:center;width:6em;">61.0 ms</td>
|
|
|
|
<td class="detail">
|
|
|
|
|
|
|
|
<a class="button" href="#popup_log_5">log</a>
|
|
|
|
<div id="popup_log_5" class="overlay">
|
|
|
|
<div class="popup">
|
|
|
|
<h2>Request and Response data</h2>
|
|
|
|
<a class="close" href="#">×</a>
|
|
|
|
<div class="content"><pre>{
|
|
|
|
"content_size": 236,
|
|
|
|
"elapsed": 0.060874,
|
|
|
|
"method": "POST",
|
|
|
|
"request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026cookbookid=11",
|
|
|
|
"request_headers": {
|
|
|
|
"Accept": "*/*",
|
|
|
|
"Accept-Encoding": "gzip, deflate",
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Length": "60",
|
|
|
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
|
|
"User-Agent": "python-requests/2.18.4"
|
|
|
|
},
|
|
|
|
"request_time": 1522743381.322181,
|
|
|
|
"response_body": "{\"ret\":200,\"data\":[{\"orderid\":28,\"openid\":\"o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\",\"cookbookid\":11,\"specid\":null,\"practiceid\":null,\"price\":null,\"source\":1,\"fromSoucre\":null,\"cdate\":1522743380,\"id\":\"527\",\"countTotal\":9,\"countPirce\":531}],\"msg\":\"\"}",
|
|
|
|
"response_headers": {
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Encoding": "gzip",
|
|
|
|
"Content-Type": "application/json;charset=utf-8",
|
|
|
|
"Date": "Tue, 03 Apr 2018 08:16:20 GMT",
|
|
|
|
"Server": "nginx/1.13.5",
|
|
|
|
"Transfer-Encoding": "chunked",
|
|
|
|
"X-Powered-By": "PHP/5.6.9"
|
|
|
|
},
|
|
|
|
"response_time": 61,
|
|
|
|
"status_code": 200,
|
|
|
|
"url": "/?s=App.Orders.AddCart"
|
|
|
|
}</pre></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th class="success" style="width:5em;">success</td>
|
|
|
|
<td>21桌 再次添加一个沽清数量为2的菜品</td>
|
|
|
|
<td style="text-align:center;width:6em;">66.0 ms</td>
|
|
|
|
<td class="detail">
|
|
|
|
|
|
|
|
<a class="button" href="#popup_log_6">log</a>
|
|
|
|
<div id="popup_log_6" class="overlay">
|
|
|
|
<div class="popup">
|
|
|
|
<h2>Request and Response data</h2>
|
|
|
|
<a class="close" href="#">×</a>
|
|
|
|
<div class="content"><pre>{
|
|
|
|
"content_size": 237,
|
|
|
|
"elapsed": 0.065972,
|
|
|
|
"method": "POST",
|
|
|
|
"request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026cookbookid=11",
|
|
|
|
"request_headers": {
|
|
|
|
"Accept": "*/*",
|
|
|
|
"Accept-Encoding": "gzip, deflate",
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Length": "60",
|
|
|
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
|
|
"User-Agent": "python-requests/2.18.4"
|
|
|
|
},
|
|
|
|
"request_time": 1522743381.385236,
|
|
|
|
"response_body": "{\"ret\":200,\"data\":[{\"orderid\":28,\"openid\":\"o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\",\"cookbookid\":11,\"specid\":null,\"practiceid\":null,\"price\":null,\"source\":1,\"fromSoucre\":null,\"cdate\":1522743381,\"id\":\"528\",\"countTotal\":10,\"countPirce\":600}],\"msg\":\"\"}",
|
|
|
|
"response_headers": {
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Encoding": "gzip",
|
|
|
|
"Content-Type": "application/json;charset=utf-8",
|
|
|
|
"Date": "Tue, 03 Apr 2018 08:16:21 GMT",
|
|
|
|
"Server": "nginx/1.13.5",
|
|
|
|
"Transfer-Encoding": "chunked",
|
|
|
|
"X-Powered-By": "PHP/5.6.9"
|
|
|
|
},
|
|
|
|
"response_time": 66,
|
|
|
|
"status_code": 200,
|
|
|
|
"url": "/?s=App.Orders.AddCart"
|
|
|
|
}</pre></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th class="success" style="width:5em;">success</td>
|
|
|
|
<td>22桌 顾客扫桌码</td>
|
|
|
|
<td style="text-align:center;width:6em;">63.0 ms</td>
|
|
|
|
<td class="detail">
|
|
|
|
|
|
|
|
<a class="button" href="#popup_log_7">log</a>
|
|
|
|
<div id="popup_log_7" class="overlay">
|
|
|
|
<div class="popup">
|
|
|
|
<h2>Request and Response data</h2>
|
|
|
|
<a class="close" href="#">×</a>
|
|
|
|
<div class="content"><pre>{
|
|
|
|
"content_size": 493,
|
|
|
|
"elapsed": 0.06242,
|
|
|
|
"method": "POST",
|
|
|
|
"request_body": "openid=o9pcQ0dtFx_KTFpUpCXOaLUdsGTQ\u0026remark=%E8%BF%99%E6%98%AF22%E6%A1%8C%E7%9A%84%E5%A4%87%E6%B3%A8\u0026remarkid=2\u0026pnum=8\u0026tableid=22\u0026sellerid=4",
|
|
|
|
"request_headers": {
|
|
|
|
"Accept": "*/*",
|
|
|
|
"Accept-Encoding": "gzip, deflate",
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Length": "139",
|
|
|
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
|
|
"User-Agent": "python-requests/2.18.4"
|
|
|
|
},
|
|
|
|
"request_time": 1522743381.453193,
|
|
|
|
"response_body": "{\"ret\":200,\"data\":[{\"id\":\"29\",\"no\":\"99659978\",\"pnum\":\"8\",\"sellerid\":\"4\",\"tableid\":\"22\",\"openid\":\"o9pcQ0dtFx_KTFpUpCXOaLUdsGTQ\",\"price\":\"69\",\"status\":\"1\",\"remark\":\"\\u8fd9\\u662f22\\u684c\\u7684\\u5907\\u6ce8\",\"remarkid\":\"2\",\"type\":null,\"phone\":null,\"cdate\":\"1522741607\",\"table\":{\"id\":\"22\",\"rid\":\"2\",\"sellerid\":\"4\",\"name\":\"\\u554a\\u554a\\u554a\\u4e00\",\"table_pnum\":\"9\",\"tid\":\"0\",\"order_o\":\"13\",\"status\":\"1\",\"enable\":\"0\",\"cdate\":\"1522650015\",\"region_name\":\"\\u554a\\u554a\\u554a\",\"type_name\":\"\"}}],\"msg\":\"\"}",
|
|
|
|
"response_headers": {
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Encoding": "gzip",
|
|
|
|
"Content-Type": "application/json;charset=utf-8",
|
|
|
|
"Date": "Tue, 03 Apr 2018 08:16:21 GMT",
|
|
|
|
"Server": "nginx/1.13.5",
|
|
|
|
"Transfer-Encoding": "chunked",
|
|
|
|
"X-Powered-By": "PHP/5.6.9"
|
|
|
|
},
|
|
|
|
"response_time": 63,
|
|
|
|
"status_code": 200,
|
|
|
|
"url": "/?s=App.Orders.CreateOrder"
|
|
|
|
}</pre></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th class="success" style="width:5em;">success</td>
|
|
|
|
<td>22桌 添加一个沽清数量为2的菜品</td>
|
|
|
|
<td style="text-align:center;width:6em;">61.0 ms</td>
|
|
|
|
<td class="detail">
|
|
|
|
|
|
|
|
<a class="button" href="#popup_log_8">log</a>
|
|
|
|
<div id="popup_log_8" class="overlay">
|
|
|
|
<div class="popup">
|
|
|
|
<h2>Request and Response data</h2>
|
|
|
|
<a class="close" href="#">×</a>
|
|
|
|
<div class="content"><pre>{
|
|
|
|
"content_size": 236,
|
|
|
|
"elapsed": 0.060112,
|
|
|
|
"method": "POST",
|
|
|
|
"request_body": "orderid=29\u0026openid=o9pcQ0dtFx_KTFpUpCXOaLUdsGTQ\u0026cookbookid=11",
|
|
|
|
"request_headers": {
|
|
|
|
"Accept": "*/*",
|
|
|
|
"Accept-Encoding": "gzip, deflate",
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Length": "60",
|
|
|
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
|
|
"User-Agent": "python-requests/2.18.4"
|
|
|
|
},
|
|
|
|
"request_time": 1522743381.518138,
|
|
|
|
"response_body": "{\"ret\":200,\"data\":[{\"orderid\":29,\"openid\":\"o9pcQ0dtFx_KTFpUpCXOaLUdsGTQ\",\"cookbookid\":11,\"specid\":null,\"practiceid\":null,\"price\":null,\"source\":1,\"fromSoucre\":null,\"cdate\":1522743381,\"id\":\"529\",\"countTotal\":2,\"countPirce\":138}],\"msg\":\"\"}",
|
|
|
|
"response_headers": {
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Encoding": "gzip",
|
|
|
|
"Content-Type": "application/json;charset=utf-8",
|
|
|
|
"Date": "Tue, 03 Apr 2018 08:16:21 GMT",
|
|
|
|
"Server": "nginx/1.13.5",
|
|
|
|
"Transfer-Encoding": "chunked",
|
|
|
|
"X-Powered-By": "PHP/5.6.9"
|
|
|
|
},
|
|
|
|
"response_time": 61,
|
|
|
|
"status_code": 200,
|
|
|
|
"url": "/?s=App.Orders.AddCart"
|
|
|
|
}</pre></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th class="success" style="width:5em;">success</td>
|
|
|
|
<td>22桌 下单</td>
|
|
|
|
<td style="text-align:center;width:6em;">60.0 ms</td>
|
|
|
|
<td class="detail">
|
|
|
|
|
|
|
|
<a class="button" href="#popup_log_9">log</a>
|
|
|
|
<div id="popup_log_9" class="overlay">
|
|
|
|
<div class="popup">
|
|
|
|
<h2>Request and Response data</h2>
|
|
|
|
<a class="close" href="#">×</a>
|
|
|
|
<div class="content"><pre>{
|
|
|
|
"content_size": 439,
|
|
|
|
"elapsed": 0.0597,
|
|
|
|
"method": "POST",
|
|
|
|
"request_body": "orderid=29\u0026sellerid=4\u0026type=type_order",
|
|
|
|
"request_headers": {
|
|
|
|
"Accept": "*/*",
|
|
|
|
"Accept-Encoding": "gzip, deflate",
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Length": "37",
|
|
|
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
|
|
"User-Agent": "python-requests/2.18.4"
|
|
|
|
},
|
|
|
|
"request_time": 1522743381.580503,
|
|
|
|
"response_body": "{\"ret\":200,\"data\":[{\"min_num\":[],\"clear_error\":[{\"count\":\"2\",\"cookbookid\":\"11\",\"price\":\"69\",\"specid\":null,\"openid\":\"o9pcQ0dtFx_KTFpUpCXOaLUdsGTQ\",\"id\":\"513\",\"practiceid\":null,\"image\":\"https:\\/\\/xt05.colorcun.com\\/uploads\\/Cookbook\\/3e4d7b9a872f17ae4097eda36fa586fa.jpg\",\"unit\":\"\\u65a4\",\"name\":\"\\u4e0a\\u6d77\\u6cb9\\u7206\\u5927\\u867e\",\"class_name\":\"\\u7092\\u83dc\",\"classid\":\"2\",\"spec_price\":null,\"specs\":null,\"practice_name\":null}]}],\"msg\":\"\"}",
|
|
|
|
"response_headers": {
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Encoding": "gzip",
|
|
|
|
"Content-Type": "application/json;charset=utf-8",
|
|
|
|
"Date": "Tue, 03 Apr 2018 08:16:21 GMT",
|
|
|
|
"Server": "nginx/1.13.5",
|
|
|
|
"Transfer-Encoding": "chunked",
|
|
|
|
"X-Powered-By": "PHP/5.6.9"
|
|
|
|
},
|
|
|
|
"response_time": 60,
|
|
|
|
"status_code": 200,
|
|
|
|
"url": "/?s=App.Orders.PlaceOrder"
|
|
|
|
}</pre></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th class="error" style="width:5em;">error</td>
|
|
|
|
<td>21桌 下单</td>
|
|
|
|
<td style="text-align:center;width:6em;">80.0 ms</td>
|
|
|
|
<td class="detail">
|
|
|
|
|
|
|
|
<a class="button" href="#popup_log_10">log</a>
|
|
|
|
<div id="popup_log_10" class="overlay">
|
|
|
|
<div class="popup">
|
|
|
|
<h2>Request and Response data</h2>
|
|
|
|
<a class="close" href="#">×</a>
|
|
|
|
<div class="content"><pre>{
|
|
|
|
"content_size": 439,
|
|
|
|
"elapsed": 0.079423,
|
|
|
|
"method": "POST",
|
|
|
|
"request_body": "orderid=28\u0026sellerid=4\u0026type=type_order",
|
|
|
|
"request_headers": {
|
|
|
|
"Accept": "*/*",
|
|
|
|
"Accept-Encoding": "gzip, deflate",
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Length": "37",
|
|
|
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
|
|
"User-Agent": "python-requests/2.18.4"
|
|
|
|
},
|
|
|
|
"request_time": 1522743381.642474,
|
|
|
|
"response_body": "{\"ret\":200,\"data\":[{\"min_num\":[],\"clear_error\":[{\"count\":\"4\",\"cookbookid\":\"11\",\"price\":\"69\",\"specid\":null,\"openid\":\"o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\",\"id\":\"511\",\"practiceid\":null,\"image\":\"https:\\/\\/xt05.colorcun.com\\/uploads\\/Cookbook\\/3e4d7b9a872f17ae4097eda36fa586fa.jpg\",\"unit\":\"\\u65a4\",\"name\":\"\\u4e0a\\u6d77\\u6cb9\\u7206\\u5927\\u867e\",\"class_name\":\"\\u7092\\u83dc\",\"classid\":\"2\",\"spec_price\":null,\"specs\":null,\"practice_name\":null}]}],\"msg\":\"\"}",
|
|
|
|
"response_headers": {
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Encoding": "gzip",
|
|
|
|
"Content-Type": "application/json;charset=utf-8",
|
|
|
|
"Date": "Tue, 03 Apr 2018 08:16:21 GMT",
|
|
|
|
"Server": "nginx/1.13.5",
|
|
|
|
"Transfer-Encoding": "chunked",
|
|
|
|
"X-Powered-By": "PHP/5.6.9"
|
|
|
|
},
|
|
|
|
"response_time": 80,
|
|
|
|
"status_code": 200,
|
|
|
|
"url": "/?s=App.Orders.PlaceOrder"
|
|
|
|
}</pre></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<a class="button" href="#popup_attachment_10">traceback</a>
|
|
|
|
<div id="popup_attachment_10" class="overlay">
|
|
|
|
<div class="popup">
|
|
|
|
<h2>Traceback Message</h2>
|
|
|
|
<a class="close" href="#">×</a>
|
|
|
|
<div class="content"><pre>Traceback (most recent call last):
|
|
|
|
ValidationError:
|
|
|
|
check item name: content.ret;
|
|
|
|
check item value: 200 (int);
|
|
|
|
comparator: equals;
|
|
|
|
expected value: 400 (int).
|
|
|
|
</pre></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th class="success" style="width:5em;">success</td>
|
|
|
|
<td>21桌 添加一个普通菜品</td>
|
|
|
|
<td style="text-align:center;width:6em;">70.0 ms</td>
|
|
|
|
<td class="detail">
|
|
|
|
|
|
|
|
<a class="button" href="#popup_log_11">log</a>
|
|
|
|
<div id="popup_log_11" class="overlay">
|
|
|
|
<div class="popup">
|
|
|
|
<h2>Request and Response data</h2>
|
|
|
|
<a class="close" href="#">×</a>
|
|
|
|
<div class="content"><pre>{
|
|
|
|
"content_size": 236,
|
|
|
|
"elapsed": 0.069306,
|
|
|
|
"method": "POST",
|
|
|
|
"request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026cookbookid=9",
|
|
|
|
"request_headers": {
|
|
|
|
"Accept": "*/*",
|
|
|
|
"Accept-Encoding": "gzip, deflate",
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Length": "59",
|
|
|
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
|
|
"User-Agent": "python-requests/2.18.4"
|
|
|
|
},
|
|
|
|
"request_time": 1522743381.724398,
|
|
|
|
"response_body": "{\"ret\":200,\"data\":[{\"orderid\":28,\"openid\":\"o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\",\"cookbookid\":9,\"specid\":null,\"practiceid\":null,\"price\":null,\"source\":1,\"fromSoucre\":null,\"cdate\":1522743381,\"id\":\"530\",\"countTotal\":11,\"countPirce\":626}],\"msg\":\"\"}",
|
|
|
|
"response_headers": {
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Encoding": "gzip",
|
|
|
|
"Content-Type": "application/json;charset=utf-8",
|
|
|
|
"Date": "Tue, 03 Apr 2018 08:16:21 GMT",
|
|
|
|
"Server": "nginx/1.13.5",
|
|
|
|
"Transfer-Encoding": "chunked",
|
|
|
|
"X-Powered-By": "PHP/5.6.9"
|
|
|
|
},
|
|
|
|
"response_time": 70,
|
|
|
|
"status_code": 200,
|
|
|
|
"url": "/?s=App.Orders.AddCart"
|
|
|
|
}</pre></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th class="success" style="width:5em;">success</td>
|
|
|
|
<td>21桌 加菜</td>
|
|
|
|
<td style="text-align:center;width:6em;">77.0 ms</td>
|
|
|
|
<td class="detail">
|
|
|
|
|
|
|
|
<a class="button" href="#popup_log_12">log</a>
|
|
|
|
<div id="popup_log_12" class="overlay">
|
|
|
|
<div class="popup">
|
|
|
|
<h2>Request and Response data</h2>
|
|
|
|
<a class="close" href="#">×</a>
|
|
|
|
<div class="content"><pre>{
|
|
|
|
"content_size": 439,
|
|
|
|
"elapsed": 0.07704,
|
|
|
|
"method": "POST",
|
|
|
|
"request_body": "orderid=28\u0026sellerid=4\u0026type=type_add",
|
|
|
|
"request_headers": {
|
|
|
|
"Accept": "*/*",
|
|
|
|
"Accept-Encoding": "gzip, deflate",
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Length": "35",
|
|
|
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
|
|
"User-Agent": "python-requests/2.18.4"
|
|
|
|
},
|
|
|
|
"request_time": 1522743381.795961,
|
|
|
|
"response_body": "{\"ret\":200,\"data\":[{\"min_num\":[],\"clear_error\":[{\"count\":\"4\",\"cookbookid\":\"11\",\"price\":\"69\",\"specid\":null,\"openid\":\"o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\",\"id\":\"511\",\"practiceid\":null,\"image\":\"https:\\/\\/xt05.colorcun.com\\/uploads\\/Cookbook\\/3e4d7b9a872f17ae4097eda36fa586fa.jpg\",\"unit\":\"\\u65a4\",\"name\":\"\\u4e0a\\u6d77\\u6cb9\\u7206\\u5927\\u867e\",\"class_name\":\"\\u7092\\u83dc\",\"classid\":\"2\",\"spec_price\":null,\"specs\":null,\"practice_name\":null}]}],\"msg\":\"\"}",
|
|
|
|
"response_headers": {
|
|
|
|
"Connection": "keep-alive",
|
|
|
|
"Content-Encoding": "gzip",
|
|
|
|
"Content-Type": "application/json;charset=utf-8",
|
|
|
|
"Date": "Tue, 03 Apr 2018 08:16:21 GMT",
|
|
|
|
"Server": "nginx/1.13.5",
|
|
|
|
"Transfer-Encoding": "chunked",
|
|
|
|
"X-Powered-By": "PHP/5.6.9"
|
|
|
|
},
|
|
|
|
"response_time": 77,
|
|
|
|
"status_code": 200,
|
|
|
|
"url": "/?s=App.Orders.PlaceOrder"
|
|
|
|
}</pre></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</body> |
|
|
\ No newline at end of file |