Showing
4 changed files
with
171 additions
and
1503 deletions
reports/2018-04-03-16-02-59.html
deleted
100644 → 0
| 1 | -<head> | ||
| 2 | - <meta content="text/html; charset=utf-8" http-equiv="content-type" /> | ||
| 3 | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 4 | - <title> - TestReport</title> | ||
| 5 | - <style> | ||
| 6 | - body { | ||
| 7 | - background-color: #f2f2f2; | ||
| 8 | - color: #333; | ||
| 9 | - margin: 0 auto; | ||
| 10 | - width: 960px; | ||
| 11 | - } | ||
| 12 | - #summary, #details { | ||
| 13 | - width: 960px; | ||
| 14 | - } | ||
| 15 | - #summary th { | ||
| 16 | - background-color: skyblue; | ||
| 17 | - padding: 5px 12px; | ||
| 18 | - } | ||
| 19 | - #summary td { | ||
| 20 | - background-color: lightblue; | ||
| 21 | - text-align: center; | ||
| 22 | - padding: 4px 8px; | ||
| 23 | - } | ||
| 24 | - #details th { | ||
| 25 | - background-color: skyblue; | ||
| 26 | - padding: 5px 12px; | ||
| 27 | - } | ||
| 28 | - #details td { | ||
| 29 | - background-color: lightblue; | ||
| 30 | - padding: 5px 12px; | ||
| 31 | - } | ||
| 32 | - #details .detail { | ||
| 33 | - background-color: lightgrey; | ||
| 34 | - font-size: smaller; | ||
| 35 | - padding: 5px 10px; | ||
| 36 | - text-align: center; | ||
| 37 | - } | ||
| 38 | - #details .success { | ||
| 39 | - background-color: greenyellow; | ||
| 40 | - } | ||
| 41 | - #details .error { | ||
| 42 | - background-color: red; | ||
| 43 | - } | ||
| 44 | - #details .failure { | ||
| 45 | - background-color: salmon; | ||
| 46 | - } | ||
| 47 | - #details .skipped { | ||
| 48 | - background-color: gray; | ||
| 49 | - } | ||
| 50 | - | ||
| 51 | - .button { | ||
| 52 | - font-size: 1em; | ||
| 53 | - padding: 6px; | ||
| 54 | - width: 4em; | ||
| 55 | - text-align: center; | ||
| 56 | - background-color: #06d85f; | ||
| 57 | - border-radius: 20px/50px; | ||
| 58 | - cursor: pointer; | ||
| 59 | - transition: all 0.3s ease-out; | ||
| 60 | - } | ||
| 61 | - a.button{ | ||
| 62 | - color: gray; | ||
| 63 | - text-decoration: none; | ||
| 64 | - } | ||
| 65 | - .button:hover { | ||
| 66 | - background: #2cffbd; | ||
| 67 | - } | ||
| 68 | - | ||
| 69 | - .overlay { | ||
| 70 | - position: fixed; | ||
| 71 | - top: 0; | ||
| 72 | - bottom: 0; | ||
| 73 | - left: 0; | ||
| 74 | - right: 0; | ||
| 75 | - background: rgba(0, 0, 0, 0.7); | ||
| 76 | - transition: opacity 500ms; | ||
| 77 | - visibility: hidden; | ||
| 78 | - opacity: 0; | ||
| 79 | - } | ||
| 80 | - .overlay:target { | ||
| 81 | - visibility: visible; | ||
| 82 | - opacity: 1; | ||
| 83 | - } | ||
| 84 | - | ||
| 85 | - .popup { | ||
| 86 | - margin: 70px auto; | ||
| 87 | - padding: 20px; | ||
| 88 | - background: #fff; | ||
| 89 | - border-radius: 5px; | ||
| 90 | - width: 30%; | ||
| 91 | - position: relative; | ||
| 92 | - transition: all 5s ease-in-out; | ||
| 93 | - } | ||
| 94 | - | ||
| 95 | - .popup h2 { | ||
| 96 | - margin-top: 0; | ||
| 97 | - color: #333; | ||
| 98 | - font-family: Tahoma, Arial, sans-serif; | ||
| 99 | - } | ||
| 100 | - .popup .close { | ||
| 101 | - position: absolute; | ||
| 102 | - top: 20px; | ||
| 103 | - right: 30px; | ||
| 104 | - transition: all 200ms; | ||
| 105 | - font-size: 30px; | ||
| 106 | - font-weight: bold; | ||
| 107 | - text-decoration: none; | ||
| 108 | - color: #333; | ||
| 109 | - } | ||
| 110 | - .popup .close:hover { | ||
| 111 | - color: #06d85f; | ||
| 112 | - } | ||
| 113 | - .popup .content { | ||
| 114 | - max-height: 30%; | ||
| 115 | - overflow: auto; | ||
| 116 | - text-align: left; | ||
| 117 | - } | ||
| 118 | - | ||
| 119 | - @media screen and (max-width: 700px) { | ||
| 120 | - .box { | ||
| 121 | - width: 70%; | ||
| 122 | - } | ||
| 123 | - .popup { | ||
| 124 | - width: 70%; | ||
| 125 | - } | ||
| 126 | - } | ||
| 127 | - | ||
| 128 | - </style> | ||
| 129 | -</head> | ||
| 130 | - | ||
| 131 | -<body> | ||
| 132 | - <h1>Test Report: </h1> | ||
| 133 | - | ||
| 134 | - <h2>Summary</h2> | ||
| 135 | - <table id="summary"> | ||
| 136 | - | ||
| 137 | - <tr> | ||
| 138 | - <th>START AT</th> | ||
| 139 | - <td colspan="4">2018-04-03 16:02:59</td> | ||
| 140 | - </tr> | ||
| 141 | - <tr> | ||
| 142 | - <th>DURATION</th> | ||
| 143 | - <td colspan="4">0.756 seconds</td> | ||
| 144 | - </tr> | ||
| 145 | - <tr> | ||
| 146 | - <th>PLATFORM</th> | ||
| 147 | - <td>HttpRunner 1.0.0 </td> | ||
| 148 | - <td>CPython 2.7.10 </td> | ||
| 149 | - <td colspan="2">Darwin-14.5.0-x86_64-i386-32bit</td> | ||
| 150 | - </tr> | ||
| 151 | - <tr> | ||
| 152 | - <th>TOTAL</th> | ||
| 153 | - <th>SUCCESS</th> | ||
| 154 | - <th>FAILED</th> | ||
| 155 | - <th>ERROR</th> | ||
| 156 | - <th>SKIPPED</th> | ||
| 157 | - <!-- <th>ExpectedFailure</th> | ||
| 158 | - <th>UnexpectedSuccess</th> --> | ||
| 159 | - </tr> | ||
| 160 | - <tr> | ||
| 161 | - <td>10</td> | ||
| 162 | - <td>9</td> | ||
| 163 | - <td>0</td> | ||
| 164 | - <td>1</td> | ||
| 165 | - <td>0</td> | ||
| 166 | - <!-- <td>0</td> | ||
| 167 | - <td>0</td> --> | ||
| 168 | - </tr> | ||
| 169 | - </table> | ||
| 170 | - | ||
| 171 | - <h2>Details</h2> | ||
| 172 | - <table id="details"> | ||
| 173 | - <tr> | ||
| 174 | - <th>Status</th> | ||
| 175 | - <th>Name</th> | ||
| 176 | - <th>Response Time</th> | ||
| 177 | - <th>Detail</th> | ||
| 178 | - </tr> | ||
| 179 | - | ||
| 180 | - <tr> | ||
| 181 | - <th class="success" style="width:5em;">success</td> | ||
| 182 | - <td>21桌 顾客扫桌码</td> | ||
| 183 | - <td style="text-align:center;width:6em;">179.0 ms</td> | ||
| 184 | - <td class="detail"> | ||
| 185 | - | ||
| 186 | - <a class="button" href="#popup_log_1">log</a> | ||
| 187 | - <div id="popup_log_1" class="overlay"> | ||
| 188 | - <div class="popup"> | ||
| 189 | - <h2>Request and Response data</h2> | ||
| 190 | - <a class="close" href="#">×</a> | ||
| 191 | - <div class="content"><pre>{ | ||
| 192 | - "content_size": 493, | ||
| 193 | - "elapsed": 0.175193, | ||
| 194 | - "method": "POST", | ||
| 195 | - "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", | ||
| 196 | - "request_headers": { | ||
| 197 | - "Accept": "*/*", | ||
| 198 | - "Accept-Encoding": "gzip, deflate", | ||
| 199 | - "Connection": "keep-alive", | ||
| 200 | - "Content-Length": "139", | ||
| 201 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 202 | - "User-Agent": "python-requests/2.18.4" | ||
| 203 | - }, | ||
| 204 | - "request_time": 1522742579.269128, | ||
| 205 | - "response_body": "{\"ret\":200,\"data\":[{\"id\":\"28\",\"no\":\"87083608\",\"pnum\":\"8\",\"sellerid\":\"4\",\"tableid\":\"21\",\"openid\":\"o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\",\"price\":null,\"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\":\"\"}", | ||
| 206 | - "response_headers": { | ||
| 207 | - "Connection": "keep-alive", | ||
| 208 | - "Content-Encoding": "gzip", | ||
| 209 | - "Content-Type": "application/json;charset=utf-8", | ||
| 210 | - "Date": "Tue, 03 Apr 2018 08:02:59 GMT", | ||
| 211 | - "Server": "nginx/1.13.5", | ||
| 212 | - "Transfer-Encoding": "chunked", | ||
| 213 | - "X-Powered-By": "PHP/5.6.9" | ||
| 214 | - }, | ||
| 215 | - "response_time": 179, | ||
| 216 | - "status_code": 200, | ||
| 217 | - "url": "/?s=App.Orders.CreateOrder" | ||
| 218 | -}</pre></div> | ||
| 219 | - </div> | ||
| 220 | - </div> | ||
| 221 | - | ||
| 222 | - | ||
| 223 | - | ||
| 224 | - </td> | ||
| 225 | - </tr> | ||
| 226 | - | ||
| 227 | - <tr> | ||
| 228 | - <th class="success" style="width:5em;">success</td> | ||
| 229 | - <td>21桌 添加一个有规格有做法菜品</td> | ||
| 230 | - <td style="text-align:center;width:6em;">64.0 ms</td> | ||
| 231 | - <td class="detail"> | ||
| 232 | - | ||
| 233 | - <a class="button" href="#popup_log_2">log</a> | ||
| 234 | - <div id="popup_log_2" class="overlay"> | ||
| 235 | - <div class="popup"> | ||
| 236 | - <h2>Request and Response data</h2> | ||
| 237 | - <a class="close" href="#">×</a> | ||
| 238 | - <div class="content"><pre>{ | ||
| 239 | - "content_size": 228, | ||
| 240 | - "elapsed": 0.063918, | ||
| 241 | - "method": "POST", | ||
| 242 | - "request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026specid=7\u0026cookbookid=6\u0026practiceid=3", | ||
| 243 | - "request_headers": { | ||
| 244 | - "Accept": "*/*", | ||
| 245 | - "Accept-Encoding": "gzip, deflate", | ||
| 246 | - "Connection": "keep-alive", | ||
| 247 | - "Content-Length": "81", | ||
| 248 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 249 | - "User-Agent": "python-requests/2.18.4" | ||
| 250 | - }, | ||
| 251 | - "request_time": 1522742579.455925, | ||
| 252 | - "response_body": "{\"ret\":200,\"data\":[{\"orderid\":28,\"openid\":\"o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\",\"cookbookid\":6,\"specid\":7,\"practiceid\":3,\"price\":null,\"source\":1,\"fromSoucre\":null,\"cdate\":1522742579,\"id\":\"508\",\"countTotal\":1,\"countPirce\":68}],\"msg\":\"\"}", | ||
| 253 | - "response_headers": { | ||
| 254 | - "Connection": "keep-alive", | ||
| 255 | - "Content-Encoding": "gzip", | ||
| 256 | - "Content-Type": "application/json;charset=utf-8", | ||
| 257 | - "Date": "Tue, 03 Apr 2018 08:02:59 GMT", | ||
| 258 | - "Server": "nginx/1.13.5", | ||
| 259 | - "Transfer-Encoding": "chunked", | ||
| 260 | - "X-Powered-By": "PHP/5.6.9" | ||
| 261 | - }, | ||
| 262 | - "response_time": 64, | ||
| 263 | - "status_code": 200, | ||
| 264 | - "url": "/?s=App.Orders.AddCart" | ||
| 265 | -}</pre></div> | ||
| 266 | - </div> | ||
| 267 | - </div> | ||
| 268 | - | ||
| 269 | - | ||
| 270 | - | ||
| 271 | - </td> | ||
| 272 | - </tr> | ||
| 273 | - | ||
| 274 | - <tr> | ||
| 275 | - <th class="success" style="width:5em;">success</td> | ||
| 276 | - <td>21桌 添加一个有规格无做法菜品</td> | ||
| 277 | - <td style="text-align:center;width:6em;">57.0 ms</td> | ||
| 278 | - <td class="detail"> | ||
| 279 | - | ||
| 280 | - <a class="button" href="#popup_log_3">log</a> | ||
| 281 | - <div id="popup_log_3" class="overlay"> | ||
| 282 | - <div class="popup"> | ||
| 283 | - <h2>Request and Response data</h2> | ||
| 284 | - <a class="close" href="#">×</a> | ||
| 285 | - <div class="content"><pre>{ | ||
| 286 | - "content_size": 232, | ||
| 287 | - "elapsed": 0.056996, | ||
| 288 | - "method": "POST", | ||
| 289 | - "request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026specid=4\u0026cookbookid=3", | ||
| 290 | - "request_headers": { | ||
| 291 | - "Accept": "*/*", | ||
| 292 | - "Accept-Encoding": "gzip, deflate", | ||
| 293 | - "Connection": "keep-alive", | ||
| 294 | - "Content-Length": "68", | ||
| 295 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 296 | - "User-Agent": "python-requests/2.18.4" | ||
| 297 | - }, | ||
| 298 | - "request_time": 1522742579.522038, | ||
| 299 | - "response_body": "{\"ret\":200,\"data\":[{\"orderid\":28,\"openid\":\"o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\",\"cookbookid\":3,\"specid\":4,\"practiceid\":null,\"price\":null,\"source\":1,\"fromSoucre\":null,\"cdate\":1522742579,\"id\":\"509\",\"countTotal\":2,\"countPirce\":136}],\"msg\":\"\"}", | ||
| 300 | - "response_headers": { | ||
| 301 | - "Connection": "keep-alive", | ||
| 302 | - "Content-Encoding": "gzip", | ||
| 303 | - "Content-Type": "application/json;charset=utf-8", | ||
| 304 | - "Date": "Tue, 03 Apr 2018 08:02:59 GMT", | ||
| 305 | - "Server": "nginx/1.13.5", | ||
| 306 | - "Transfer-Encoding": "chunked", | ||
| 307 | - "X-Powered-By": "PHP/5.6.9" | ||
| 308 | - }, | ||
| 309 | - "response_time": 57, | ||
| 310 | - "status_code": 200, | ||
| 311 | - "url": "/?s=App.Orders.AddCart" | ||
| 312 | -}</pre></div> | ||
| 313 | - </div> | ||
| 314 | - </div> | ||
| 315 | - | ||
| 316 | - | ||
| 317 | - | ||
| 318 | - </td> | ||
| 319 | - </tr> | ||
| 320 | - | ||
| 321 | - <tr> | ||
| 322 | - <th class="success" style="width:5em;">success</td> | ||
| 323 | - <td>21桌 添加一个普通菜品</td> | ||
| 324 | - <td style="text-align:center;width:6em;">57.0 ms</td> | ||
| 325 | - <td class="detail"> | ||
| 326 | - | ||
| 327 | - <a class="button" href="#popup_log_4">log</a> | ||
| 328 | - <div id="popup_log_4" class="overlay"> | ||
| 329 | - <div class="popup"> | ||
| 330 | - <h2>Request and Response data</h2> | ||
| 331 | - <a class="close" href="#">×</a> | ||
| 332 | - <div class="content"><pre>{ | ||
| 333 | - "content_size": 235, | ||
| 334 | - "elapsed": 0.056664, | ||
| 335 | - "method": "POST", | ||
| 336 | - "request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026cookbookid=9", | ||
| 337 | - "request_headers": { | ||
| 338 | - "Accept": "*/*", | ||
| 339 | - "Accept-Encoding": "gzip, deflate", | ||
| 340 | - "Connection": "keep-alive", | ||
| 341 | - "Content-Length": "59", | ||
| 342 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 343 | - "User-Agent": "python-requests/2.18.4" | ||
| 344 | - }, | ||
| 345 | - "request_time": 1522742579.58123, | ||
| 346 | - "response_body": "{\"ret\":200,\"data\":[{\"orderid\":28,\"openid\":\"o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\",\"cookbookid\":9,\"specid\":null,\"practiceid\":null,\"price\":null,\"source\":1,\"fromSoucre\":null,\"cdate\":1522742579,\"id\":\"510\",\"countTotal\":3,\"countPirce\":162}],\"msg\":\"\"}", | ||
| 347 | - "response_headers": { | ||
| 348 | - "Connection": "keep-alive", | ||
| 349 | - "Content-Encoding": "gzip", | ||
| 350 | - "Content-Type": "application/json;charset=utf-8", | ||
| 351 | - "Date": "Tue, 03 Apr 2018 08:02:59 GMT", | ||
| 352 | - "Server": "nginx/1.13.5", | ||
| 353 | - "Transfer-Encoding": "chunked", | ||
| 354 | - "X-Powered-By": "PHP/5.6.9" | ||
| 355 | - }, | ||
| 356 | - "response_time": 57, | ||
| 357 | - "status_code": 200, | ||
| 358 | - "url": "/?s=App.Orders.AddCart" | ||
| 359 | -}</pre></div> | ||
| 360 | - </div> | ||
| 361 | - </div> | ||
| 362 | - | ||
| 363 | - | ||
| 364 | - | ||
| 365 | - </td> | ||
| 366 | - </tr> | ||
| 367 | - | ||
| 368 | - <tr> | ||
| 369 | - <th class="success" style="width:5em;">success</td> | ||
| 370 | - <td>21桌 添加一个沽清数量为2的菜品</td> | ||
| 371 | - <td style="text-align:center;width:6em;">57.0 ms</td> | ||
| 372 | - <td class="detail"> | ||
| 373 | - | ||
| 374 | - <a class="button" href="#popup_log_5">log</a> | ||
| 375 | - <div id="popup_log_5" class="overlay"> | ||
| 376 | - <div class="popup"> | ||
| 377 | - <h2>Request and Response data</h2> | ||
| 378 | - <a class="close" href="#">×</a> | ||
| 379 | - <div class="content"><pre>{ | ||
| 380 | - "content_size": 236, | ||
| 381 | - "elapsed": 0.056483, | ||
| 382 | - "method": "POST", | ||
| 383 | - "request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026cookbookid=11", | ||
| 384 | - "request_headers": { | ||
| 385 | - "Accept": "*/*", | ||
| 386 | - "Accept-Encoding": "gzip, deflate", | ||
| 387 | - "Connection": "keep-alive", | ||
| 388 | - "Content-Length": "60", | ||
| 389 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 390 | - "User-Agent": "python-requests/2.18.4" | ||
| 391 | - }, | ||
| 392 | - "request_time": 1522742579.640106, | ||
| 393 | - "response_body": "{\"ret\":200,\"data\":[{\"orderid\":28,\"openid\":\"o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\",\"cookbookid\":11,\"specid\":null,\"practiceid\":null,\"price\":null,\"source\":1,\"fromSoucre\":null,\"cdate\":1522742579,\"id\":\"511\",\"countTotal\":4,\"countPirce\":231}],\"msg\":\"\"}", | ||
| 394 | - "response_headers": { | ||
| 395 | - "Connection": "keep-alive", | ||
| 396 | - "Content-Encoding": "gzip", | ||
| 397 | - "Content-Type": "application/json;charset=utf-8", | ||
| 398 | - "Date": "Tue, 03 Apr 2018 08:02:59 GMT", | ||
| 399 | - "Server": "nginx/1.13.5", | ||
| 400 | - "Transfer-Encoding": "chunked", | ||
| 401 | - "X-Powered-By": "PHP/5.6.9" | ||
| 402 | - }, | ||
| 403 | - "response_time": 57, | ||
| 404 | - "status_code": 200, | ||
| 405 | - "url": "/?s=App.Orders.AddCart" | ||
| 406 | -}</pre></div> | ||
| 407 | - </div> | ||
| 408 | - </div> | ||
| 409 | - | ||
| 410 | - | ||
| 411 | - | ||
| 412 | - </td> | ||
| 413 | - </tr> | ||
| 414 | - | ||
| 415 | - <tr> | ||
| 416 | - <th class="success" style="width:5em;">success</td> | ||
| 417 | - <td>21桌 再次添加一个沽清数量为2的菜品</td> | ||
| 418 | - <td style="text-align:center;width:6em;">57.0 ms</td> | ||
| 419 | - <td class="detail"> | ||
| 420 | - | ||
| 421 | - <a class="button" href="#popup_log_6">log</a> | ||
| 422 | - <div id="popup_log_6" class="overlay"> | ||
| 423 | - <div class="popup"> | ||
| 424 | - <h2>Request and Response data</h2> | ||
| 425 | - <a class="close" href="#">×</a> | ||
| 426 | - <div class="content"><pre>{ | ||
| 427 | - "content_size": 236, | ||
| 428 | - "elapsed": 0.056366, | ||
| 429 | - "method": "POST", | ||
| 430 | - "request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026cookbookid=11", | ||
| 431 | - "request_headers": { | ||
| 432 | - "Accept": "*/*", | ||
| 433 | - "Accept-Encoding": "gzip, deflate", | ||
| 434 | - "Connection": "keep-alive", | ||
| 435 | - "Content-Length": "60", | ||
| 436 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 437 | - "User-Agent": "python-requests/2.18.4" | ||
| 438 | - }, | ||
| 439 | - "request_time": 1522742579.698744, | ||
| 440 | - "response_body": "{\"ret\":200,\"data\":[{\"orderid\":28,\"openid\":\"o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\",\"cookbookid\":11,\"specid\":null,\"practiceid\":null,\"price\":null,\"source\":1,\"fromSoucre\":null,\"cdate\":1522742579,\"id\":\"512\",\"countTotal\":5,\"countPirce\":300}],\"msg\":\"\"}", | ||
| 441 | - "response_headers": { | ||
| 442 | - "Connection": "keep-alive", | ||
| 443 | - "Content-Encoding": "gzip", | ||
| 444 | - "Content-Type": "application/json;charset=utf-8", | ||
| 445 | - "Date": "Tue, 03 Apr 2018 08:02:59 GMT", | ||
| 446 | - "Server": "nginx/1.13.5", | ||
| 447 | - "Transfer-Encoding": "chunked", | ||
| 448 | - "X-Powered-By": "PHP/5.6.9" | ||
| 449 | - }, | ||
| 450 | - "response_time": 57, | ||
| 451 | - "status_code": 200, | ||
| 452 | - "url": "/?s=App.Orders.AddCart" | ||
| 453 | -}</pre></div> | ||
| 454 | - </div> | ||
| 455 | - </div> | ||
| 456 | - | ||
| 457 | - | ||
| 458 | - | ||
| 459 | - </td> | ||
| 460 | - </tr> | ||
| 461 | - | ||
| 462 | - <tr> | ||
| 463 | - <th class="success" style="width:5em;">success</td> | ||
| 464 | - <td>22桌 顾客扫桌码</td> | ||
| 465 | - <td style="text-align:center;width:6em;">56.0 ms</td> | ||
| 466 | - <td class="detail"> | ||
| 467 | - | ||
| 468 | - <a class="button" href="#popup_log_7">log</a> | ||
| 469 | - <div id="popup_log_7" class="overlay"> | ||
| 470 | - <div class="popup"> | ||
| 471 | - <h2>Request and Response data</h2> | ||
| 472 | - <a class="close" href="#">×</a> | ||
| 473 | - <div class="content"><pre>{ | ||
| 474 | - "content_size": 493, | ||
| 475 | - "elapsed": 0.055608, | ||
| 476 | - "method": "POST", | ||
| 477 | - "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", | ||
| 478 | - "request_headers": { | ||
| 479 | - "Accept": "*/*", | ||
| 480 | - "Accept-Encoding": "gzip, deflate", | ||
| 481 | - "Connection": "keep-alive", | ||
| 482 | - "Content-Length": "139", | ||
| 483 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 484 | - "User-Agent": "python-requests/2.18.4" | ||
| 485 | - }, | ||
| 486 | - "request_time": 1522742579.757087, | ||
| 487 | - "response_body": "{\"ret\":200,\"data\":[{\"id\":\"29\",\"no\":\"99659978\",\"pnum\":\"8\",\"sellerid\":\"4\",\"tableid\":\"22\",\"openid\":\"o9pcQ0dtFx_KTFpUpCXOaLUdsGTQ\",\"price\":null,\"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\":\"\"}", | ||
| 488 | - "response_headers": { | ||
| 489 | - "Connection": "keep-alive", | ||
| 490 | - "Content-Encoding": "gzip", | ||
| 491 | - "Content-Type": "application/json;charset=utf-8", | ||
| 492 | - "Date": "Tue, 03 Apr 2018 08:02:59 GMT", | ||
| 493 | - "Server": "nginx/1.13.5", | ||
| 494 | - "Transfer-Encoding": "chunked", | ||
| 495 | - "X-Powered-By": "PHP/5.6.9" | ||
| 496 | - }, | ||
| 497 | - "response_time": 56, | ||
| 498 | - "status_code": 200, | ||
| 499 | - "url": "/?s=App.Orders.CreateOrder" | ||
| 500 | -}</pre></div> | ||
| 501 | - </div> | ||
| 502 | - </div> | ||
| 503 | - | ||
| 504 | - | ||
| 505 | - | ||
| 506 | - </td> | ||
| 507 | - </tr> | ||
| 508 | - | ||
| 509 | - <tr> | ||
| 510 | - <th class="success" style="width:5em;">success</td> | ||
| 511 | - <td>22桌 添加一个沽清数量为2的菜品</td> | ||
| 512 | - <td style="text-align:center;width:6em;">56.0 ms</td> | ||
| 513 | - <td class="detail"> | ||
| 514 | - | ||
| 515 | - <a class="button" href="#popup_log_8">log</a> | ||
| 516 | - <div id="popup_log_8" class="overlay"> | ||
| 517 | - <div class="popup"> | ||
| 518 | - <h2>Request and Response data</h2> | ||
| 519 | - <a class="close" href="#">×</a> | ||
| 520 | - <div class="content"><pre>{ | ||
| 521 | - "content_size": 235, | ||
| 522 | - "elapsed": 0.056063, | ||
| 523 | - "method": "POST", | ||
| 524 | - "request_body": "orderid=29\u0026openid=o9pcQ0dtFx_KTFpUpCXOaLUdsGTQ\u0026cookbookid=11", | ||
| 525 | - "request_headers": { | ||
| 526 | - "Accept": "*/*", | ||
| 527 | - "Accept-Encoding": "gzip, deflate", | ||
| 528 | - "Connection": "keep-alive", | ||
| 529 | - "Content-Length": "60", | ||
| 530 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 531 | - "User-Agent": "python-requests/2.18.4" | ||
| 532 | - }, | ||
| 533 | - "request_time": 1522742579.815217, | ||
| 534 | - "response_body": "{\"ret\":200,\"data\":[{\"orderid\":29,\"openid\":\"o9pcQ0dtFx_KTFpUpCXOaLUdsGTQ\",\"cookbookid\":11,\"specid\":null,\"practiceid\":null,\"price\":null,\"source\":1,\"fromSoucre\":null,\"cdate\":1522742579,\"id\":\"513\",\"countTotal\":1,\"countPirce\":69}],\"msg\":\"\"}", | ||
| 535 | - "response_headers": { | ||
| 536 | - "Connection": "keep-alive", | ||
| 537 | - "Content-Encoding": "gzip", | ||
| 538 | - "Content-Type": "application/json;charset=utf-8", | ||
| 539 | - "Date": "Tue, 03 Apr 2018 08:02:59 GMT", | ||
| 540 | - "Server": "nginx/1.13.5", | ||
| 541 | - "Transfer-Encoding": "chunked", | ||
| 542 | - "X-Powered-By": "PHP/5.6.9" | ||
| 543 | - }, | ||
| 544 | - "response_time": 56, | ||
| 545 | - "status_code": 200, | ||
| 546 | - "url": "/?s=App.Orders.AddCart" | ||
| 547 | -}</pre></div> | ||
| 548 | - </div> | ||
| 549 | - </div> | ||
| 550 | - | ||
| 551 | - | ||
| 552 | - | ||
| 553 | - </td> | ||
| 554 | - </tr> | ||
| 555 | - | ||
| 556 | - <tr> | ||
| 557 | - <th class="success" style="width:5em;">success</td> | ||
| 558 | - <td>22桌 下单</td> | ||
| 559 | - <td style="text-align:center;width:6em;">59.0 ms</td> | ||
| 560 | - <td class="detail"> | ||
| 561 | - | ||
| 562 | - <a class="button" href="#popup_log_9">log</a> | ||
| 563 | - <div id="popup_log_9" class="overlay"> | ||
| 564 | - <div class="popup"> | ||
| 565 | - <h2>Request and Response data</h2> | ||
| 566 | - <a class="close" href="#">×</a> | ||
| 567 | - <div class="content"><pre>{ | ||
| 568 | - "content_size": 439, | ||
| 569 | - "elapsed": 0.058701, | ||
| 570 | - "method": "POST", | ||
| 571 | - "request_body": "orderid=29\u0026sellerid=4\u0026type=type_order", | ||
| 572 | - "request_headers": { | ||
| 573 | - "Accept": "*/*", | ||
| 574 | - "Accept-Encoding": "gzip, deflate", | ||
| 575 | - "Connection": "keep-alive", | ||
| 576 | - "Content-Length": "37", | ||
| 577 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 578 | - "User-Agent": "python-requests/2.18.4" | ||
| 579 | - }, | ||
| 580 | - "request_time": 1522742579.873527, | ||
| 581 | - "response_body": "{\"ret\":200,\"data\":[{\"min_num\":[],\"clear_error\":[{\"count\":\"1\",\"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\":\"\"}", | ||
| 582 | - "response_headers": { | ||
| 583 | - "Connection": "keep-alive", | ||
| 584 | - "Content-Encoding": "gzip", | ||
| 585 | - "Content-Type": "application/json;charset=utf-8", | ||
| 586 | - "Date": "Tue, 03 Apr 2018 08:02:59 GMT", | ||
| 587 | - "Server": "nginx/1.13.5", | ||
| 588 | - "Transfer-Encoding": "chunked", | ||
| 589 | - "X-Powered-By": "PHP/5.6.9" | ||
| 590 | - }, | ||
| 591 | - "response_time": 59, | ||
| 592 | - "status_code": 200, | ||
| 593 | - "url": "/?s=App.Orders.PlaceOrder" | ||
| 594 | -}</pre></div> | ||
| 595 | - </div> | ||
| 596 | - </div> | ||
| 597 | - | ||
| 598 | - | ||
| 599 | - | ||
| 600 | - </td> | ||
| 601 | - </tr> | ||
| 602 | - | ||
| 603 | - <tr> | ||
| 604 | - <th class="error" style="width:5em;">error</td> | ||
| 605 | - <td>21桌 下单</td> | ||
| 606 | - <td style="text-align:center;width:6em;">72.0 ms</td> | ||
| 607 | - <td class="detail"> | ||
| 608 | - | ||
| 609 | - <a class="button" href="#popup_log_10">log</a> | ||
| 610 | - <div id="popup_log_10" class="overlay"> | ||
| 611 | - <div class="popup"> | ||
| 612 | - <h2>Request and Response data</h2> | ||
| 613 | - <a class="close" href="#">×</a> | ||
| 614 | - <div class="content"><pre>{ | ||
| 615 | - "content_size": 439, | ||
| 616 | - "elapsed": 0.071507, | ||
| 617 | - "method": "POST", | ||
| 618 | - "request_body": "orderid=28\u0026sellerid=4\u0026type=type_order", | ||
| 619 | - "request_headers": { | ||
| 620 | - "Accept": "*/*", | ||
| 621 | - "Accept-Encoding": "gzip, deflate", | ||
| 622 | - "Connection": "keep-alive", | ||
| 623 | - "Content-Length": "37", | ||
| 624 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 625 | - "User-Agent": "python-requests/2.18.4" | ||
| 626 | - }, | ||
| 627 | - "request_time": 1522742579.934503, | ||
| 628 | - "response_body": "{\"ret\":200,\"data\":[{\"min_num\":[],\"clear_error\":[{\"count\":\"2\",\"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\":\"\"}", | ||
| 629 | - "response_headers": { | ||
| 630 | - "Connection": "keep-alive", | ||
| 631 | - "Content-Encoding": "gzip", | ||
| 632 | - "Content-Type": "application/json;charset=utf-8", | ||
| 633 | - "Date": "Tue, 03 Apr 2018 08:02:59 GMT", | ||
| 634 | - "Server": "nginx/1.13.5", | ||
| 635 | - "Transfer-Encoding": "chunked", | ||
| 636 | - "X-Powered-By": "PHP/5.6.9" | ||
| 637 | - }, | ||
| 638 | - "response_time": 72, | ||
| 639 | - "status_code": 200, | ||
| 640 | - "url": "/?s=App.Orders.PlaceOrder" | ||
| 641 | -}</pre></div> | ||
| 642 | - </div> | ||
| 643 | - </div> | ||
| 644 | - | ||
| 645 | - | ||
| 646 | - <a class="button" href="#popup_attachment_10">traceback</a> | ||
| 647 | - <div id="popup_attachment_10" class="overlay"> | ||
| 648 | - <div class="popup"> | ||
| 649 | - <h2>Traceback Message</h2> | ||
| 650 | - <a class="close" href="#">×</a> | ||
| 651 | - <div class="content"><pre>Traceback (most recent call last): | ||
| 652 | -ValidationError: | ||
| 653 | - check item name: content.ret; | ||
| 654 | - check item value: 200 (int); | ||
| 655 | - comparator: equals; | ||
| 656 | - expected value: 400 (int). | ||
| 657 | -</pre></div> | ||
| 658 | - </div> | ||
| 659 | - </div> | ||
| 660 | - | ||
| 661 | - | ||
| 662 | - </td> | ||
| 663 | - </tr> | ||
| 664 | - | ||
| 665 | - </table> | ||
| 666 | -</body> |
reports/2018-04-03-16-16-20.html
deleted
100644 → 0
| 1 | -<head> | ||
| 2 | - <meta content="text/html; charset=utf-8" http-equiv="content-type" /> | ||
| 3 | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 4 | - <title> - TestReport</title> | ||
| 5 | - <style> | ||
| 6 | - body { | ||
| 7 | - background-color: #f2f2f2; | ||
| 8 | - color: #333; | ||
| 9 | - margin: 0 auto; | ||
| 10 | - width: 960px; | ||
| 11 | - } | ||
| 12 | - #summary, #details { | ||
| 13 | - width: 960px; | ||
| 14 | - } | ||
| 15 | - #summary th { | ||
| 16 | - background-color: skyblue; | ||
| 17 | - padding: 5px 12px; | ||
| 18 | - } | ||
| 19 | - #summary td { | ||
| 20 | - background-color: lightblue; | ||
| 21 | - text-align: center; | ||
| 22 | - padding: 4px 8px; | ||
| 23 | - } | ||
| 24 | - #details th { | ||
| 25 | - background-color: skyblue; | ||
| 26 | - padding: 5px 12px; | ||
| 27 | - } | ||
| 28 | - #details td { | ||
| 29 | - background-color: lightblue; | ||
| 30 | - padding: 5px 12px; | ||
| 31 | - } | ||
| 32 | - #details .detail { | ||
| 33 | - background-color: lightgrey; | ||
| 34 | - font-size: smaller; | ||
| 35 | - padding: 5px 10px; | ||
| 36 | - text-align: center; | ||
| 37 | - } | ||
| 38 | - #details .success { | ||
| 39 | - background-color: greenyellow; | ||
| 40 | - } | ||
| 41 | - #details .error { | ||
| 42 | - background-color: red; | ||
| 43 | - } | ||
| 44 | - #details .failure { | ||
| 45 | - background-color: salmon; | ||
| 46 | - } | ||
| 47 | - #details .skipped { | ||
| 48 | - background-color: gray; | ||
| 49 | - } | ||
| 50 | - | ||
| 51 | - .button { | ||
| 52 | - font-size: 1em; | ||
| 53 | - padding: 6px; | ||
| 54 | - width: 4em; | ||
| 55 | - text-align: center; | ||
| 56 | - background-color: #06d85f; | ||
| 57 | - border-radius: 20px/50px; | ||
| 58 | - cursor: pointer; | ||
| 59 | - transition: all 0.3s ease-out; | ||
| 60 | - } | ||
| 61 | - a.button{ | ||
| 62 | - color: gray; | ||
| 63 | - text-decoration: none; | ||
| 64 | - } | ||
| 65 | - .button:hover { | ||
| 66 | - background: #2cffbd; | ||
| 67 | - } | ||
| 68 | - | ||
| 69 | - .overlay { | ||
| 70 | - position: fixed; | ||
| 71 | - top: 0; | ||
| 72 | - bottom: 0; | ||
| 73 | - left: 0; | ||
| 74 | - right: 0; | ||
| 75 | - background: rgba(0, 0, 0, 0.7); | ||
| 76 | - transition: opacity 500ms; | ||
| 77 | - visibility: hidden; | ||
| 78 | - opacity: 0; | ||
| 79 | - } | ||
| 80 | - .overlay:target { | ||
| 81 | - visibility: visible; | ||
| 82 | - opacity: 1; | ||
| 83 | - } | ||
| 84 | - | ||
| 85 | - .popup { | ||
| 86 | - margin: 70px auto; | ||
| 87 | - padding: 20px; | ||
| 88 | - background: #fff; | ||
| 89 | - border-radius: 5px; | ||
| 90 | - width: 30%; | ||
| 91 | - position: relative; | ||
| 92 | - transition: all 5s ease-in-out; | ||
| 93 | - } | ||
| 94 | - | ||
| 95 | - .popup h2 { | ||
| 96 | - margin-top: 0; | ||
| 97 | - color: #333; | ||
| 98 | - font-family: Tahoma, Arial, sans-serif; | ||
| 99 | - } | ||
| 100 | - .popup .close { | ||
| 101 | - position: absolute; | ||
| 102 | - top: 20px; | ||
| 103 | - right: 30px; | ||
| 104 | - transition: all 200ms; | ||
| 105 | - font-size: 30px; | ||
| 106 | - font-weight: bold; | ||
| 107 | - text-decoration: none; | ||
| 108 | - color: #333; | ||
| 109 | - } | ||
| 110 | - .popup .close:hover { | ||
| 111 | - color: #06d85f; | ||
| 112 | - } | ||
| 113 | - .popup .content { | ||
| 114 | - max-height: 30%; | ||
| 115 | - overflow: auto; | ||
| 116 | - text-align: left; | ||
| 117 | - } | ||
| 118 | - | ||
| 119 | - @media screen and (max-width: 700px) { | ||
| 120 | - .box { | ||
| 121 | - width: 70%; | ||
| 122 | - } | ||
| 123 | - .popup { | ||
| 124 | - width: 70%; | ||
| 125 | - } | ||
| 126 | - } | ||
| 127 | - | ||
| 128 | - </style> | ||
| 129 | -</head> | ||
| 130 | - | ||
| 131 | -<body> | ||
| 132 | - <h1>Test Report: </h1> | ||
| 133 | - | ||
| 134 | - <h2>Summary</h2> | ||
| 135 | - <table id="summary"> | ||
| 136 | - | ||
| 137 | - <tr> | ||
| 138 | - <th>START AT</th> | ||
| 139 | - <td colspan="4">2018-04-03 16:16:20</td> | ||
| 140 | - </tr> | ||
| 141 | - <tr> | ||
| 142 | - <th>DURATION</th> | ||
| 143 | - <td colspan="4">0.943 seconds</td> | ||
| 144 | - </tr> | ||
| 145 | - <tr> | ||
| 146 | - <th>PLATFORM</th> | ||
| 147 | - <td>HttpRunner 1.0.0 </td> | ||
| 148 | - <td>CPython 2.7.10 </td> | ||
| 149 | - <td colspan="2">Darwin-14.5.0-x86_64-i386-32bit</td> | ||
| 150 | - </tr> | ||
| 151 | - <tr> | ||
| 152 | - <th>TOTAL</th> | ||
| 153 | - <th>SUCCESS</th> | ||
| 154 | - <th>FAILED</th> | ||
| 155 | - <th>ERROR</th> | ||
| 156 | - <th>SKIPPED</th> | ||
| 157 | - <!-- <th>ExpectedFailure</th> | ||
| 158 | - <th>UnexpectedSuccess</th> --> | ||
| 159 | - </tr> | ||
| 160 | - <tr> | ||
| 161 | - <td>12</td> | ||
| 162 | - <td>11</td> | ||
| 163 | - <td>0</td> | ||
| 164 | - <td>1</td> | ||
| 165 | - <td>0</td> | ||
| 166 | - <!-- <td>0</td> | ||
| 167 | - <td>0</td> --> | ||
| 168 | - </tr> | ||
| 169 | - </table> | ||
| 170 | - | ||
| 171 | - <h2>Details</h2> | ||
| 172 | - <table id="details"> | ||
| 173 | - <tr> | ||
| 174 | - <th>Status</th> | ||
| 175 | - <th>Name</th> | ||
| 176 | - <th>Response Time</th> | ||
| 177 | - <th>Detail</th> | ||
| 178 | - </tr> | ||
| 179 | - | ||
| 180 | - <tr> | ||
| 181 | - <th class="success" style="width:5em;">success</td> | ||
| 182 | - <td>21桌 顾客扫桌码</td> | ||
| 183 | - <td style="text-align:center;width:6em;">183.0 ms</td> | ||
| 184 | - <td class="detail"> | ||
| 185 | - | ||
| 186 | - <a class="button" href="#popup_log_1">log</a> | ||
| 187 | - <div id="popup_log_1" class="overlay"> | ||
| 188 | - <div class="popup"> | ||
| 189 | - <h2>Request and Response data</h2> | ||
| 190 | - <a class="close" href="#">×</a> | ||
| 191 | - <div class="content"><pre>{ | ||
| 192 | - "content_size": 494, | ||
| 193 | - "elapsed": 0.179997, | ||
| 194 | - "method": "POST", | ||
| 195 | - "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", | ||
| 196 | - "request_headers": { | ||
| 197 | - "Accept": "*/*", | ||
| 198 | - "Accept-Encoding": "gzip, deflate", | ||
| 199 | - "Connection": "keep-alive", | ||
| 200 | - "Content-Length": "139", | ||
| 201 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 202 | - "User-Agent": "python-requests/2.18.4" | ||
| 203 | - }, | ||
| 204 | - "request_time": 1522743380.936911, | ||
| 205 | - "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\":\"\"}", | ||
| 206 | - "response_headers": { | ||
| 207 | - "Connection": "keep-alive", | ||
| 208 | - "Content-Encoding": "gzip", | ||
| 209 | - "Content-Type": "application/json;charset=utf-8", | ||
| 210 | - "Date": "Tue, 03 Apr 2018 08:16:20 GMT", | ||
| 211 | - "Server": "nginx/1.13.5", | ||
| 212 | - "Transfer-Encoding": "chunked", | ||
| 213 | - "X-Powered-By": "PHP/5.6.9" | ||
| 214 | - }, | ||
| 215 | - "response_time": 183, | ||
| 216 | - "status_code": 200, | ||
| 217 | - "url": "/?s=App.Orders.CreateOrder" | ||
| 218 | -}</pre></div> | ||
| 219 | - </div> | ||
| 220 | - </div> | ||
| 221 | - | ||
| 222 | - | ||
| 223 | - | ||
| 224 | - </td> | ||
| 225 | - </tr> | ||
| 226 | - | ||
| 227 | - <tr> | ||
| 228 | - <th class="success" style="width:5em;">success</td> | ||
| 229 | - <td>21桌 添加一个有规格有做法菜品</td> | ||
| 230 | - <td style="text-align:center;width:6em;">71.0 ms</td> | ||
| 231 | - <td class="detail"> | ||
| 232 | - | ||
| 233 | - <a class="button" href="#popup_log_2">log</a> | ||
| 234 | - <div id="popup_log_2" class="overlay"> | ||
| 235 | - <div class="popup"> | ||
| 236 | - <h2>Request and Response data</h2> | ||
| 237 | - <a class="close" href="#">×</a> | ||
| 238 | - <div class="content"><pre>{ | ||
| 239 | - "content_size": 229, | ||
| 240 | - "elapsed": 0.070604, | ||
| 241 | - "method": "POST", | ||
| 242 | - "request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026specid=7\u0026cookbookid=6\u0026practiceid=3", | ||
| 243 | - "request_headers": { | ||
| 244 | - "Accept": "*/*", | ||
| 245 | - "Accept-Encoding": "gzip, deflate", | ||
| 246 | - "Connection": "keep-alive", | ||
| 247 | - "Content-Length": "81", | ||
| 248 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 249 | - "User-Agent": "python-requests/2.18.4" | ||
| 250 | - }, | ||
| 251 | - "request_time": 1522743381.126917, | ||
| 252 | - "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\":\"\"}", | ||
| 253 | - "response_headers": { | ||
| 254 | - "Connection": "keep-alive", | ||
| 255 | - "Content-Encoding": "gzip", | ||
| 256 | - "Content-Type": "application/json;charset=utf-8", | ||
| 257 | - "Date": "Tue, 03 Apr 2018 08:16:20 GMT", | ||
| 258 | - "Server": "nginx/1.13.5", | ||
| 259 | - "Transfer-Encoding": "chunked", | ||
| 260 | - "X-Powered-By": "PHP/5.6.9" | ||
| 261 | - }, | ||
| 262 | - "response_time": 71, | ||
| 263 | - "status_code": 200, | ||
| 264 | - "url": "/?s=App.Orders.AddCart" | ||
| 265 | -}</pre></div> | ||
| 266 | - </div> | ||
| 267 | - </div> | ||
| 268 | - | ||
| 269 | - | ||
| 270 | - | ||
| 271 | - </td> | ||
| 272 | - </tr> | ||
| 273 | - | ||
| 274 | - <tr> | ||
| 275 | - <th class="success" style="width:5em;">success</td> | ||
| 276 | - <td>21桌 添加一个有规格无做法菜品</td> | ||
| 277 | - <td style="text-align:center;width:6em;">57.0 ms</td> | ||
| 278 | - <td class="detail"> | ||
| 279 | - | ||
| 280 | - <a class="button" href="#popup_log_3">log</a> | ||
| 281 | - <div id="popup_log_3" class="overlay"> | ||
| 282 | - <div class="popup"> | ||
| 283 | - <h2>Request and Response data</h2> | ||
| 284 | - <a class="close" href="#">×</a> | ||
| 285 | - <div class="content"><pre>{ | ||
| 286 | - "content_size": 232, | ||
| 287 | - "elapsed": 0.056331, | ||
| 288 | - "method": "POST", | ||
| 289 | - "request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026specid=4\u0026cookbookid=3", | ||
| 290 | - "request_headers": { | ||
| 291 | - "Accept": "*/*", | ||
| 292 | - "Accept-Encoding": "gzip, deflate", | ||
| 293 | - "Connection": "keep-alive", | ||
| 294 | - "Content-Length": "68", | ||
| 295 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 296 | - "User-Agent": "python-requests/2.18.4" | ||
| 297 | - }, | ||
| 298 | - "request_time": 1522743381.199754, | ||
| 299 | - "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\":\"\"}", | ||
| 300 | - "response_headers": { | ||
| 301 | - "Connection": "keep-alive", | ||
| 302 | - "Content-Encoding": "gzip", | ||
| 303 | - "Content-Type": "application/json;charset=utf-8", | ||
| 304 | - "Date": "Tue, 03 Apr 2018 08:16:20 GMT", | ||
| 305 | - "Server": "nginx/1.13.5", | ||
| 306 | - "Transfer-Encoding": "chunked", | ||
| 307 | - "X-Powered-By": "PHP/5.6.9" | ||
| 308 | - }, | ||
| 309 | - "response_time": 57, | ||
| 310 | - "status_code": 200, | ||
| 311 | - "url": "/?s=App.Orders.AddCart" | ||
| 312 | -}</pre></div> | ||
| 313 | - </div> | ||
| 314 | - </div> | ||
| 315 | - | ||
| 316 | - | ||
| 317 | - | ||
| 318 | - </td> | ||
| 319 | - </tr> | ||
| 320 | - | ||
| 321 | - <tr> | ||
| 322 | - <th class="success" style="width:5em;">success</td> | ||
| 323 | - <td>21桌 添加一个普通菜品</td> | ||
| 324 | - <td style="text-align:center;width:6em;">62.0 ms</td> | ||
| 325 | - <td class="detail"> | ||
| 326 | - | ||
| 327 | - <a class="button" href="#popup_log_4">log</a> | ||
| 328 | - <div id="popup_log_4" class="overlay"> | ||
| 329 | - <div class="popup"> | ||
| 330 | - <h2>Request and Response data</h2> | ||
| 331 | - <a class="close" href="#">×</a> | ||
| 332 | - <div class="content"><pre>{ | ||
| 333 | - "content_size": 235, | ||
| 334 | - "elapsed": 0.061684, | ||
| 335 | - "method": "POST", | ||
| 336 | - "request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026cookbookid=9", | ||
| 337 | - "request_headers": { | ||
| 338 | - "Accept": "*/*", | ||
| 339 | - "Accept-Encoding": "gzip, deflate", | ||
| 340 | - "Connection": "keep-alive", | ||
| 341 | - "Content-Length": "59", | ||
| 342 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 343 | - "User-Agent": "python-requests/2.18.4" | ||
| 344 | - }, | ||
| 345 | - "request_time": 1522743381.258292, | ||
| 346 | - "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\":\"\"}", | ||
| 347 | - "response_headers": { | ||
| 348 | - "Connection": "keep-alive", | ||
| 349 | - "Content-Encoding": "gzip", | ||
| 350 | - "Content-Type": "application/json;charset=utf-8", | ||
| 351 | - "Date": "Tue, 03 Apr 2018 08:16:20 GMT", | ||
| 352 | - "Server": "nginx/1.13.5", | ||
| 353 | - "Transfer-Encoding": "chunked", | ||
| 354 | - "X-Powered-By": "PHP/5.6.9" | ||
| 355 | - }, | ||
| 356 | - "response_time": 62, | ||
| 357 | - "status_code": 200, | ||
| 358 | - "url": "/?s=App.Orders.AddCart" | ||
| 359 | -}</pre></div> | ||
| 360 | - </div> | ||
| 361 | - </div> | ||
| 362 | - | ||
| 363 | - | ||
| 364 | - | ||
| 365 | - </td> | ||
| 366 | - </tr> | ||
| 367 | - | ||
| 368 | - <tr> | ||
| 369 | - <th class="success" style="width:5em;">success</td> | ||
| 370 | - <td>21桌 添加一个沽清数量为2的菜品</td> | ||
| 371 | - <td style="text-align:center;width:6em;">61.0 ms</td> | ||
| 372 | - <td class="detail"> | ||
| 373 | - | ||
| 374 | - <a class="button" href="#popup_log_5">log</a> | ||
| 375 | - <div id="popup_log_5" class="overlay"> | ||
| 376 | - <div class="popup"> | ||
| 377 | - <h2>Request and Response data</h2> | ||
| 378 | - <a class="close" href="#">×</a> | ||
| 379 | - <div class="content"><pre>{ | ||
| 380 | - "content_size": 236, | ||
| 381 | - "elapsed": 0.060874, | ||
| 382 | - "method": "POST", | ||
| 383 | - "request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026cookbookid=11", | ||
| 384 | - "request_headers": { | ||
| 385 | - "Accept": "*/*", | ||
| 386 | - "Accept-Encoding": "gzip, deflate", | ||
| 387 | - "Connection": "keep-alive", | ||
| 388 | - "Content-Length": "60", | ||
| 389 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 390 | - "User-Agent": "python-requests/2.18.4" | ||
| 391 | - }, | ||
| 392 | - "request_time": 1522743381.322181, | ||
| 393 | - "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\":\"\"}", | ||
| 394 | - "response_headers": { | ||
| 395 | - "Connection": "keep-alive", | ||
| 396 | - "Content-Encoding": "gzip", | ||
| 397 | - "Content-Type": "application/json;charset=utf-8", | ||
| 398 | - "Date": "Tue, 03 Apr 2018 08:16:20 GMT", | ||
| 399 | - "Server": "nginx/1.13.5", | ||
| 400 | - "Transfer-Encoding": "chunked", | ||
| 401 | - "X-Powered-By": "PHP/5.6.9" | ||
| 402 | - }, | ||
| 403 | - "response_time": 61, | ||
| 404 | - "status_code": 200, | ||
| 405 | - "url": "/?s=App.Orders.AddCart" | ||
| 406 | -}</pre></div> | ||
| 407 | - </div> | ||
| 408 | - </div> | ||
| 409 | - | ||
| 410 | - | ||
| 411 | - | ||
| 412 | - </td> | ||
| 413 | - </tr> | ||
| 414 | - | ||
| 415 | - <tr> | ||
| 416 | - <th class="success" style="width:5em;">success</td> | ||
| 417 | - <td>21桌 再次添加一个沽清数量为2的菜品</td> | ||
| 418 | - <td style="text-align:center;width:6em;">66.0 ms</td> | ||
| 419 | - <td class="detail"> | ||
| 420 | - | ||
| 421 | - <a class="button" href="#popup_log_6">log</a> | ||
| 422 | - <div id="popup_log_6" class="overlay"> | ||
| 423 | - <div class="popup"> | ||
| 424 | - <h2>Request and Response data</h2> | ||
| 425 | - <a class="close" href="#">×</a> | ||
| 426 | - <div class="content"><pre>{ | ||
| 427 | - "content_size": 237, | ||
| 428 | - "elapsed": 0.065972, | ||
| 429 | - "method": "POST", | ||
| 430 | - "request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026cookbookid=11", | ||
| 431 | - "request_headers": { | ||
| 432 | - "Accept": "*/*", | ||
| 433 | - "Accept-Encoding": "gzip, deflate", | ||
| 434 | - "Connection": "keep-alive", | ||
| 435 | - "Content-Length": "60", | ||
| 436 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 437 | - "User-Agent": "python-requests/2.18.4" | ||
| 438 | - }, | ||
| 439 | - "request_time": 1522743381.385236, | ||
| 440 | - "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\":\"\"}", | ||
| 441 | - "response_headers": { | ||
| 442 | - "Connection": "keep-alive", | ||
| 443 | - "Content-Encoding": "gzip", | ||
| 444 | - "Content-Type": "application/json;charset=utf-8", | ||
| 445 | - "Date": "Tue, 03 Apr 2018 08:16:21 GMT", | ||
| 446 | - "Server": "nginx/1.13.5", | ||
| 447 | - "Transfer-Encoding": "chunked", | ||
| 448 | - "X-Powered-By": "PHP/5.6.9" | ||
| 449 | - }, | ||
| 450 | - "response_time": 66, | ||
| 451 | - "status_code": 200, | ||
| 452 | - "url": "/?s=App.Orders.AddCart" | ||
| 453 | -}</pre></div> | ||
| 454 | - </div> | ||
| 455 | - </div> | ||
| 456 | - | ||
| 457 | - | ||
| 458 | - | ||
| 459 | - </td> | ||
| 460 | - </tr> | ||
| 461 | - | ||
| 462 | - <tr> | ||
| 463 | - <th class="success" style="width:5em;">success</td> | ||
| 464 | - <td>22桌 顾客扫桌码</td> | ||
| 465 | - <td style="text-align:center;width:6em;">63.0 ms</td> | ||
| 466 | - <td class="detail"> | ||
| 467 | - | ||
| 468 | - <a class="button" href="#popup_log_7">log</a> | ||
| 469 | - <div id="popup_log_7" class="overlay"> | ||
| 470 | - <div class="popup"> | ||
| 471 | - <h2>Request and Response data</h2> | ||
| 472 | - <a class="close" href="#">×</a> | ||
| 473 | - <div class="content"><pre>{ | ||
| 474 | - "content_size": 493, | ||
| 475 | - "elapsed": 0.06242, | ||
| 476 | - "method": "POST", | ||
| 477 | - "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", | ||
| 478 | - "request_headers": { | ||
| 479 | - "Accept": "*/*", | ||
| 480 | - "Accept-Encoding": "gzip, deflate", | ||
| 481 | - "Connection": "keep-alive", | ||
| 482 | - "Content-Length": "139", | ||
| 483 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 484 | - "User-Agent": "python-requests/2.18.4" | ||
| 485 | - }, | ||
| 486 | - "request_time": 1522743381.453193, | ||
| 487 | - "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\":\"\"}", | ||
| 488 | - "response_headers": { | ||
| 489 | - "Connection": "keep-alive", | ||
| 490 | - "Content-Encoding": "gzip", | ||
| 491 | - "Content-Type": "application/json;charset=utf-8", | ||
| 492 | - "Date": "Tue, 03 Apr 2018 08:16:21 GMT", | ||
| 493 | - "Server": "nginx/1.13.5", | ||
| 494 | - "Transfer-Encoding": "chunked", | ||
| 495 | - "X-Powered-By": "PHP/5.6.9" | ||
| 496 | - }, | ||
| 497 | - "response_time": 63, | ||
| 498 | - "status_code": 200, | ||
| 499 | - "url": "/?s=App.Orders.CreateOrder" | ||
| 500 | -}</pre></div> | ||
| 501 | - </div> | ||
| 502 | - </div> | ||
| 503 | - | ||
| 504 | - | ||
| 505 | - | ||
| 506 | - </td> | ||
| 507 | - </tr> | ||
| 508 | - | ||
| 509 | - <tr> | ||
| 510 | - <th class="success" style="width:5em;">success</td> | ||
| 511 | - <td>22桌 添加一个沽清数量为2的菜品</td> | ||
| 512 | - <td style="text-align:center;width:6em;">61.0 ms</td> | ||
| 513 | - <td class="detail"> | ||
| 514 | - | ||
| 515 | - <a class="button" href="#popup_log_8">log</a> | ||
| 516 | - <div id="popup_log_8" class="overlay"> | ||
| 517 | - <div class="popup"> | ||
| 518 | - <h2>Request and Response data</h2> | ||
| 519 | - <a class="close" href="#">×</a> | ||
| 520 | - <div class="content"><pre>{ | ||
| 521 | - "content_size": 236, | ||
| 522 | - "elapsed": 0.060112, | ||
| 523 | - "method": "POST", | ||
| 524 | - "request_body": "orderid=29\u0026openid=o9pcQ0dtFx_KTFpUpCXOaLUdsGTQ\u0026cookbookid=11", | ||
| 525 | - "request_headers": { | ||
| 526 | - "Accept": "*/*", | ||
| 527 | - "Accept-Encoding": "gzip, deflate", | ||
| 528 | - "Connection": "keep-alive", | ||
| 529 | - "Content-Length": "60", | ||
| 530 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 531 | - "User-Agent": "python-requests/2.18.4" | ||
| 532 | - }, | ||
| 533 | - "request_time": 1522743381.518138, | ||
| 534 | - "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\":\"\"}", | ||
| 535 | - "response_headers": { | ||
| 536 | - "Connection": "keep-alive", | ||
| 537 | - "Content-Encoding": "gzip", | ||
| 538 | - "Content-Type": "application/json;charset=utf-8", | ||
| 539 | - "Date": "Tue, 03 Apr 2018 08:16:21 GMT", | ||
| 540 | - "Server": "nginx/1.13.5", | ||
| 541 | - "Transfer-Encoding": "chunked", | ||
| 542 | - "X-Powered-By": "PHP/5.6.9" | ||
| 543 | - }, | ||
| 544 | - "response_time": 61, | ||
| 545 | - "status_code": 200, | ||
| 546 | - "url": "/?s=App.Orders.AddCart" | ||
| 547 | -}</pre></div> | ||
| 548 | - </div> | ||
| 549 | - </div> | ||
| 550 | - | ||
| 551 | - | ||
| 552 | - | ||
| 553 | - </td> | ||
| 554 | - </tr> | ||
| 555 | - | ||
| 556 | - <tr> | ||
| 557 | - <th class="success" style="width:5em;">success</td> | ||
| 558 | - <td>22桌 下单</td> | ||
| 559 | - <td style="text-align:center;width:6em;">60.0 ms</td> | ||
| 560 | - <td class="detail"> | ||
| 561 | - | ||
| 562 | - <a class="button" href="#popup_log_9">log</a> | ||
| 563 | - <div id="popup_log_9" class="overlay"> | ||
| 564 | - <div class="popup"> | ||
| 565 | - <h2>Request and Response data</h2> | ||
| 566 | - <a class="close" href="#">×</a> | ||
| 567 | - <div class="content"><pre>{ | ||
| 568 | - "content_size": 439, | ||
| 569 | - "elapsed": 0.0597, | ||
| 570 | - "method": "POST", | ||
| 571 | - "request_body": "orderid=29\u0026sellerid=4\u0026type=type_order", | ||
| 572 | - "request_headers": { | ||
| 573 | - "Accept": "*/*", | ||
| 574 | - "Accept-Encoding": "gzip, deflate", | ||
| 575 | - "Connection": "keep-alive", | ||
| 576 | - "Content-Length": "37", | ||
| 577 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 578 | - "User-Agent": "python-requests/2.18.4" | ||
| 579 | - }, | ||
| 580 | - "request_time": 1522743381.580503, | ||
| 581 | - "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\":\"\"}", | ||
| 582 | - "response_headers": { | ||
| 583 | - "Connection": "keep-alive", | ||
| 584 | - "Content-Encoding": "gzip", | ||
| 585 | - "Content-Type": "application/json;charset=utf-8", | ||
| 586 | - "Date": "Tue, 03 Apr 2018 08:16:21 GMT", | ||
| 587 | - "Server": "nginx/1.13.5", | ||
| 588 | - "Transfer-Encoding": "chunked", | ||
| 589 | - "X-Powered-By": "PHP/5.6.9" | ||
| 590 | - }, | ||
| 591 | - "response_time": 60, | ||
| 592 | - "status_code": 200, | ||
| 593 | - "url": "/?s=App.Orders.PlaceOrder" | ||
| 594 | -}</pre></div> | ||
| 595 | - </div> | ||
| 596 | - </div> | ||
| 597 | - | ||
| 598 | - | ||
| 599 | - | ||
| 600 | - </td> | ||
| 601 | - </tr> | ||
| 602 | - | ||
| 603 | - <tr> | ||
| 604 | - <th class="error" style="width:5em;">error</td> | ||
| 605 | - <td>21桌 下单</td> | ||
| 606 | - <td style="text-align:center;width:6em;">80.0 ms</td> | ||
| 607 | - <td class="detail"> | ||
| 608 | - | ||
| 609 | - <a class="button" href="#popup_log_10">log</a> | ||
| 610 | - <div id="popup_log_10" class="overlay"> | ||
| 611 | - <div class="popup"> | ||
| 612 | - <h2>Request and Response data</h2> | ||
| 613 | - <a class="close" href="#">×</a> | ||
| 614 | - <div class="content"><pre>{ | ||
| 615 | - "content_size": 439, | ||
| 616 | - "elapsed": 0.079423, | ||
| 617 | - "method": "POST", | ||
| 618 | - "request_body": "orderid=28\u0026sellerid=4\u0026type=type_order", | ||
| 619 | - "request_headers": { | ||
| 620 | - "Accept": "*/*", | ||
| 621 | - "Accept-Encoding": "gzip, deflate", | ||
| 622 | - "Connection": "keep-alive", | ||
| 623 | - "Content-Length": "37", | ||
| 624 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 625 | - "User-Agent": "python-requests/2.18.4" | ||
| 626 | - }, | ||
| 627 | - "request_time": 1522743381.642474, | ||
| 628 | - "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\":\"\"}", | ||
| 629 | - "response_headers": { | ||
| 630 | - "Connection": "keep-alive", | ||
| 631 | - "Content-Encoding": "gzip", | ||
| 632 | - "Content-Type": "application/json;charset=utf-8", | ||
| 633 | - "Date": "Tue, 03 Apr 2018 08:16:21 GMT", | ||
| 634 | - "Server": "nginx/1.13.5", | ||
| 635 | - "Transfer-Encoding": "chunked", | ||
| 636 | - "X-Powered-By": "PHP/5.6.9" | ||
| 637 | - }, | ||
| 638 | - "response_time": 80, | ||
| 639 | - "status_code": 200, | ||
| 640 | - "url": "/?s=App.Orders.PlaceOrder" | ||
| 641 | -}</pre></div> | ||
| 642 | - </div> | ||
| 643 | - </div> | ||
| 644 | - | ||
| 645 | - | ||
| 646 | - <a class="button" href="#popup_attachment_10">traceback</a> | ||
| 647 | - <div id="popup_attachment_10" class="overlay"> | ||
| 648 | - <div class="popup"> | ||
| 649 | - <h2>Traceback Message</h2> | ||
| 650 | - <a class="close" href="#">×</a> | ||
| 651 | - <div class="content"><pre>Traceback (most recent call last): | ||
| 652 | -ValidationError: | ||
| 653 | - check item name: content.ret; | ||
| 654 | - check item value: 200 (int); | ||
| 655 | - comparator: equals; | ||
| 656 | - expected value: 400 (int). | ||
| 657 | -</pre></div> | ||
| 658 | - </div> | ||
| 659 | - </div> | ||
| 660 | - | ||
| 661 | - | ||
| 662 | - </td> | ||
| 663 | - </tr> | ||
| 664 | - | ||
| 665 | - <tr> | ||
| 666 | - <th class="success" style="width:5em;">success</td> | ||
| 667 | - <td>21桌 添加一个普通菜品</td> | ||
| 668 | - <td style="text-align:center;width:6em;">70.0 ms</td> | ||
| 669 | - <td class="detail"> | ||
| 670 | - | ||
| 671 | - <a class="button" href="#popup_log_11">log</a> | ||
| 672 | - <div id="popup_log_11" class="overlay"> | ||
| 673 | - <div class="popup"> | ||
| 674 | - <h2>Request and Response data</h2> | ||
| 675 | - <a class="close" href="#">×</a> | ||
| 676 | - <div class="content"><pre>{ | ||
| 677 | - "content_size": 236, | ||
| 678 | - "elapsed": 0.069306, | ||
| 679 | - "method": "POST", | ||
| 680 | - "request_body": "orderid=28\u0026openid=o9pcQ0ZvcI3L5fg75WdVtvK9l3xQ\u0026cookbookid=9", | ||
| 681 | - "request_headers": { | ||
| 682 | - "Accept": "*/*", | ||
| 683 | - "Accept-Encoding": "gzip, deflate", | ||
| 684 | - "Connection": "keep-alive", | ||
| 685 | - "Content-Length": "59", | ||
| 686 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 687 | - "User-Agent": "python-requests/2.18.4" | ||
| 688 | - }, | ||
| 689 | - "request_time": 1522743381.724398, | ||
| 690 | - "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\":\"\"}", | ||
| 691 | - "response_headers": { | ||
| 692 | - "Connection": "keep-alive", | ||
| 693 | - "Content-Encoding": "gzip", | ||
| 694 | - "Content-Type": "application/json;charset=utf-8", | ||
| 695 | - "Date": "Tue, 03 Apr 2018 08:16:21 GMT", | ||
| 696 | - "Server": "nginx/1.13.5", | ||
| 697 | - "Transfer-Encoding": "chunked", | ||
| 698 | - "X-Powered-By": "PHP/5.6.9" | ||
| 699 | - }, | ||
| 700 | - "response_time": 70, | ||
| 701 | - "status_code": 200, | ||
| 702 | - "url": "/?s=App.Orders.AddCart" | ||
| 703 | -}</pre></div> | ||
| 704 | - </div> | ||
| 705 | - </div> | ||
| 706 | - | ||
| 707 | - | ||
| 708 | - | ||
| 709 | - </td> | ||
| 710 | - </tr> | ||
| 711 | - | ||
| 712 | - <tr> | ||
| 713 | - <th class="success" style="width:5em;">success</td> | ||
| 714 | - <td>21桌 加菜</td> | ||
| 715 | - <td style="text-align:center;width:6em;">77.0 ms</td> | ||
| 716 | - <td class="detail"> | ||
| 717 | - | ||
| 718 | - <a class="button" href="#popup_log_12">log</a> | ||
| 719 | - <div id="popup_log_12" class="overlay"> | ||
| 720 | - <div class="popup"> | ||
| 721 | - <h2>Request and Response data</h2> | ||
| 722 | - <a class="close" href="#">×</a> | ||
| 723 | - <div class="content"><pre>{ | ||
| 724 | - "content_size": 439, | ||
| 725 | - "elapsed": 0.07704, | ||
| 726 | - "method": "POST", | ||
| 727 | - "request_body": "orderid=28\u0026sellerid=4\u0026type=type_add", | ||
| 728 | - "request_headers": { | ||
| 729 | - "Accept": "*/*", | ||
| 730 | - "Accept-Encoding": "gzip, deflate", | ||
| 731 | - "Connection": "keep-alive", | ||
| 732 | - "Content-Length": "35", | ||
| 733 | - "Content-Type": "application/x-www-form-urlencoded", | ||
| 734 | - "User-Agent": "python-requests/2.18.4" | ||
| 735 | - }, | ||
| 736 | - "request_time": 1522743381.795961, | ||
| 737 | - "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\":\"\"}", | ||
| 738 | - "response_headers": { | ||
| 739 | - "Connection": "keep-alive", | ||
| 740 | - "Content-Encoding": "gzip", | ||
| 741 | - "Content-Type": "application/json;charset=utf-8", | ||
| 742 | - "Date": "Tue, 03 Apr 2018 08:16:21 GMT", | ||
| 743 | - "Server": "nginx/1.13.5", | ||
| 744 | - "Transfer-Encoding": "chunked", | ||
| 745 | - "X-Powered-By": "PHP/5.6.9" | ||
| 746 | - }, | ||
| 747 | - "response_time": 77, | ||
| 748 | - "status_code": 200, | ||
| 749 | - "url": "/?s=App.Orders.PlaceOrder" | ||
| 750 | -}</pre></div> | ||
| 751 | - </div> | ||
| 752 | - </div> | ||
| 753 | - | ||
| 754 | - | ||
| 755 | - | ||
| 756 | - </td> | ||
| 757 | - </tr> | ||
| 758 | - | ||
| 759 | - </table> | ||
| 760 | -</body> |
| @@ -39,7 +39,90 @@ | @@ -39,7 +39,90 @@ | ||
| 39 | # 加菜 | 39 | # 加菜 |
| 40 | - type_add: 2 | 40 | - type_add: 2 |
| 41 | 41 | ||
| 42 | + | ||
| 43 | + | ||
| 44 | + | ||
| 45 | +# - test: | ||
| 46 | +# name: 21桌 顾客扫桌码 | ||
| 47 | +# request: | ||
| 48 | +# url: App.Orders.CreateOrder | ||
| 49 | +# method: POST | ||
| 50 | +# data: | ||
| 51 | +# sellerid: $sellerid | ||
| 52 | +# openid: $openid1 | ||
| 53 | +# pnum: $pnum | ||
| 54 | +# tableid: $tableid1 | ||
| 55 | +# remark: $remark1 | ||
| 56 | +# remarkid: $remarkid1 | ||
| 57 | +# extract: | ||
| 58 | +# - orderid1: content.data.0 | ||
| 59 | +# validate: | ||
| 60 | +# - eq: ["content.ret", 200] | ||
| 61 | + | ||
| 62 | + | ||
| 63 | + | ||
| 64 | + | ||
| 65 | + | ||
| 66 | +# - test: | ||
| 67 | +# name: 22桌 添加一个沽清数量为2的菜品 | ||
| 68 | +# request: | ||
| 69 | +# url: App.Orders.AddCart | ||
| 70 | +# method: POST | ||
| 71 | +# data: | ||
| 72 | +# orderid: $orderid2 | ||
| 73 | +# openid: $openid2 | ||
| 74 | +# cookbookid: $cook5_id | ||
| 75 | +# validate: | ||
| 76 | +# - eq: ["content.ret", 200] | ||
| 77 | + | ||
| 78 | + | ||
| 79 | +# - test: | ||
| 80 | +# name: 22桌 下单 | ||
| 81 | +# request: | ||
| 82 | +# url: App.Orders.PlaceOrder | ||
| 83 | +# method: POST | ||
| 84 | +# data: | ||
| 85 | +# sellerid: $sellerid | ||
| 86 | +# orderid: $orderid2 | ||
| 87 | +# type: type_order | ||
| 88 | +# validate: | ||
| 89 | +# - eq: ["content.ret", 200] | ||
| 90 | + | ||
| 91 | +# - test: | ||
| 92 | +# name: 21桌 下单 | ||
| 93 | +# request: | ||
| 94 | +# url: App.Orders.PlaceOrder | ||
| 95 | +# method: POST | ||
| 96 | +# data: | ||
| 97 | +# sellerid: $sellerid | ||
| 98 | +# orderid: $orderid1 | ||
| 99 | +# type: type_order | ||
| 100 | +# validate: | ||
| 101 | +# - eq: ["content.ret", 400] | ||
| 102 | + | ||
| 103 | + | ||
| 104 | + | ||
| 105 | +#加菜 | ||
| 106 | +# - test: | ||
| 107 | +# name: 21桌 加菜 | ||
| 108 | +# request: | ||
| 109 | +# url: App.Orders.PlaceOrder | ||
| 110 | +# method: POST | ||
| 111 | +# data: | ||
| 112 | +# sellerid: $sellerid | ||
| 113 | +# orderid: $orderid1 | ||
| 114 | +# type: type_add | ||
| 115 | +# validate: | ||
| 116 | +# - eq: ["content.ret", 200] | ||
| 117 | + | ||
| 118 | + | ||
| 119 | +#服务员单人点餐 | ||
| 120 | + | ||
| 121 | + | ||
| 122 | +#服务员2人点餐 | ||
| 42 | 123 | ||
| 124 | + | ||
| 125 | +#顾客单人点餐 | ||
| 43 | - test: | 126 | - test: |
| 44 | name: 21桌 顾客扫桌码 | 127 | name: 21桌 顾客扫桌码 |
| 45 | request: | 128 | request: |
| @@ -53,7 +136,7 @@ | @@ -53,7 +136,7 @@ | ||
| 53 | remark: $remark1 | 136 | remark: $remark1 |
| 54 | remarkid: $remarkid1 | 137 | remarkid: $remarkid1 |
| 55 | extract: | 138 | extract: |
| 56 | - - orderid1: content.data | 139 | + - orderid1: content.data.0 |
| 57 | validate: | 140 | validate: |
| 58 | - eq: ["content.ret", 200] | 141 | - eq: ["content.ret", 200] |
| 59 | 142 | ||
| @@ -63,7 +146,7 @@ | @@ -63,7 +146,7 @@ | ||
| 63 | url: App.Orders.AddCart | 146 | url: App.Orders.AddCart |
| 64 | method: POST | 147 | method: POST |
| 65 | data: | 148 | data: |
| 66 | - orderid: ${get_orderid($orderid1)} | 149 | + orderid: $orderid1 |
| 67 | openid: $openid1 | 150 | openid: $openid1 |
| 68 | cookbookid: $cook1_id | 151 | cookbookid: $cook1_id |
| 69 | specid: $cook1_spec1_id | 152 | specid: $cook1_spec1_id |
| @@ -77,7 +160,7 @@ | @@ -77,7 +160,7 @@ | ||
| 77 | url: App.Orders.AddCart | 160 | url: App.Orders.AddCart |
| 78 | method: POST | 161 | method: POST |
| 79 | data: | 162 | data: |
| 80 | - orderid: ${get_orderid($orderid1)} | 163 | + orderid: $orderid1 |
| 81 | openid: $openid1 | 164 | openid: $openid1 |
| 82 | cookbookid: $cook2_id | 165 | cookbookid: $cook2_id |
| 83 | specid: $cook2_spec1_id | 166 | specid: $cook2_spec1_id |
| @@ -90,7 +173,7 @@ | @@ -90,7 +173,7 @@ | ||
| 90 | url: App.Orders.AddCart | 173 | url: App.Orders.AddCart |
| 91 | method: POST | 174 | method: POST |
| 92 | data: | 175 | data: |
| 93 | - orderid: ${get_orderid($orderid1)} | 176 | + orderid: $orderid1 |
| 94 | openid: $openid1 | 177 | openid: $openid1 |
| 95 | cookbookid: $cook4_id | 178 | cookbookid: $cook4_id |
| 96 | validate: | 179 | validate: |
| @@ -102,7 +185,7 @@ | @@ -102,7 +185,7 @@ | ||
| 102 | url: App.Orders.AddCart | 185 | url: App.Orders.AddCart |
| 103 | method: POST | 186 | method: POST |
| 104 | data: | 187 | data: |
| 105 | - orderid: ${get_orderid($orderid1)} | 188 | + orderid: $orderid1 |
| 106 | openid: $openid1 | 189 | openid: $openid1 |
| 107 | cookbookid: $cook5_id | 190 | cookbookid: $cook5_id |
| 108 | validate: | 191 | validate: |
| @@ -114,87 +197,98 @@ | @@ -114,87 +197,98 @@ | ||
| 114 | url: App.Orders.AddCart | 197 | url: App.Orders.AddCart |
| 115 | method: POST | 198 | method: POST |
| 116 | data: | 199 | data: |
| 117 | - orderid: ${get_orderid($orderid1)} | 200 | + orderid: $orderid1 |
| 118 | openid: $openid1 | 201 | openid: $openid1 |
| 119 | cookbookid: $cook5_id | 202 | cookbookid: $cook5_id |
| 120 | validate: | 203 | validate: |
| 121 | - eq: ["content.ret", 200] | 204 | - eq: ["content.ret", 200] |
| 122 | 205 | ||
| 206 | + | ||
| 207 | + | ||
| 208 | + | ||
| 209 | +#顾客2人点餐() | ||
| 123 | - test: | 210 | - test: |
| 124 | - name: 22桌 顾客扫桌码 | 211 | + name: 22桌 顾客一扫桌码 |
| 125 | request: | 212 | request: |
| 126 | url: App.Orders.CreateOrder | 213 | url: App.Orders.CreateOrder |
| 127 | method: POST | 214 | method: POST |
| 128 | data: | 215 | data: |
| 129 | sellerid: $sellerid | 216 | sellerid: $sellerid |
| 130 | - openid: $openid2 | 217 | + openid: $openid1 |
| 131 | pnum: $pnum | 218 | pnum: $pnum |
| 132 | tableid: $tableid2 | 219 | tableid: $tableid2 |
| 133 | remark: $remark2 | 220 | remark: $remark2 |
| 134 | remarkid: $remarkid2 | 221 | remarkid: $remarkid2 |
| 135 | extract: | 222 | extract: |
| 136 | - - orderid2: content.data | 223 | + - orderid2: content.data.0 |
| 137 | validate: | 224 | validate: |
| 138 | - eq: ["content.ret", 200] | 225 | - eq: ["content.ret", 200] |
| 139 | - | ||
| 140 | - test: | 226 | - test: |
| 141 | - name: 22桌 添加一个沽清数量为2的菜品 | 227 | + name: 22桌 顾客二扫桌码 |
| 142 | request: | 228 | request: |
| 143 | - url: App.Orders.AddCart | 229 | + url: App.Orders.CreateOrder |
| 144 | method: POST | 230 | method: POST |
| 145 | data: | 231 | data: |
| 146 | - orderid: ${get_orderid($orderid2)} | 232 | + sellerid: $sellerid |
| 147 | openid: $openid2 | 233 | openid: $openid2 |
| 148 | - cookbookid: $cook5_id | 234 | + pnum: $pnum |
| 235 | + tableid: $tableid2 | ||
| 236 | + remark: $remark2 | ||
| 237 | + remarkid: $remarkid2 | ||
| 238 | + extract: | ||
| 239 | + - orderid2: content.data.0 | ||
| 149 | validate: | 240 | validate: |
| 150 | - - eq: ["content.ret", 200] | ||
| 151 | - | ||
| 152 | - | 241 | + - eq: ["content.ret", 200] |
| 153 | - test: | 242 | - test: |
| 154 | - name: 22桌 下单 | 243 | + name: 22桌 顾客一添加一个有规格有做法菜品 |
| 155 | request: | 244 | request: |
| 156 | - url: App.Orders.PlaceOrder | 245 | + url: App.Orders.AddCart |
| 157 | method: POST | 246 | method: POST |
| 158 | data: | 247 | data: |
| 159 | - sellerid: $sellerid | ||
| 160 | - orderid: ${get_orderid($orderid2)} | ||
| 161 | - type: type_order | 248 | + orderid: $orderid2 |
| 249 | + openid: $openid1 | ||
| 250 | + cookbookid: $cook1_id | ||
| 251 | + specid: $cook1_spec1_id | ||
| 252 | + practiceid: $cook1_prac1_id | ||
| 162 | validate: | 253 | validate: |
| 163 | - eq: ["content.ret", 200] | 254 | - eq: ["content.ret", 200] |
| 164 | 255 | ||
| 165 | - test: | 256 | - test: |
| 166 | - name: 21桌 下单 | 257 | + name: 22桌 顾客二添加一个有规格无做法菜品 |
| 167 | request: | 258 | request: |
| 168 | - url: App.Orders.PlaceOrder | 259 | + url: App.Orders.AddCart |
| 169 | method: POST | 260 | method: POST |
| 170 | data: | 261 | data: |
| 171 | - sellerid: $sellerid | ||
| 172 | - orderid: ${get_orderid($orderid1)} | ||
| 173 | - type: type_order | 262 | + orderid: $orderid2 |
| 263 | + openid: $openid2 | ||
| 264 | + cookbookid: $cook2_id | ||
| 265 | + specid: $cook2_spec1_id | ||
| 174 | validate: | 266 | validate: |
| 175 | - - eq: ["content.ret", 400] | 267 | + - eq: ["content.ret", 200] |
| 176 | 268 | ||
| 177 | - test: | 269 | - test: |
| 178 | - name: 21桌 添加一个普通菜品 | 270 | + name: 22桌 顾客一添加一个普通菜品 |
| 179 | request: | 271 | request: |
| 180 | url: App.Orders.AddCart | 272 | url: App.Orders.AddCart |
| 181 | method: POST | 273 | method: POST |
| 182 | data: | 274 | data: |
| 183 | - orderid: ${get_orderid($orderid1)} | 275 | + orderid: $orderid2 |
| 184 | openid: $openid1 | 276 | openid: $openid1 |
| 185 | cookbookid: $cook4_id | 277 | cookbookid: $cook4_id |
| 186 | validate: | 278 | validate: |
| 187 | - - eq: ["content.ret", 200] | ||
| 188 | - | ||
| 189 | -#加菜 | ||
| 190 | -- test: | ||
| 191 | - name: 21桌 加菜 | ||
| 192 | - request: | ||
| 193 | - url: App.Orders.PlaceOrder | ||
| 194 | - method: POST | ||
| 195 | - data: | ||
| 196 | - sellerid: $sellerid | ||
| 197 | - orderid: ${get_orderid($orderid1)} | ||
| 198 | - type: type_add | ||
| 199 | - validate: | ||
| 200 | - - eq: ["content.ret", 200] | ||
| 279 | + - eq: ["content.ret", 200] | ||
| 280 | + | ||
| 281 | + | ||
| 282 | + | ||
| 283 | + | ||
| 284 | + | ||
| 285 | +#服务员与顾客同时点餐 | ||
| 286 | + | ||
| 287 | + | ||
| 288 | +#服务员与2人顾客同时点餐 | ||
| 289 | + | ||
| 290 | + | ||
| 291 | +#2名服务员与顾客同时点餐 | ||
| 292 | + | ||
| 293 | + | ||
| 294 | +#2名服务员与2名顾客同时点餐 |
| @@ -140,7 +140,7 @@ | @@ -140,7 +140,7 @@ | ||
| 140 | openid: $openid | 140 | openid: $openid |
| 141 | cookbookid: $cook3_id | 141 | cookbookid: $cook3_id |
| 142 | validate: | 142 | validate: |
| 143 | - - eq: ["content.ret", 400] | 143 | + - eq: ["content.ret", 200] |
| 144 | - test: | 144 | - test: |
| 145 | name: 点餐添加购物车(添加一个无规格无做法无沽清菜品) | 145 | name: 点餐添加购物车(添加一个无规格无做法无沽清菜品) |
| 146 | request: | 146 | request: |
| @@ -184,7 +184,7 @@ | @@ -184,7 +184,7 @@ | ||
| 184 | openid: $openid | 184 | openid: $openid |
| 185 | cookbookid: $cook5_id | 185 | cookbookid: $cook5_id |
| 186 | validate: | 186 | validate: |
| 187 | - - eq: ["content.ret", 400] | 187 | + - eq: ["content.ret", 200] |
| 188 | - test: | 188 | - test: |
| 189 | name: 点餐添加购物车(不填orderid) | 189 | name: 点餐添加购物车(不填orderid) |
| 190 | request: | 190 | request: |
| @@ -230,30 +230,30 @@ | @@ -230,30 +230,30 @@ | ||
| 230 | validate: | 230 | validate: |
| 231 | - eq: ["content.ret", 200] | 231 | - eq: ["content.ret", 200] |
| 232 | 232 | ||
| 233 | -#下单 | ||
| 234 | -- test: | ||
| 235 | - name: 下单 | ||
| 236 | - request: | ||
| 237 | - url: App.Orders.PlaceOrder | ||
| 238 | - method: POST | ||
| 239 | - data: | ||
| 240 | - sellerid: $sellerid | ||
| 241 | - orderid: ${get_orderid($orderid)} | ||
| 242 | - type: type_order | ||
| 243 | - validate: | ||
| 244 | - - eq: ["content.ret", 200] | ||
| 245 | -#加菜 | ||
| 246 | -- test: | ||
| 247 | - name: 加菜 | ||
| 248 | - request: | ||
| 249 | - url: App.Orders.PlaceOrder | ||
| 250 | - method: POST | ||
| 251 | - data: | ||
| 252 | - sellerid: $sellerid | ||
| 253 | - orderid: ${get_orderid($orderid)} | ||
| 254 | - type: type_add | ||
| 255 | - validate: | ||
| 256 | - - eq: ["content.ret", 200] | 233 | +# #下单 |
| 234 | +# - test: | ||
| 235 | +# name: 下单 | ||
| 236 | +# request: | ||
| 237 | +# url: App.Orders.PlaceOrder | ||
| 238 | +# method: POST | ||
| 239 | +# data: | ||
| 240 | +# sellerid: $sellerid | ||
| 241 | +# orderid: ${get_orderid($orderid)} | ||
| 242 | +# type: type_order | ||
| 243 | +# validate: | ||
| 244 | +# - eq: ["content.ret", 200] | ||
| 245 | +# #加菜 | ||
| 246 | +# - test: | ||
| 247 | +# name: 加菜 | ||
| 248 | +# request: | ||
| 249 | +# url: App.Orders.PlaceOrder | ||
| 250 | +# method: POST | ||
| 251 | +# data: | ||
| 252 | +# sellerid: $sellerid | ||
| 253 | +# orderid: ${get_orderid($orderid)} | ||
| 254 | +# type: type_add | ||
| 255 | +# validate: | ||
| 256 | +# - eq: ["content.ret", 200] | ||
| 257 | 257 | ||
| 258 | 258 | ||
| 259 | 259 | ||
| @@ -295,24 +295,24 @@ | @@ -295,24 +295,24 @@ | ||
| 295 | 295 | ||
| 296 | #修改用餐人数 | 296 | #修改用餐人数 |
| 297 | - test: | 297 | - test: |
| 298 | - name: 修改订单详情 | 298 | + name: 修改用餐人数 |
| 299 | request: | 299 | request: |
| 300 | url: App.Orders.SetOrderById | 300 | url: App.Orders.SetOrderById |
| 301 | method: POST | 301 | method: POST |
| 302 | data: | 302 | data: |
| 303 | - orderid: ${get_orderid($orderid1)} | 303 | + orderid: ${get_orderid($orderid)} |
| 304 | pnum: $pnum_new | 304 | pnum: $pnum_new |
| 305 | validate: | 305 | validate: |
| 306 | - eq: ["content.ret", 200] | 306 | - eq: ["content.ret", 200] |
| 307 | 307 | ||
| 308 | #修改备注(输入) | 308 | #修改备注(输入) |
| 309 | - test: | 309 | - test: |
| 310 | - name: 修改订单详情 | 310 | + name: 修改备注(输入) |
| 311 | request: | 311 | request: |
| 312 | url: App.Orders.SetOrderById | 312 | url: App.Orders.SetOrderById |
| 313 | method: POST | 313 | method: POST |
| 314 | data: | 314 | data: |
| 315 | - orderid: ${get_orderid($orderid1)} | 315 | + orderid: ${get_orderid($orderid)} |
| 316 | remark: $remark_new | 316 | remark: $remark_new |
| 317 | validate: | 317 | validate: |
| 318 | - eq: ["content.ret", 200] | 318 | - eq: ["content.ret", 200] |
| @@ -324,19 +324,19 @@ | @@ -324,19 +324,19 @@ | ||
| 324 | url: App.Orders.SetOrderById | 324 | url: App.Orders.SetOrderById |
| 325 | method: POST | 325 | method: POST |
| 326 | data: | 326 | data: |
| 327 | - orderid: ${get_orderid($orderid1)} | 327 | + orderid: ${get_orderid($orderid)} |
| 328 | remarkid: $remarkid_new | 328 | remarkid: $remarkid_new |
| 329 | validate: | 329 | validate: |
| 330 | - eq: ["content.ret", 200] | 330 | - eq: ["content.ret", 200] |
| 331 | 331 | ||
| 332 | #修改备注(输入和选择) | 332 | #修改备注(输入和选择) |
| 333 | - test: | 333 | - test: |
| 334 | - name: 修改订单详情 | 334 | + name: 修改备注(输入和选择) |
| 335 | request: | 335 | request: |
| 336 | url: App.Orders.SetOrderById | 336 | url: App.Orders.SetOrderById |
| 337 | method: POST | 337 | method: POST |
| 338 | data: | 338 | data: |
| 339 | - orderid: ${get_orderid($orderid1)} | 339 | + orderid: ${get_orderid($orderid)} |
| 340 | remarkid: $remarkid_end | 340 | remarkid: $remarkid_end |
| 341 | remark: $remark_end | 341 | remark: $remark_end |
| 342 | validate: | 342 | validate: |
-
Please register or login to post a comment