Commit 1b4d4416bc82adcde4fc0e812b0befdfbdd8baac
Committed by
liujiqiang
1 parent
cda497f0
MySession中增加了标记代码
每个测试用例demo都加入了标记的功能
Showing
24 changed files
with
470 additions
and
927 deletions
src/commons/MySession.py
@@ -31,7 +31,7 @@ class mysession(): | @@ -31,7 +31,7 @@ class mysession(): | ||
31 | self.url=mysession.url.replace("http://test.",com.get_global_config("global_data", "environment", "en") ) | 31 | self.url=mysession.url.replace("http://test.",com.get_global_config("global_data", "environment", "en") ) |
32 | self.header=mysession.header | 32 | self.header=mysession.header |
33 | self.body=mysession.body | 33 | self.body=mysession.body |
34 | - self.timeout = (3,3) | 34 | + self.timeout = (3,5) |
35 | self.max_retries = 3 | 35 | self.max_retries = 3 |
36 | self.keep_alive = False | 36 | self.keep_alive = False |
37 | self.ssl_verify=False | 37 | self.ssl_verify=False |
@@ -148,7 +148,37 @@ class mysession(): | @@ -148,7 +148,37 @@ class mysession(): | ||
148 | #进行请求 | 148 | #进行请求 |
149 | re=self.se.delete(url,**kwargs) | 149 | re=self.se.delete(url,**kwargs) |
150 | return re | 150 | return re |
151 | + | ||
152 | + def set_mark(self): | ||
153 | + "用户自定义优先级方法" | ||
154 | + mark_list=eval(com.get_global_config("global_data","mark","list")) | ||
155 | + print("预设运行标记:",mark_list) | ||
156 | + global _global_mark | ||
157 | + if type(mark_list)==type([]) and len(mark_list)!=0 : | ||
158 | + _global_mark=mark_list | ||
159 | + return _global_mark | ||
160 | + elif type(mark_list)==type([]) and len(mark_list)==0: | ||
161 | + _global_mark=False | ||
162 | + return _global_mark | ||
163 | + else: | ||
164 | + raise Exception("error,pls check mark data") | ||
165 | + | ||
166 | + def mark(self,m=None): | ||
167 | + try: | ||
168 | + #没有输入任何预设值,默认跑全部 | ||
169 | + if _global_mark == False : | ||
170 | + return True | ||
171 | + #输入预设值且未标记用例,默认跑全部 | ||
172 | + elif _global_mark != False and (m in _global_mark): | ||
173 | + return True | ||
174 | + else: | ||
175 | + return False | ||
176 | + except Exception as e: | ||
177 | + return False | ||
178 | + | ||
179 | + | ||
151 | 180 | ||
152 | my=mysession() | 181 | my=mysession() |
182 | +my.set_mark() | ||
153 | s1=my.get_session("user01") | 183 | s1=my.get_session("user01") |
154 | s2=my.get_session("user02") | 184 | s2=my.get_session("user02") |
src/commons/__pycache__/MySession.cpython-36.pyc
No preview for this file type
src/commons/__pycache__/common.cpython-36.pyc
No preview for this file type
src/commons/api/__pycache__/doAdd.cpython-36.pyc
No preview for this file type
src/commons/api/doAdd.py
src/commons/common.py
@@ -51,6 +51,7 @@ def get_api_config(api,section,key): | @@ -51,6 +51,7 @@ def get_api_config(api,section,key): | ||
51 | log.error("File Not Exist :<%r> "%str(api_config_path)) | 51 | log.error("File Not Exist :<%r> "%str(api_config_path)) |
52 | raise Exception("File Not Exist :<%r> "%str(api_config_path)) | 52 | raise Exception("File Not Exist :<%r> "%str(api_config_path)) |
53 | 53 | ||
54 | + | ||
54 | def run_one(name): | 55 | def run_one(name): |
55 | test_suite = unittest.TestSuite() | 56 | test_suite = unittest.TestSuite() |
56 | #创建测试套 | 57 | #创建测试套 |
@@ -88,5 +89,3 @@ def run_Name(name): | @@ -88,5 +89,3 @@ def run_Name(name): | ||
88 | print("运行用例为{}".format(test_cases)) | 89 | print("运行用例为{}".format(test_cases)) |
89 | runner = unittest.TextTestRunner() | 90 | runner = unittest.TextTestRunner() |
90 | runner.run(test_cases) | 91 | runner.run(test_cases) |
91 | - | ||
92 | - | ||
93 | \ No newline at end of file | 92 | \ No newline at end of file |
src/config/global_data.conf
@@ -13,6 +13,10 @@ user03=256 | @@ -13,6 +13,10 @@ user03=256 | ||
13 | [environment] | 13 | [environment] |
14 | en=http://test. | 14 | en=http://test. |
15 | 15 | ||
16 | +[mark] | ||
17 | +list=["test"] | ||
18 | +list1=["p1","P2",1,"test"] | ||
19 | + | ||
16 | [Database] | 20 | [Database] |
17 | dbhost=10.35.100.34 | 21 | dbhost=10.35.100.34 |
18 | dbport=3306 | 22 | dbport=3306 |
src/main.py
@@ -11,7 +11,6 @@ from commons import SendEmail as em | @@ -11,7 +11,6 @@ from commons import SendEmail as em | ||
11 | from commons import common as com | 11 | from commons import common as com |
12 | from commons.MySession import my | 12 | from commons.MySession import my |
13 | 13 | ||
14 | - | ||
15 | def Create_Testcase_suite(): | 14 | def Create_Testcase_suite(): |
16 | '''创建测试套件''' | 15 | '''创建测试套件''' |
17 | testunit=unittest.TestSuite() | 16 | testunit=unittest.TestSuite() |
@@ -62,7 +61,7 @@ def Send_email(filename): | @@ -62,7 +61,7 @@ def Send_email(filename): | ||
62 | else: | 61 | else: |
63 | print("\n Haven't sent the email,pls check send-email address!") | 62 | print("\n Haven't sent the email,pls check send-email address!") |
64 | 63 | ||
65 | - | 64 | + |
66 | 65 | ||
67 | if __name__ == "__main__": | 66 | if __name__ == "__main__": |
68 | #检测数据库 | 67 | #检测数据库 |
src/report/2021-06-25 10_29_02_result.html renamed to src/report/2021-06-28 16_39_50_result.html
@@ -420,9 +420,9 @@ function hide_img(obj){ | @@ -420,9 +420,9 @@ function hide_img(obj){ | ||
420 | </script> | 420 | </script> |
421 | <div class='heading'> | 421 | <div class='heading'> |
422 | <h1>揣瘚</h1> | 422 | <h1>揣瘚</h1> |
423 | -<p class='attribute'><strong>撘憪:</strong> 2021-06-25 10:29:02</p> | ||
424 | -<p class='attribute'><strong>:</strong> 0:00:09.813729</p> | ||
425 | -<p class='attribute'><strong>:</strong> <span class="tj passCase">Pass</span>:15 <span class="tj failCase">Failure</span>:1 <span class="tj skipCase">Skip</span>:1 <span class="tj"></span>:93.8%</p> | 423 | +<p class='attribute'><strong>撘憪:</strong> 2021-06-28 16:39:50</p> |
424 | +<p class='attribute'><strong>:</strong> 0:00:03.575313</p> | ||
425 | +<p class='attribute'><strong>:</strong> <span class="tj passCase">Pass</span>:2 <span class="tj skipCase">Skip</span>:15 <span class="tj"></span>:100.0%</p> | ||
426 | 426 | ||
427 | <p class='description'>靘銵嚗</p> | 427 | <p class='description'>靘銵嚗</p> |
428 | </div> | 428 | </div> |
@@ -435,12 +435,12 @@ function hide_img(obj){ | @@ -435,12 +435,12 @@ function hide_img(obj){ | ||
435 | </div> | 435 | </div> |
436 | 436 | ||
437 | <div id='show_detail_line' style=" float: left; width: 100%;"> | 437 | <div id='show_detail_line' style=" float: left; width: 100%;"> |
438 | -<a class="abstract detail_button" href='javascript:showCase(0,1)'>璁93.75%]</a> | ||
439 | -<a class="passed detail_button" href='javascript:showCase(1,1)'>15]</a> | ||
440 | -<a class="failed detail_button" href='javascript:showCase(2,1)'>憭梯揖[1]</a> | 438 | +<a class="abstract detail_button" href='javascript:showCase(0,1)'>璁100.00%]</a> |
439 | +<a class="passed detail_button" href='javascript:showCase(1,1)'>2]</a> | ||
440 | +<a class="failed detail_button" href='javascript:showCase(2,1)'>憭梯揖[0]</a> | ||
441 | <a class="errored detail_button" href='javascript:showCase(3,1)'>秤[0]</a> | 441 | <a class="errored detail_button" href='javascript:showCase(3,1)'>秤[0]</a> |
442 | -<a class="skiped detail_button" href='javascript:showCase(4,1)'>頝唾1]</a> | ||
443 | -<a class="all detail_button" href='javascript:showCase(5,1)'>16]</a> | 442 | +<a class="skiped detail_button" href='javascript:showCase(4,1)'>頝唾15]</a> |
443 | +<a class="all detail_button" href='javascript:showCase(5,1)'>2]</a> | ||
444 | </div> | 444 | </div> |
445 | 445 | ||
446 | <table id='result_table'> | 446 | <table id='result_table'> |
@@ -465,11 +465,11 @@ function hide_img(obj){ | @@ -465,11 +465,11 @@ function hide_img(obj){ | ||
465 | 465 | ||
466 | <tr class='passClass'> | 466 | <tr class='passClass'> |
467 | <td>doAdd.test_doAdd.test_doAdd: 憓霈唳</td> | 467 | <td>doAdd.test_doAdd.test_doAdd: 憓霈唳</td> |
468 | - <td>3</td> | ||
469 | - <td>3</td> | 468 | + <td>1</td> |
469 | + <td>1</td> | ||
470 | <td>0</td> | 470 | <td>0</td> |
471 | <td>0</td> | 471 | <td>0</td> |
472 | - <td><a href="javascript:showClassDetail('c1.1',3)">霂行</a></td> | 472 | + <td><a href="javascript:showClassDetail('c1.1',1)">霂行</a></td> |
473 | <td> </td> | 473 | <td> </td> |
474 | </tr> | 474 | </tr> |
475 | 475 | ||
@@ -500,24 +500,23 @@ pt1.1.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | @@ -500,24 +500,23 @@ pt1.1.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | ||
500 | <td></td> | 500 | <td></td> |
501 | </tr> | 501 | </tr> |
502 | 502 | ||
503 | -<tr id='pt1.1.2' class='hiddenRow'> | 503 | +<tr id='st1.1.2' class='none'> |
504 | <td ><div class='testcase'>test_doAdd_02: 憓銝芸蛹斢憭蛹111</div></td> | 504 | <td ><div class='testcase'>test_doAdd_02: 憓銝芸蛹斢憭蛹111</div></td> |
505 | <td colspan='5' align='center'> | 505 | <td colspan='5' align='center'> |
506 | 506 | ||
507 | <!--css div popup start--> | 507 | <!--css div popup start--> |
508 | <span class='status passCase'> | 508 | <span class='status passCase'> |
509 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.1.2')" > | ||
510 | - </a></span> | 509 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.1.2')" > |
510 | + 頝唾</a></span> | ||
511 | 511 | ||
512 | - <div id='div_pt1.1.2' class="popup_window"> | 512 | + <div id='div_st1.1.2' class="popup_window"> |
513 | <div style='text-align: right; color:red;cursor:pointer'> | 513 | <div style='text-align: right; color:red;cursor:pointer'> |
514 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.1.2').style.display = 'none' " > | 514 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.1.2').style.display = 'none' " > |
515 | [x]</a> | 515 | [x]</a> |
516 | </div> | 516 | </div> |
517 | <pre> | 517 | <pre> |
518 | 518 | ||
519 | -pt1.1.2: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | ||
520 | - | 519 | +st1.1.2: skip |
521 | 520 | ||
522 | </pre> | 521 | </pre> |
523 | </div> | 522 | </div> |
@@ -527,24 +526,23 @@ pt1.1.2: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | @@ -527,24 +526,23 @@ pt1.1.2: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | ||
527 | <td></td> | 526 | <td></td> |
528 | </tr> | 527 | </tr> |
529 | 528 | ||
530 | -<tr id='pt1.1.3' class='hiddenRow'> | 529 | +<tr id='st1.1.3' class='none'> |
531 | <td ><div class='testcase'>test_doAdd_03: 秤憓憓</div></td> | 530 | <td ><div class='testcase'>test_doAdd_03: 秤憓憓</div></td> |
532 | <td colspan='5' align='center'> | 531 | <td colspan='5' align='center'> |
533 | 532 | ||
534 | <!--css div popup start--> | 533 | <!--css div popup start--> |
535 | <span class='status passCase'> | 534 | <span class='status passCase'> |
536 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.1.3')" > | ||
537 | - </a></span> | 535 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.1.3')" > |
536 | + 頝唾</a></span> | ||
538 | 537 | ||
539 | - <div id='div_pt1.1.3' class="popup_window"> | 538 | + <div id='div_st1.1.3' class="popup_window"> |
540 | <div style='text-align: right; color:red;cursor:pointer'> | 539 | <div style='text-align: right; color:red;cursor:pointer'> |
541 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.1.3').style.display = 'none' " > | 540 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.1.3').style.display = 'none' " > |
542 | [x]</a> | 541 | [x]</a> |
543 | </div> | 542 | </div> |
544 | <pre> | 543 | <pre> |
545 | 544 | ||
546 | -pt1.1.3: {'code': '5000', 'message': '霂W恥靽⊥憭梯揖', 'result': '霂W恥靽⊥憭梯揖', 'success': False} | ||
547 | - | 545 | +st1.1.3: skip |
548 | 546 | ||
549 | </pre> | 547 | </pre> |
550 | </div> | 548 | </div> |
@@ -556,32 +554,31 @@ pt1.1.3: {'code': '5000', 'message': '霂W恥靽⊥憭梯揖', 'result': ' | @@ -556,32 +554,31 @@ pt1.1.3: {'code': '5000', 'message': '霂W恥靽⊥憭梯揖', 'result': ' | ||
556 | 554 | ||
557 | <tr class='passClass'> | 555 | <tr class='passClass'> |
558 | <td>doAudit.test_doAudit.test_doAudit: 霈啣恣</td> | 556 | <td>doAudit.test_doAudit.test_doAudit: 霈啣恣</td> |
559 | - <td>4</td> | ||
560 | - <td>4</td> | ||
561 | <td>0</td> | 557 | <td>0</td> |
562 | <td>0</td> | 558 | <td>0</td> |
563 | - <td><a href="javascript:showClassDetail('c1.2',4)">霂行</a></td> | 559 | + <td>0</td> |
560 | + <td>0</td> | ||
561 | + <td><a href="javascript:showClassDetail('c1.2',0)">霂行</a></td> | ||
564 | <td> </td> | 562 | <td> </td> |
565 | </tr> | 563 | </tr> |
566 | 564 | ||
567 | -<tr id='pt1.2.1' class='hiddenRow'> | 565 | +<tr id='st1.2.1' class='none'> |
568 | <td ><div class='testcase'>test_doAudit_01: 摰⊥</div></td> | 566 | <td ><div class='testcase'>test_doAudit_01: 摰⊥</div></td> |
569 | <td colspan='5' align='center'> | 567 | <td colspan='5' align='center'> |
570 | 568 | ||
571 | <!--css div popup start--> | 569 | <!--css div popup start--> |
572 | <span class='status passCase'> | 570 | <span class='status passCase'> |
573 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.2.1')" > | ||
574 | - </a></span> | 571 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.2.1')" > |
572 | + 頝唾</a></span> | ||
575 | 573 | ||
576 | - <div id='div_pt1.2.1' class="popup_window"> | 574 | + <div id='div_st1.2.1' class="popup_window"> |
577 | <div style='text-align: right; color:red;cursor:pointer'> | 575 | <div style='text-align: right; color:red;cursor:pointer'> |
578 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.2.1').style.display = 'none' " > | 576 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.2.1').style.display = 'none' " > |
579 | [x]</a> | 577 | [x]</a> |
580 | </div> | 578 | </div> |
581 | <pre> | 579 | <pre> |
582 | 580 | ||
583 | -pt1.2.1: {'code': '200', 'message': '', 'result': '', 'success': True} | ||
584 | - | 581 | +st1.2.1: skip |
585 | 582 | ||
586 | </pre> | 583 | </pre> |
587 | </div> | 584 | </div> |
@@ -591,24 +588,23 @@ pt1.2.1: {'code': '200', 'message': '', 'result': '', 's | @@ -591,24 +588,23 @@ pt1.2.1: {'code': '200', 'message': '', 'result': '', 's | ||
591 | <td></td> | 588 | <td></td> |
592 | </tr> | 589 | </tr> |
593 | 590 | ||
594 | -<tr id='pt1.2.2' class='hiddenRow'> | 591 | +<tr id='st1.2.2' class='none'> |
595 | <td ><div class='testcase'>test_doAudit_02: 摰⊥銝</div></td> | 592 | <td ><div class='testcase'>test_doAudit_02: 摰⊥銝</div></td> |
596 | <td colspan='5' align='center'> | 593 | <td colspan='5' align='center'> |
597 | 594 | ||
598 | <!--css div popup start--> | 595 | <!--css div popup start--> |
599 | <span class='status passCase'> | 596 | <span class='status passCase'> |
600 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.2.2')" > | ||
601 | - </a></span> | 597 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.2.2')" > |
598 | + 頝唾</a></span> | ||
602 | 599 | ||
603 | - <div id='div_pt1.2.2' class="popup_window"> | 600 | + <div id='div_st1.2.2' class="popup_window"> |
604 | <div style='text-align: right; color:red;cursor:pointer'> | 601 | <div style='text-align: right; color:red;cursor:pointer'> |
605 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.2.2').style.display = 'none' " > | 602 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.2.2').style.display = 'none' " > |
606 | [x]</a> | 603 | [x]</a> |
607 | </div> | 604 | </div> |
608 | <pre> | 605 | <pre> |
609 | 606 | ||
610 | -pt1.2.2: {'code': '200', 'message': '', 'result': '', 'success': True} | ||
611 | - | 607 | +st1.2.2: skip |
612 | 608 | ||
613 | </pre> | 609 | </pre> |
614 | </div> | 610 | </div> |
@@ -618,24 +614,23 @@ pt1.2.2: {'code': '200', 'message': '', 'result': '', 's | @@ -618,24 +614,23 @@ pt1.2.2: {'code': '200', 'message': '', 'result': '', 's | ||
618 | <td></td> | 614 | <td></td> |
619 | </tr> | 615 | </tr> |
620 | 616 | ||
621 | -<tr id='pt1.2.3' class='hiddenRow'> | 617 | +<tr id='st1.2.3' class='none'> |
622 | <td ><div class='testcase'>test_doAudit_03: 摰⊥銝</div></td> | 618 | <td ><div class='testcase'>test_doAudit_03: 摰⊥銝</div></td> |
623 | <td colspan='5' align='center'> | 619 | <td colspan='5' align='center'> |
624 | 620 | ||
625 | <!--css div popup start--> | 621 | <!--css div popup start--> |
626 | <span class='status passCase'> | 622 | <span class='status passCase'> |
627 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.2.3')" > | ||
628 | - </a></span> | 623 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.2.3')" > |
624 | + 頝唾</a></span> | ||
629 | 625 | ||
630 | - <div id='div_pt1.2.3' class="popup_window"> | 626 | + <div id='div_st1.2.3' class="popup_window"> |
631 | <div style='text-align: right; color:red;cursor:pointer'> | 627 | <div style='text-align: right; color:red;cursor:pointer'> |
632 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.2.3').style.display = 'none' " > | 628 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.2.3').style.display = 'none' " > |
633 | [x]</a> | 629 | [x]</a> |
634 | </div> | 630 | </div> |
635 | <pre> | 631 | <pre> |
636 | 632 | ||
637 | -pt1.2.3: {'code': '200', 'message': '', 'result': '', 'success': True} | ||
638 | - | 633 | +st1.2.3: skip |
639 | 634 | ||
640 | </pre> | 635 | </pre> |
641 | </div> | 636 | </div> |
@@ -645,24 +640,23 @@ pt1.2.3: {'code': '200', 'message': '', 'result': '', 's | @@ -645,24 +640,23 @@ pt1.2.3: {'code': '200', 'message': '', 'result': '', 's | ||
645 | <td></td> | 640 | <td></td> |
646 | </tr> | 641 | </tr> |
647 | 642 | ||
648 | -<tr id='pt1.2.4' class='hiddenRow'> | 643 | +<tr id='st1.2.4' class='none'> |
649 | <td ><div class='testcase'>test_doAudit_04: 摰⊥銝銝芸歇蝏恣霈啣</div></td> | 644 | <td ><div class='testcase'>test_doAudit_04: 摰⊥銝銝芸歇蝏恣霈啣</div></td> |
650 | <td colspan='5' align='center'> | 645 | <td colspan='5' align='center'> |
651 | 646 | ||
652 | <!--css div popup start--> | 647 | <!--css div popup start--> |
653 | <span class='status passCase'> | 648 | <span class='status passCase'> |
654 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.2.4')" > | ||
655 | - </a></span> | 649 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.2.4')" > |
650 | + 頝唾</a></span> | ||
656 | 651 | ||
657 | - <div id='div_pt1.2.4' class="popup_window"> | 652 | + <div id='div_st1.2.4' class="popup_window"> |
658 | <div style='text-align: right; color:red;cursor:pointer'> | 653 | <div style='text-align: right; color:red;cursor:pointer'> |
659 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.2.4').style.display = 'none' " > | 654 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.2.4').style.display = 'none' " > |
660 | [x]</a> | 655 | [x]</a> |
661 | </div> | 656 | </div> |
662 | <pre> | 657 | <pre> |
663 | 658 | ||
664 | -pt1.2.4: {'code': '5000', 'message': '仃韐伐歇', 'result': '仃韐伐歇', 'success': False} | ||
665 | - | 659 | +st1.2.4: skip |
666 | 660 | ||
667 | </pre> | 661 | </pre> |
668 | </div> | 662 | </div> |
@@ -672,36 +666,33 @@ pt1.2.4: {'code': '5000', 'message': '仃韐伐歇', 're | @@ -672,36 +666,33 @@ pt1.2.4: {'code': '5000', 'message': '仃韐伐歇', 're | ||
672 | <td></td> | 666 | <td></td> |
673 | </tr> | 667 | </tr> |
674 | 668 | ||
675 | -<tr class='failClass'> | 669 | +<tr class='passClass'> |
676 | <td>fieldConfig.test_fieldConfig.test_fieldConfig: Unittest靘恕霂</td> | 670 | <td>fieldConfig.test_fieldConfig.test_fieldConfig: Unittest靘恕霂</td> |
677 | - <td>3</td> | ||
678 | - <td>2</td> | ||
679 | - <td>1</td> | ||
680 | <td>0</td> | 671 | <td>0</td> |
681 | - <td><a href="javascript:showClassDetail('c1.3',3)">霂行</a></td> | 672 | + <td>0</td> |
673 | + <td>0</td> | ||
674 | + <td>0</td> | ||
675 | + <td><a href="javascript:showClassDetail('c1.3',0)">霂行</a></td> | ||
682 | <td> </td> | 676 | <td> </td> |
683 | </tr> | 677 | </tr> |
684 | 678 | ||
685 | -<tr id='pt1.3.1' class='hiddenRow'> | 679 | +<tr id='st1.3.1' class='none'> |
686 | <td ><div class='testcase'>test_fieldConfig_01: demo</div></td> | 680 | <td ><div class='testcase'>test_fieldConfig_01: demo</div></td> |
687 | <td colspan='5' align='center'> | 681 | <td colspan='5' align='center'> |
688 | 682 | ||
689 | <!--css div popup start--> | 683 | <!--css div popup start--> |
690 | <span class='status passCase'> | 684 | <span class='status passCase'> |
691 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.3.1')" > | ||
692 | - </a></span> | 685 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.3.1')" > |
686 | + 頝唾</a></span> | ||
693 | 687 | ||
694 | - <div id='div_pt1.3.1' class="popup_window"> | 688 | + <div id='div_st1.3.1' class="popup_window"> |
695 | <div style='text-align: right; color:red;cursor:pointer'> | 689 | <div style='text-align: right; color:red;cursor:pointer'> |
696 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.3.1').style.display = 'none' " > | 690 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.3.1').style.display = 'none' " > |
697 | [x]</a> | 691 | [x]</a> |
698 | </div> | 692 | </div> |
699 | <pre> | 693 | <pre> |
700 | 694 | ||
701 | -pt1.3.1: setUp | ||
702 | -test_01_fieldConfig | ||
703 | -tearDown | ||
704 | - | 695 | +st1.3.1: skip |
705 | 696 | ||
706 | </pre> | 697 | </pre> |
707 | </div> | 698 | </div> |
@@ -711,26 +702,23 @@ tearDown | @@ -711,26 +702,23 @@ tearDown | ||
711 | <td></td> | 702 | <td></td> |
712 | </tr> | 703 | </tr> |
713 | 704 | ||
714 | -<tr id='pt1.3.2' class='hiddenRow'> | 705 | +<tr id='st1.3.2' class='none'> |
715 | <td ><div class='testcase'>test_fieldConfig_02: demo</div></td> | 706 | <td ><div class='testcase'>test_fieldConfig_02: demo</div></td> |
716 | <td colspan='5' align='center'> | 707 | <td colspan='5' align='center'> |
717 | 708 | ||
718 | <!--css div popup start--> | 709 | <!--css div popup start--> |
719 | <span class='status passCase'> | 710 | <span class='status passCase'> |
720 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.3.2')" > | ||
721 | - </a></span> | 711 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.3.2')" > |
712 | + 頝唾</a></span> | ||
722 | 713 | ||
723 | - <div id='div_pt1.3.2' class="popup_window"> | 714 | + <div id='div_st1.3.2' class="popup_window"> |
724 | <div style='text-align: right; color:red;cursor:pointer'> | 715 | <div style='text-align: right; color:red;cursor:pointer'> |
725 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.3.2').style.display = 'none' " > | 716 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.3.2').style.display = 'none' " > |
726 | [x]</a> | 717 | [x]</a> |
727 | </div> | 718 | </div> |
728 | <pre> | 719 | <pre> |
729 | 720 | ||
730 | -pt1.3.2: setUp | ||
731 | -test_02_fieldConfig | ||
732 | -tearDown | ||
733 | - | 721 | +st1.3.2: skip |
734 | 722 | ||
735 | </pre> | 723 | </pre> |
736 | </div> | 724 | </div> |
@@ -740,30 +728,23 @@ tearDown | @@ -740,30 +728,23 @@ tearDown | ||
740 | <td></td> | 728 | <td></td> |
741 | </tr> | 729 | </tr> |
742 | 730 | ||
743 | -<tr id='ft1.3.3' class='none'> | 731 | +<tr id='st1.3.3' class='none'> |
744 | <td ><div class='testcase'>test_fieldConfig_03: demo</div></td> | 732 | <td ><div class='testcase'>test_fieldConfig_03: demo</div></td> |
745 | <td colspan='5' align='center'> | 733 | <td colspan='5' align='center'> |
746 | 734 | ||
747 | <!--css div popup start--> | 735 | <!--css div popup start--> |
748 | - <span class='status failCase'> | ||
749 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft1.3.3')" > | ||
750 | - 憭梯揖</a></span> | 736 | + <span class='status passCase'> |
737 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.3.3')" > | ||
738 | + 頝唾</a></span> | ||
751 | 739 | ||
752 | - <div id='div_ft1.3.3' class="popup_window"> | 740 | + <div id='div_st1.3.3' class="popup_window"> |
753 | <div style='text-align: right; color:red;cursor:pointer'> | 741 | <div style='text-align: right; color:red;cursor:pointer'> |
754 | - <a onfocus='this.blur();' onclick="document.getElementById('div_ft1.3.3').style.display = 'none' " > | 742 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.3.3').style.display = 'none' " > |
755 | [x]</a> | 743 | [x]</a> |
756 | </div> | 744 | </div> |
757 | <pre> | 745 | <pre> |
758 | 746 | ||
759 | -ft1.3.3: setUp | ||
760 | -test_03_fieldConfig | ||
761 | -tearDown | ||
762 | -Traceback (most recent call last): | ||
763 | - File "E:\EclipseWorkspace\WorksapceDemo\Request-demo-dili\src\testcase\fieldConfig\test_fieldConfig.py", line 28, in test_fieldConfig_03 | ||
764 | - self.assertEqual(100, 200, "瘚蝙") | ||
765 | -AssertionError: 100 != 200 : 瘚蝙 | ||
766 | - | 747 | +st1.3.3: skip |
767 | 748 | ||
768 | </pre> | 749 | </pre> |
769 | </div> | 750 | </div> |
@@ -801,32 +782,31 @@ st1.3.4: 銵撘箏頝唾砲靘 | @@ -801,32 +782,31 @@ st1.3.4: 銵撘箏頝唾砲靘 | ||
801 | 782 | ||
802 | <tr class='passClass'> | 783 | <tr class='passClass'> |
803 | <td>login.test_login.test_login: 敶</td> | 784 | <td>login.test_login.test_login: 敶</td> |
804 | - <td>3</td> | ||
805 | - <td>3</td> | ||
806 | <td>0</td> | 785 | <td>0</td> |
807 | <td>0</td> | 786 | <td>0</td> |
808 | - <td><a href="javascript:showClassDetail('c1.4',3)">霂行</a></td> | 787 | + <td>0</td> |
788 | + <td>0</td> | ||
789 | + <td><a href="javascript:showClassDetail('c1.4',0)">霂行</a></td> | ||
809 | <td> </td> | 790 | <td> </td> |
810 | </tr> | 791 | </tr> |
811 | 792 | ||
812 | -<tr id='pt1.4.1' class='hiddenRow'> | 793 | +<tr id='st1.4.1' class='none'> |
813 | <td ><div class='testcase'>test_login_01: 韐行撖甇&</div></td> | 794 | <td ><div class='testcase'>test_login_01: 韐行撖甇&</div></td> |
814 | <td colspan='5' align='center'> | 795 | <td colspan='5' align='center'> |
815 | 796 | ||
816 | <!--css div popup start--> | 797 | <!--css div popup start--> |
817 | <span class='status passCase'> | 798 | <span class='status passCase'> |
818 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.4.1')" > | ||
819 | - </a></span> | 799 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.4.1')" > |
800 | + 頝唾</a></span> | ||
820 | 801 | ||
821 | - <div id='div_pt1.4.1' class="popup_window"> | 802 | + <div id='div_st1.4.1' class="popup_window"> |
822 | <div style='text-align: right; color:red;cursor:pointer'> | 803 | <div style='text-align: right; color:red;cursor:pointer'> |
823 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.4.1').style.display = 'none' " > | 804 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.4.1').style.display = 'none' " > |
824 | [x]</a> | 805 | [x]</a> |
825 | </div> | 806 | </div> |
826 | <pre> | 807 | <pre> |
827 | 808 | ||
828 | -pt1.4.1: {'Access-Control-Expose-Headers': 'UAP_accessToken', 'Cache-Control': 'no-store', 'Set-Cookie': 'UAP_accessToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJXRUIiLCJuYmYiOjE2MjQ1ODgxNTAsImRhdGEiOiJ7XCJjZWxscGhvbmVcIjpcIjE2MTExMTExMTExXCIsXCJjcmVhdGVkXCI6MTYwNDkwNzk2NzAwMCxcImRlcGFydG1lbnRJZFwiOjkwLFwiZGVzY3JpcHRpb25cIjpcIjY2NlwiLFwiZW1haWxcIjpcIjY2NkBkaWxpZ3JwLmNvbVwiLFwiZmlybUNvZGVcIjpcInNnXCIsXCJmaXJtSWRcIjo4LFwiZmlybU5hbWVcIjpcIuWvv-WFieWcsOWIqeWGnOWJr-S6p-WTgeaciemZkOWFrOWPuFwiLFwiZ2VuZGVyXCI6MCxcImlkXCI6MjEwLFwibGFzdExvZ2luVGltZVwiOjE2MjQ1ODgxNDk5OTMsXCJsb2NrZWRcIjoxNjIzODMyMzQwMDAwLFwibWV0YWRhdGFcIjp7fSxcIm1vZGlmaWVkXCI6MTYyMzgzMjQ3NTAwMCxcInBhc3N3b3JkXCI6XCIxODk2NUVCNzJDOTJBNTQ5RERcIixcInJlYWxOYW1lXCI6XCLlr7_lhYnmuq_mupDlk59cIixcInNlcmlhbE51bWJlclwiOlwiMDAwXCIsXCJzdGF0ZVwiOjEsXCJzeXN0ZW1UeXBlXCI6MSxcInVzZXJOYW1lXCI6XCJzZ193ZW56ZVwifSIsImlzcyI6IlVBUF9BVVRIMCIsImV4cCI6MTYyNDU4OTk1MCwiaWF0IjoxNjI0NTg4MTUwLCJqdGkiOiI3YWQ5ZTRiNS02NWIxLTRmYzktYTVlZi0zZjdiMTg0MjI4MjIifQ.BgFtxBp8zcneyA9KH_HRNHprXoYjfk9il72eKfdlP0Ij8Q2otekNn3TpMYViebz63L4obt9113tDKcVNiTnNIrlszLkfYJaCBg_UPaQS8JSn8ynReZ4RRfEscxqAzQ6kN8ZUanj1GwEaIwGPcSpxuEFmuFelnr2IbA_s9T8bu5A; Max-Age=86400; Expires=Sat, 26-Jun-2021 02:29:10 GMT; Domain=diligrp.com; Path=/; HttpOnly, UAP_refreshToken=fabcecc0-625e-4046-adb4-7351977d881b; Max-Age=86400; Expires=Sat, 26-Jun-2021 02:29:10 GMT; Domain=diligrp.com; Path=/; HttpOnly, UAP_loginPath=http%3A%2F%2Ftest.uap.diligrp.com%2Flogin%2Findex.html; Max-Age=86400; Expires=Sat, 26-Jun-2021 02:29:10 GMT; Domain=diligrp.com; Path=/; HttpOnly', 'Location': '/index/index.html', 'Content-Language': 'zh-CN', 'Content-Length': '0', 'Date': 'Fri, 25 Jun 2021 02:29:10 GMT', 'Keep-Alive': 'timeout=60', 'Connection': 'keep-alive'} | ||
829 | - | 809 | +st1.4.1: skip |
830 | 810 | ||
831 | </pre> | 811 | </pre> |
832 | </div> | 812 | </div> |
@@ -836,168 +816,49 @@ pt1.4.1: {'Access-Control-Expose-Headers': 'UAP_accessToken', 'Cache-Control': ' | @@ -836,168 +816,49 @@ pt1.4.1: {'Access-Control-Expose-Headers': 'UAP_accessToken', 'Cache-Control': ' | ||
836 | <td></td> | 816 | <td></td> |
837 | </tr> | 817 | </tr> |
838 | 818 | ||
839 | -<tr id='pt1.4.2' class='hiddenRow'> | 819 | +<tr id='st1.4.2' class='none'> |
840 | <td ><div class='testcase'>test_login_02: 撖秤</div></td> | 820 | <td ><div class='testcase'>test_login_02: 撖秤</div></td> |
841 | <td colspan='5' align='center'> | 821 | <td colspan='5' align='center'> |
842 | 822 | ||
843 | <!--css div popup start--> | 823 | <!--css div popup start--> |
844 | <span class='status passCase'> | 824 | <span class='status passCase'> |
845 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.4.2')" > | ||
846 | - </a></span> | 825 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.4.2')" > |
826 | + 頝唾</a></span> | ||
847 | 827 | ||
848 | - <div id='div_pt1.4.2' class="popup_window"> | 828 | + <div id='div_st1.4.2' class="popup_window"> |
849 | <div style='text-align: right; color:red;cursor:pointer'> | 829 | <div style='text-align: right; color:red;cursor:pointer'> |
850 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.4.2').style.display = 'none' " > | 830 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.4.2').style.display = 'none' " > |
851 | [x]</a> | 831 | [x]</a> |
852 | </div> | 832 | </div> |
853 | <pre> | 833 | <pre> |
854 | 834 | ||
855 | -pt1.4.2: <!DOCTYPE html> | ||
856 | -<html lang="zh-CN"> | ||
857 | - | ||
858 | -<head> | ||
859 | - <meta charset="UTF-8" /> | ||
860 | - <title>蝏蝞∠像</title> | ||
861 | - <meta name="renderer" content="webkit"> | ||
862 | - <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
863 | - <meta name="keywords" content="uap" /> | ||
864 | - <meta name="description" content="蝏蝞∠像" /> | ||
865 | - <meta name="author" content="dili"> | ||
866 | - <style> | ||
867 | - /*瘨google瘚暺獢*/ | ||
868 | - input:-webkit-autofill, | ||
869 | - input:-webkit-autofill:hover, | ||
870 | - input:-webkit-autofill:focus { | ||
871 | - box-shadow:0 0 0 60px #FFF inset; | ||
872 | - -webkit-text-fill-color: #666; | ||
873 | - } | ||
874 | - </style> | ||
875 | - <!-- jquery --> | ||
876 | - <link rel="shortcut icon" href="/resources/images/icon/dili-logo.png" /> | ||
877 | - <script type="text/javascript" src="/resources/easyui/js/jquery-3.2.1.min.js"></script> | ||
878 | - <link rel="stylesheet" type="text/css" href="/resources/css/login.css"> | ||
879 | -</head> | ||
880 | - | ||
881 | -<body> | ||
882 | -<div class="loginwrap"> | ||
883 | - <div class="login"> | ||
884 | - <h2 class="login-title"><img src="/resources/images/login-title.png" alt="蝏蝞∠像"></h2> | ||
885 | - | ||
886 | - <form id="loginForm" class="login-form" method="post" action="/login/login.action"> | ||
887 | - <table class="userinfo"> | ||
888 | - <tbody> | ||
889 | - <tr> | ||
890 | - <td width="40" class="login-icon login-user-icon"></td> | ||
891 | - <td> | ||
892 | - <input id="userName" name="userName" value="" type="text" placeholder="霂瑁韐血" /> | ||
893 | - </td> | ||
894 | - </tr> | ||
895 | - <tr> | ||
896 | - <td width="40" class="login-icon login-password-icon"></td> | ||
897 | - <td> | ||
898 | - <input id="password" name="password" value="" type="password" placeholder="霂瑁撖" /> | ||
899 | - </td> | ||
900 | - </tr> | ||
901 | - <!--<tr> | ||
902 | - <td colspan="2"><label id="msg"></label></td> | ||
903 | - </tr> | ||
904 | - <tr> | ||
905 | - <td colspan="2"> | ||
906 | - <input type="button" class="submit" value="敶" onclick="doLogin()"> | ||
907 | - </td> | ||
908 | - </tr>--> | ||
909 | - </tbody> | ||
910 | - </table> | ||
911 | - <div id="msg" class="login-msg"></div> | ||
912 | - <div class=""> | ||
913 | - <input type="button" class="submit" value="敶" onclick="doLogin()"> | ||
914 | - </div> | ||
915 | - <div style="margin-top:25px; text-align: center"> | ||
916 | - <a target="_blank" href="/static/clientDownload.html">摰X蝡臭蝸</a> | ||
917 | - </div> | ||
918 | - </form> | ||
919 | - <div id="errMsg"></div> | ||
920 | - </div> | ||
921 | -</div> | ||
922 | - | ||
923 | -<script type="text/javascript"> | ||
924 | - function doLogin() { | ||
925 | - var username = document.getElementById("userName").value; | ||
926 | - if (null == username || "" == username) { | ||
927 | - $("#msg").html("韐血銝銝箇征"); | ||
928 | - return false; | ||
929 | - } | 835 | +st1.4.2: skip |
930 | 836 | ||
931 | - var password = document.getElementById("password").value; | ||
932 | - if (null == password || "" == password) { | ||
933 | - $("#msg").html("撖銝箇征"); | ||
934 | - return false; | ||
935 | - } | ||
936 | - if(username.length < 2 || username.length > 20){ | ||
937 | - $("#msg").html("摨虫撠2雿之鈭20雿"); | ||
938 | - return false; | ||
939 | - } | ||
940 | - if(password.length < 6 || password.length > 20){ | ||
941 | - $("#msg").html("撖摨虫撠6雿之鈭20雿"); | ||
942 | - return false; | ||
943 | - } | ||
944 | - if(!validUserName(username)){ | ||
945 | - $("#msg").html("銝剜摮瑪"); | ||
946 | - return false; | ||
947 | - } | ||
948 | - | ||
949 | - document.getElementById("loginForm").submit(); | ||
950 | - } | ||
951 | - | ||
952 | - /******************************************************************************* | ||
953 | - * 蝏”掩膠鈭辣 | ||
954 | - * | ||
955 | - * @param formId | ||
956 | - * 銵典 | ||
957 | - * @param element | ||
958 | - * 掩 (input/select/radio/...) | ||
959 | - * @param subFunction | ||
960 | - * 膠銵s | ||
961 | - * @param eventName | ||
962 | - * 辣 (keyup/keydown/keypress...) | ||
963 | - */ | ||
964 | - function bindEnter(formId, element, subFunction, eventName) { | ||
965 | - $("#" + formId + " " + element).bind(eventName, function(event) { | ||
966 | - //膠 | ||
967 | - if (event.keyCode == '13') { | ||
968 | - subFunction(); | ||
969 | - } | ||
970 | - }); | ||
971 | - } | ||
972 | - | ||
973 | - | ||
974 | - /******************************************************************************* | ||
975 | - * 銵典膠鈭辣蝏 銵典 | ||
976 | - * @param formId | ||
977 | - * @param subFunction 膠閬銵 | ||
978 | - */ | ||
979 | - function bindFormEvent(formId, subFunction) { | ||
980 | - if (subFunction && subFunction != null) { | ||
981 | - bindEnter(formId, 'input', subFunction, 'keyup'); | ||
982 | - } | ||
983 | - } | 837 | + </pre> |
838 | + </div> | ||
839 | + <!--css div popup end--> | ||
984 | 840 | ||
985 | - function validUserName(value) { | ||
986 | - return /^[a-zA-Z0-9\u4e00-\u9fa5_]+$/.test(value); | ||
987 | - } | 841 | + </td> |
842 | + <td></td> | ||
843 | +</tr> | ||
988 | 844 | ||
989 | - $(function() { | ||
990 | - $("#msg").html("秤"); | ||
991 | - window.setTimeout(function() { | ||
992 | - $("#userName").focus(); | ||
993 | - }, 0); | ||
994 | - bindFormEvent("loginForm", doLogin); | ||
995 | - }); | ||
996 | -</script> | ||
997 | -</body> | 845 | +<tr id='st1.4.3' class='none'> |
846 | + <td ><div class='testcase'>test_login_03: 韐行秤</div></td> | ||
847 | + <td colspan='5' align='center'> | ||
998 | 848 | ||
999 | -</html> | 849 | + <!--css div popup start--> |
850 | + <span class='status passCase'> | ||
851 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.4.3')" > | ||
852 | + 頝唾</a></span> | ||
1000 | 853 | ||
854 | + <div id='div_st1.4.3' class="popup_window"> | ||
855 | + <div style='text-align: right; color:red;cursor:pointer'> | ||
856 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.4.3').style.display = 'none' " > | ||
857 | + [x]</a> | ||
858 | + </div> | ||
859 | + <pre> | ||
860 | + | ||
861 | +st1.4.3: skip | ||
1001 | 862 | ||
1002 | </pre> | 863 | </pre> |
1003 | </div> | 864 | </div> |
@@ -1007,40 +868,33 @@ pt1.4.2: &lt;!DOCTYPE html&gt; | @@ -1007,40 +868,33 @@ pt1.4.2: &lt;!DOCTYPE html&gt; | ||
1007 | <td></td> | 868 | <td></td> |
1008 | </tr> | 869 | </tr> |
1009 | 870 | ||
1010 | -<tr id='pt1.4.3' class='hiddenRow'> | ||
1011 | - <td><div class='testcase'>test_login_03: 韐行秤</div></td> | ||
1012 | - <td colspan='5' align='center'><span class='status passCase'></span></td> | ||
1013 | - <td></td> | ||
1014 | -</tr> | ||
1015 | - | ||
1016 | <tr class='passClass'> | 871 | <tr class='passClass'> |
1017 | <td>logout.test_logout.test_logout: 憓霈唳</td> | 872 | <td>logout.test_logout.test_logout: 憓霈唳</td> |
1018 | - <td>1</td> | ||
1019 | - <td>1</td> | ||
1020 | <td>0</td> | 873 | <td>0</td> |
1021 | <td>0</td> | 874 | <td>0</td> |
1022 | - <td><a href="javascript:showClassDetail('c1.5',1)">霂行</a></td> | 875 | + <td>0</td> |
876 | + <td>0</td> | ||
877 | + <td><a href="javascript:showClassDetail('c1.5',0)">霂行</a></td> | ||
1023 | <td> </td> | 878 | <td> </td> |
1024 | </tr> | 879 | </tr> |
1025 | 880 | ||
1026 | -<tr id='pt1.5.1' class='hiddenRow'> | 881 | +<tr id='st1.5.1' class='none'> |
1027 | <td ><div class='testcase'>test_logout_01: 韐行</div></td> | 882 | <td ><div class='testcase'>test_logout_01: 韐行</div></td> |
1028 | <td colspan='5' align='center'> | 883 | <td colspan='5' align='center'> |
1029 | 884 | ||
1030 | <!--css div popup start--> | 885 | <!--css div popup start--> |
1031 | <span class='status passCase'> | 886 | <span class='status passCase'> |
1032 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.5.1')" > | ||
1033 | - </a></span> | 887 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.5.1')" > |
888 | + 頝唾</a></span> | ||
1034 | 889 | ||
1035 | - <div id='div_pt1.5.1' class="popup_window"> | 890 | + <div id='div_st1.5.1' class="popup_window"> |
1036 | <div style='text-align: right; color:red;cursor:pointer'> | 891 | <div style='text-align: right; color:red;cursor:pointer'> |
1037 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.5.1').style.display = 'none' " > | 892 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.5.1').style.display = 'none' " > |
1038 | [x]</a> | 893 | [x]</a> |
1039 | </div> | 894 | </div> |
1040 | <pre> | 895 | <pre> |
1041 | 896 | ||
1042 | -pt1.5.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | ||
1043 | - | 897 | +st1.5.1: skip |
1044 | 898 | ||
1045 | </pre> | 899 | </pre> |
1046 | </div> | 900 | </div> |
@@ -1052,11 +906,11 @@ pt1.5.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | @@ -1052,11 +906,11 @@ pt1.5.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | ||
1052 | 906 | ||
1053 | <tr class='passClass'> | 907 | <tr class='passClass'> |
1054 | <td>upStream.test_upStream.test_upStream: 銝虜隡”霂X</td> | 908 | <td>upStream.test_upStream.test_upStream: 銝虜隡”霂X</td> |
1055 | - <td>2</td> | ||
1056 | - <td>2</td> | 909 | + <td>1</td> |
910 | + <td>1</td> | ||
1057 | <td>0</td> | 911 | <td>0</td> |
1058 | <td>0</td> | 912 | <td>0</td> |
1059 | - <td><a href="javascript:showClassDetail('c1.6',2)">霂行</a></td> | 913 | + <td><a href="javascript:showClassDetail('c1.6',1)">霂行</a></td> |
1060 | <td> </td> | 914 | <td> </td> |
1061 | </tr> | 915 | </tr> |
1062 | 916 | ||
@@ -1076,7 +930,7 @@ pt1.5.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | @@ -1076,7 +930,7 @@ pt1.5.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | ||
1076 | </div> | 930 | </div> |
1077 | <pre> | 931 | <pre> |
1078 | 932 | ||
1079 | -pt1.6.1: {'total': 219, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-24 15:08:51', 'idCard': '513000119930208155', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475463', 'cardNoFrontUrl': '', 'name': '', 'modified': '2021-06-24 15:08:51', 'userNames': '憭扳╪摰', 'id': 359, 'sourceUserId': 131321, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-23 16:34:50', 'businessLicenseUrl': 'c5806086695045808e6cbdacfc9dceff', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '123456', 'legalPerson': '22', 'telphone': '15623333333', 'name': '22', 'modified': '2021-06-23 16:34:50', 'userNames': '', 'id': 358, 'sourceUserId': 130495, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-17 17:32:11', 'idCard': '513001199802081052', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475463', 'cardNoFrontUrl': '', 'name': '15643', 'modified': '2021-06-17 17:32:11', 'userNames': '蝣', 'id': 357, 'sourceUserId': 131272, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-11 14:56:28', 'idCard': '513001199802081528', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475125', 'cardNoFrontUrl': '', 'name': '', 'modified': '2021-06-11 14:56:28', 'userNames': '蝣', 'id': 356, 'sourceUserId': 131272, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:07:43', 'idCard': '110101198001011339', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '13111111111', 'cardNoFrontUrl': '', 'name': '001', 'modified': '2021-06-01 15:07:43', 'userNames': '銝瘚', 'id': 353, 'sourceUserId': 131214, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:07:10', 'businessLicenseUrl': '', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '333', 'legalPerson': '111', 'telphone': '222', 'name': '001', 'modified': '2021-06-01 15:07:10', 'userNames': '銝瘚', 'id': 352, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:06:40', 'businessLicenseUrl': '', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '', 'legalPerson': '', 'telphone': '', 'name': '銝虜', 'modified': '2021-06-01 15:06:40', 'userNames': '銝瘚', 'id': 351, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-01 15:06:09', 'businessLicenseUrl': '04b99e521f0947039e5a6497184ac941', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '111', 'legalPerson': '111', 'telphone': '13111111111', 'name': '隡002', 'modified': '2021-06-01 15:06:09', 'userNames': '銝瘚', 'id': 350, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-01 15:04:45', 'idCard': '', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '13111111111', 'cardNoFrontUrl': '', 'name': '銝芯犖銝虜2', 'modified': '2021-06-01 15:04:45', 'userNames': '銝瘚', 'id': 349, 'sourceUserId': 131214, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-01 15:03:42', 'idCard': '513001199802085214', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475432', 'cardNoFrontUrl': '0c00b78286e8475d90c31021e074cdd5', 'name': '撖', 'modified': '2021-06-01 15:03:42', 'userNames': '銝瘚', 'id': 348, 'sourceUserId': 131214, 'upstreamType': '銝芯犖'}]} | 933 | +pt1.6.1: {'total': 220, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-28 14:55:44', 'businessLicenseUrl': '7e449880e6014e8698bf52fd58122023', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '1123456', 'legalPerson': '', 'telphone': '18722222222', 'name': '憭', 'modified': '2021-06-28 14:55:44', 'userNames': '憸之', 'id': 360, 'sourceUserId': 616, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-24 15:08:51', 'idCard': '513000119930208155', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475463', 'cardNoFrontUrl': '', 'name': '', 'modified': '2021-06-24 15:08:51', 'userNames': '憭扳╪摰', 'id': 359, 'sourceUserId': 131321, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-23 16:34:50', 'businessLicenseUrl': 'c5806086695045808e6cbdacfc9dceff', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '123456', 'legalPerson': '22', 'telphone': '15623333333', 'name': '22', 'modified': '2021-06-23 16:34:50', 'userNames': '', 'id': 358, 'sourceUserId': 130495, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-17 17:32:11', 'idCard': '513001199802081052', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475463', 'cardNoFrontUrl': '', 'name': '15643', 'modified': '2021-06-17 17:32:11', 'userNames': '蝣', 'id': 357, 'sourceUserId': 131272, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-11 14:56:28', 'idCard': '513001199802081528', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475125', 'cardNoFrontUrl': '', 'name': '', 'modified': '2021-06-11 14:56:28', 'userNames': '蝣', 'id': 356, 'sourceUserId': 131272, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:07:43', 'idCard': '110101198001011339', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '13111111111', 'cardNoFrontUrl': '', 'name': '001', 'modified': '2021-06-01 15:07:43', 'userNames': '銝瘚', 'id': 353, 'sourceUserId': 131214, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:07:10', 'businessLicenseUrl': '', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '333', 'legalPerson': '111', 'telphone': '222', 'name': '001', 'modified': '2021-06-01 15:07:10', 'userNames': '銝瘚', 'id': 352, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:06:40', 'businessLicenseUrl': '', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '', 'legalPerson': '', 'telphone': '', 'name': '銝虜', 'modified': '2021-06-01 15:06:40', 'userNames': '銝瘚', 'id': 351, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-01 15:06:09', 'businessLicenseUrl': '04b99e521f0947039e5a6497184ac941', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '111', 'legalPerson': '111', 'telphone': '13111111111', 'name': '隡002', 'modified': '2021-06-01 15:06:09', 'userNames': '銝瘚', 'id': 350, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-01 15:04:45', 'idCard': '', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '13111111111', 'cardNoFrontUrl': '', 'name': '銝芯犖銝虜2', 'modified': '2021-06-01 15:04:45', 'userNames': '銝瘚', 'id': 349, 'sourceUserId': 131214, 'upstreamType': '銝芯犖'}]} |
1080 | 934 | ||
1081 | 935 | ||
1082 | </pre> | 936 | </pre> |
@@ -1087,24 +941,23 @@ pt1.6.1: {'total': 219, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'creat | @@ -1087,24 +941,23 @@ pt1.6.1: {'total': 219, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'creat | ||
1087 | <td></td> | 941 | <td></td> |
1088 | </tr> | 942 | </tr> |
1089 | 943 | ||
1090 | -<tr id='pt1.6.2' class='hiddenRow'> | 944 | +<tr id='st1.6.2' class='none'> |
1091 | <td ><div class='testcase'>test_upStream_02: 霂V虜隡,隡/銝芯犖妍餈誘隞</div></td> | 945 | <td ><div class='testcase'>test_upStream_02: 霂V虜隡,隡/銝芯犖妍餈誘隞</div></td> |
1092 | <td colspan='5' align='center'> | 946 | <td colspan='5' align='center'> |
1093 | 947 | ||
1094 | <!--css div popup start--> | 948 | <!--css div popup start--> |
1095 | <span class='status passCase'> | 949 | <span class='status passCase'> |
1096 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.6.2')" > | ||
1097 | - </a></span> | 950 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.6.2')" > |
951 | + 頝唾</a></span> | ||
1098 | 952 | ||
1099 | - <div id='div_pt1.6.2' class="popup_window"> | 953 | + <div id='div_st1.6.2' class="popup_window"> |
1100 | <div style='text-align: right; color:red;cursor:pointer'> | 954 | <div style='text-align: right; color:red;cursor:pointer'> |
1101 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.6.2').style.display = 'none' " > | 955 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.6.2').style.display = 'none' " > |
1102 | [x]</a> | 956 | [x]</a> |
1103 | </div> | 957 | </div> |
1104 | <pre> | 958 | <pre> |
1105 | 959 | ||
1106 | -pt1.6.2: {'total': 5, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-05-10 09:42:51', 'idCard': '', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '13540782311', 'cardNoFrontUrl': '', 'name': '111', 'modified': '2021-05-10 09:42:51', 'userNames': '憸之', 'id': 333, 'sourceUserId': 616, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-04-07 17:32:14', 'businessLicenseUrl': 'f8eae081aa35426d975406a03a4fd062', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '111', 'legalPerson': '', 'telphone': '13111111111', 'name': '隡虜111', 'modified': '2021-04-07 17:32:14', 'userNames': '霂亙', 'id': 274, 'sourceUserId': 617, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-01-21 11:49:27', 'businessLicenseUrl': '8478adbc99224b5f812b54b931e93e30', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '18989898989', 'legalPerson': '銝虜111', 'telphone': '18989898989', 'name': '銝虜111繚', 'modified': '2021-01-21 17:30:59', 'userNames': '瘚', 'id': 173, 'sourceUserId': 519, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-01-14 14:53:44', 'businessLicenseUrl': '1993ceeb24504f43b16f06028ddd7ec7', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': 'dd51ffc5f20944bc9c57d64b148f4b2f', 'license': '19925360686', 'legalPerson': '瘜犖000001111111', 'telphone': '19925360686', 'name': '銝虜隡0011111110000111', 'modified': '2021-01-14 14:53:44', 'userNames': 'null', 'id': 148, 'sourceUserId': 500, 'manufacturingLicenseUrl': '277ea39c03f94160a2cbe6d7dc3ec4f4', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-01-07 14:12:31', 'idCard': '513001199302081011', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380454588', 'cardNoFrontUrl': '', 'name': '111', 'modified': '2021-01-07 14:12:31', 'userNames': 'null', 'id': 102, 'sourceUserId': 438, 'upstreamType': '銝芯犖'}]} | ||
1107 | - | 960 | +st1.6.2: skip |
1108 | 961 | ||
1109 | </pre> | 962 | </pre> |
1110 | </div> | 963 | </div> |
@@ -1116,9 +969,9 @@ pt1.6.2: {'total': 5, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created | @@ -1116,9 +969,9 @@ pt1.6.2: {'total': 5, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created | ||
1116 | 969 | ||
1117 | <tr id='total_row'> | 970 | <tr id='total_row'> |
1118 | <th>蝏恣</th> | 971 | <th>蝏恣</th> |
1119 | - <th>16</th> | ||
1120 | - <th>15</th> | ||
1121 | - <th>1</th> | 972 | + <th>2</th> |
973 | + <th>2</th> | ||
974 | + <th>0</th> | ||
1122 | <th>0</th> | 975 | <th>0</th> |
1123 | <th> </th> | 976 | <th> </th> |
1124 | <th> </th> | 977 | <th> </th> |
@@ -1126,7 +979,7 @@ pt1.6.2: {'total': 5, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created | @@ -1126,7 +979,7 @@ pt1.6.2: {'total': 5, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created | ||
1126 | </table> | 979 | </table> |
1127 | <script> | 980 | <script> |
1128 | showCase(0,1); | 981 | showCase(0,1); |
1129 | - drawCircle('circle1',15, 1, 0); | 982 | + drawCircle('circle1',2, 0, 0); |
1130 | </script> | 983 | </script> |
1131 | 984 | ||
1132 | <div id='ending'> </div> | 985 | <div id='ending'> </div> |
src/report/2021-06-25 10_27_18_result.html renamed to src/report/2021-06-28 16_41_14_result.html
@@ -420,9 +420,9 @@ function hide_img(obj){ | @@ -420,9 +420,9 @@ function hide_img(obj){ | ||
420 | </script> | 420 | </script> |
421 | <div class='heading'> | 421 | <div class='heading'> |
422 | <h1>揣瘚</h1> | 422 | <h1>揣瘚</h1> |
423 | -<p class='attribute'><strong>撘憪:</strong> 2021-06-25 10:27:18</p> | ||
424 | -<p class='attribute'><strong>:</strong> 0:00:09.443923</p> | ||
425 | -<p class='attribute'><strong>:</strong> <span class="tj passCase">Pass</span>:14 <span class="tj failCase">Failure</span>:1 <span class="tj errorCase">Error</span>:1 <span class="tj skipCase">Skip</span>:1 <span class="tj"></span>:87.5%</p> | 423 | +<p class='attribute'><strong>撘憪:</strong> 2021-06-28 16:41:14</p> |
424 | +<p class='attribute'><strong>:</strong> 0:00:06.659298</p> | ||
425 | +<p class='attribute'><strong>:</strong> <span class="tj passCase">Pass</span>:2 <span class="tj errorCase">Error</span>:1 <span class="tj skipCase">Skip</span>:14 <span class="tj"></span>:66.7%</p> | ||
426 | 426 | ||
427 | <p class='description'>靘銵嚗</p> | 427 | <p class='description'>靘銵嚗</p> |
428 | </div> | 428 | </div> |
@@ -435,12 +435,12 @@ function hide_img(obj){ | @@ -435,12 +435,12 @@ function hide_img(obj){ | ||
435 | </div> | 435 | </div> |
436 | 436 | ||
437 | <div id='show_detail_line' style=" float: left; width: 100%;"> | 437 | <div id='show_detail_line' style=" float: left; width: 100%;"> |
438 | -<a class="abstract detail_button" href='javascript:showCase(0,1)'>璁87.50%]</a> | ||
439 | -<a class="passed detail_button" href='javascript:showCase(1,1)'>14]</a> | ||
440 | -<a class="failed detail_button" href='javascript:showCase(2,1)'>憭梯揖[1]</a> | 438 | +<a class="abstract detail_button" href='javascript:showCase(0,1)'>璁66.67%]</a> |
439 | +<a class="passed detail_button" href='javascript:showCase(1,1)'>2]</a> | ||
440 | +<a class="failed detail_button" href='javascript:showCase(2,1)'>憭梯揖[0]</a> | ||
441 | <a class="errored detail_button" href='javascript:showCase(3,1)'>秤[1]</a> | 441 | <a class="errored detail_button" href='javascript:showCase(3,1)'>秤[1]</a> |
442 | -<a class="skiped detail_button" href='javascript:showCase(4,1)'>頝唾1]</a> | ||
443 | -<a class="all detail_button" href='javascript:showCase(5,1)'>16]</a> | 442 | +<a class="skiped detail_button" href='javascript:showCase(4,1)'>頝唾14]</a> |
443 | +<a class="all detail_button" href='javascript:showCase(5,1)'>3]</a> | ||
444 | </div> | 444 | </div> |
445 | 445 | ||
446 | <table id='result_table'> | 446 | <table id='result_table'> |
@@ -465,11 +465,11 @@ function hide_img(obj){ | @@ -465,11 +465,11 @@ function hide_img(obj){ | ||
465 | 465 | ||
466 | <tr class='errorClass'> | 466 | <tr class='errorClass'> |
467 | <td>doAdd.test_doAdd.test_doAdd: 憓霈唳</td> | 467 | <td>doAdd.test_doAdd.test_doAdd: 憓霈唳</td> |
468 | - <td>3</td> | ||
469 | - <td>2</td> | 468 | + <td>1</td> |
469 | + <td>0</td> | ||
470 | <td>0</td> | 470 | <td>0</td> |
471 | <td>1</td> | 471 | <td>1</td> |
472 | - <td><a href="javascript:showClassDetail('c1.1',3)">霂行</a></td> | 472 | + <td><a href="javascript:showClassDetail('c1.1',1)">霂行</a></td> |
473 | <td> </td> | 473 | <td> </td> |
474 | </tr> | 474 | </tr> |
475 | 475 | ||
@@ -522,12 +522,12 @@ Traceback (most recent call last): | @@ -522,12 +522,12 @@ Traceback (most recent call last): | ||
522 | self._raise_timeout(err=e, url=url, timeout_value=read_timeout) | 522 | self._raise_timeout(err=e, url=url, timeout_value=read_timeout) |
523 | File "C:\Python367\lib\site-packages\urllib3\connectionpool.py", line 331, in _raise_timeout | 523 | File "C:\Python367\lib\site-packages\urllib3\connectionpool.py", line 331, in _raise_timeout |
524 | self, url, "Read timed out. (read timeout=%s)" % timeout_value | 524 | self, url, "Read timed out. (read timeout=%s)" % timeout_value |
525 | -urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='localhost', port=8888): Read timed out. (read timeout=1) | 525 | +urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='localhost', port=8888): Read timed out. (read timeout=5) |
526 | 526 | ||
527 | During handling of the above exception, another exception occurred: | 527 | During handling of the above exception, another exception occurred: |
528 | 528 | ||
529 | Traceback (most recent call last): | 529 | Traceback (most recent call last): |
530 | - File "E:\EclipseWorkspace\WorksapceDemo\Request-demo-dili\src\testcase\doAdd\test_doAdd.py", line 24, in test_doAdd_01 | 530 | + File "E:\EclipseWorkspace\WorksapceDemo\Request-demo-dili\src\testcase\doAdd\test_doAdd.py", line 25, in test_doAdd_01 |
531 | re=my.post(url=do.url,headers=do.header,json=do.body) | 531 | re=my.post(url=do.url,headers=do.header,json=do.body) |
532 | File "E:\EclipseWorkspace\WorksapceDemo\Request-demo-dili\src\commons\MySession.py", line 98, in post | 532 | File "E:\EclipseWorkspace\WorksapceDemo\Request-demo-dili\src\commons\MySession.py", line 98, in post |
533 | re=self.se.post(url, data=data, json=json,proxies=self.proxies, **kwargs,timeout=self.timeout) | 533 | re=self.se.post(url, data=data, json=json,proxies=self.proxies, **kwargs,timeout=self.timeout) |
@@ -539,7 +539,7 @@ Traceback (most recent call last): | @@ -539,7 +539,7 @@ Traceback (most recent call last): | ||
539 | r = adapter.send(request, **kwargs) | 539 | r = adapter.send(request, **kwargs) |
540 | File "C:\Python367\lib\site-packages\requests\adapters.py", line 529, in send | 540 | File "C:\Python367\lib\site-packages\requests\adapters.py", line 529, in send |
541 | raise ReadTimeout(e, request=request) | 541 | raise ReadTimeout(e, request=request) |
542 | -requests.exceptions.ReadTimeout: HTTPConnectionPool(host='localhost', port=8888): Read timed out. (read timeout=1) | 542 | +requests.exceptions.ReadTimeout: HTTPConnectionPool(host='localhost', port=8888): Read timed out. (read timeout=5) |
543 | 543 | ||
544 | 544 | ||
545 | </pre> | 545 | </pre> |
@@ -550,24 +550,23 @@ requests.exceptions.ReadTimeout: HTTPConnectionPool(host='localhost', port=8888) | @@ -550,24 +550,23 @@ requests.exceptions.ReadTimeout: HTTPConnectionPool(host='localhost', port=8888) | ||
550 | <td></td> | 550 | <td></td> |
551 | </tr> | 551 | </tr> |
552 | 552 | ||
553 | -<tr id='pt1.1.2' class='hiddenRow'> | 553 | +<tr id='st1.1.2' class='none'> |
554 | <td ><div class='testcase'>test_doAdd_02: 憓銝芸蛹斢憭蛹111</div></td> | 554 | <td ><div class='testcase'>test_doAdd_02: 憓銝芸蛹斢憭蛹111</div></td> |
555 | <td colspan='5' align='center'> | 555 | <td colspan='5' align='center'> |
556 | 556 | ||
557 | <!--css div popup start--> | 557 | <!--css div popup start--> |
558 | <span class='status passCase'> | 558 | <span class='status passCase'> |
559 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.1.2')" > | ||
560 | - </a></span> | 559 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.1.2')" > |
560 | + 頝唾</a></span> | ||
561 | 561 | ||
562 | - <div id='div_pt1.1.2' class="popup_window"> | 562 | + <div id='div_st1.1.2' class="popup_window"> |
563 | <div style='text-align: right; color:red;cursor:pointer'> | 563 | <div style='text-align: right; color:red;cursor:pointer'> |
564 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.1.2').style.display = 'none' " > | 564 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.1.2').style.display = 'none' " > |
565 | [x]</a> | 565 | [x]</a> |
566 | </div> | 566 | </div> |
567 | <pre> | 567 | <pre> |
568 | 568 | ||
569 | -pt1.1.2: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | ||
570 | - | 569 | +st1.1.2: skip |
571 | 570 | ||
572 | </pre> | 571 | </pre> |
573 | </div> | 572 | </div> |
@@ -577,24 +576,23 @@ pt1.1.2: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | @@ -577,24 +576,23 @@ pt1.1.2: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | ||
577 | <td></td> | 576 | <td></td> |
578 | </tr> | 577 | </tr> |
579 | 578 | ||
580 | -<tr id='pt1.1.3' class='hiddenRow'> | 579 | +<tr id='st1.1.3' class='none'> |
581 | <td ><div class='testcase'>test_doAdd_03: 秤憓憓</div></td> | 580 | <td ><div class='testcase'>test_doAdd_03: 秤憓憓</div></td> |
582 | <td colspan='5' align='center'> | 581 | <td colspan='5' align='center'> |
583 | 582 | ||
584 | <!--css div popup start--> | 583 | <!--css div popup start--> |
585 | <span class='status passCase'> | 584 | <span class='status passCase'> |
586 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.1.3')" > | ||
587 | - </a></span> | 585 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.1.3')" > |
586 | + 頝唾</a></span> | ||
588 | 587 | ||
589 | - <div id='div_pt1.1.3' class="popup_window"> | 588 | + <div id='div_st1.1.3' class="popup_window"> |
590 | <div style='text-align: right; color:red;cursor:pointer'> | 589 | <div style='text-align: right; color:red;cursor:pointer'> |
591 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.1.3').style.display = 'none' " > | 590 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.1.3').style.display = 'none' " > |
592 | [x]</a> | 591 | [x]</a> |
593 | </div> | 592 | </div> |
594 | <pre> | 593 | <pre> |
595 | 594 | ||
596 | -pt1.1.3: {'code': '5000', 'message': '霂W恥靽⊥憭梯揖', 'result': '霂W恥靽⊥憭梯揖', 'success': False} | ||
597 | - | 595 | +st1.1.3: skip |
598 | 596 | ||
599 | </pre> | 597 | </pre> |
600 | </div> | 598 | </div> |
@@ -606,32 +604,31 @@ pt1.1.3: {'code': '5000', 'message': '霂W恥靽⊥憭梯揖', 'result': ' | @@ -606,32 +604,31 @@ pt1.1.3: {'code': '5000', 'message': '霂W恥靽⊥憭梯揖', 'result': ' | ||
606 | 604 | ||
607 | <tr class='passClass'> | 605 | <tr class='passClass'> |
608 | <td>doAudit.test_doAudit.test_doAudit: 霈啣恣</td> | 606 | <td>doAudit.test_doAudit.test_doAudit: 霈啣恣</td> |
609 | - <td>4</td> | ||
610 | - <td>4</td> | ||
611 | <td>0</td> | 607 | <td>0</td> |
612 | <td>0</td> | 608 | <td>0</td> |
613 | - <td><a href="javascript:showClassDetail('c1.2',4)">霂行</a></td> | 609 | + <td>0</td> |
610 | + <td>0</td> | ||
611 | + <td><a href="javascript:showClassDetail('c1.2',0)">霂行</a></td> | ||
614 | <td> </td> | 612 | <td> </td> |
615 | </tr> | 613 | </tr> |
616 | 614 | ||
617 | -<tr id='pt1.2.1' class='hiddenRow'> | 615 | +<tr id='st1.2.1' class='none'> |
618 | <td ><div class='testcase'>test_doAudit_01: 摰⊥</div></td> | 616 | <td ><div class='testcase'>test_doAudit_01: 摰⊥</div></td> |
619 | <td colspan='5' align='center'> | 617 | <td colspan='5' align='center'> |
620 | 618 | ||
621 | <!--css div popup start--> | 619 | <!--css div popup start--> |
622 | <span class='status passCase'> | 620 | <span class='status passCase'> |
623 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.2.1')" > | ||
624 | - </a></span> | 621 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.2.1')" > |
622 | + 頝唾</a></span> | ||
625 | 623 | ||
626 | - <div id='div_pt1.2.1' class="popup_window"> | 624 | + <div id='div_st1.2.1' class="popup_window"> |
627 | <div style='text-align: right; color:red;cursor:pointer'> | 625 | <div style='text-align: right; color:red;cursor:pointer'> |
628 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.2.1').style.display = 'none' " > | 626 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.2.1').style.display = 'none' " > |
629 | [x]</a> | 627 | [x]</a> |
630 | </div> | 628 | </div> |
631 | <pre> | 629 | <pre> |
632 | 630 | ||
633 | -pt1.2.1: {'code': '200', 'message': '', 'result': '', 'success': True} | ||
634 | - | 631 | +st1.2.1: skip |
635 | 632 | ||
636 | </pre> | 633 | </pre> |
637 | </div> | 634 | </div> |
@@ -641,24 +638,23 @@ pt1.2.1: {'code': '200', 'message': '', 'result': '', 's | @@ -641,24 +638,23 @@ pt1.2.1: {'code': '200', 'message': '', 'result': '', 's | ||
641 | <td></td> | 638 | <td></td> |
642 | </tr> | 639 | </tr> |
643 | 640 | ||
644 | -<tr id='pt1.2.2' class='hiddenRow'> | 641 | +<tr id='st1.2.2' class='none'> |
645 | <td ><div class='testcase'>test_doAudit_02: 摰⊥銝</div></td> | 642 | <td ><div class='testcase'>test_doAudit_02: 摰⊥銝</div></td> |
646 | <td colspan='5' align='center'> | 643 | <td colspan='5' align='center'> |
647 | 644 | ||
648 | <!--css div popup start--> | 645 | <!--css div popup start--> |
649 | <span class='status passCase'> | 646 | <span class='status passCase'> |
650 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.2.2')" > | ||
651 | - </a></span> | 647 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.2.2')" > |
648 | + 頝唾</a></span> | ||
652 | 649 | ||
653 | - <div id='div_pt1.2.2' class="popup_window"> | 650 | + <div id='div_st1.2.2' class="popup_window"> |
654 | <div style='text-align: right; color:red;cursor:pointer'> | 651 | <div style='text-align: right; color:red;cursor:pointer'> |
655 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.2.2').style.display = 'none' " > | 652 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.2.2').style.display = 'none' " > |
656 | [x]</a> | 653 | [x]</a> |
657 | </div> | 654 | </div> |
658 | <pre> | 655 | <pre> |
659 | 656 | ||
660 | -pt1.2.2: {'code': '200', 'message': '', 'result': '', 'success': True} | ||
661 | - | 657 | +st1.2.2: skip |
662 | 658 | ||
663 | </pre> | 659 | </pre> |
664 | </div> | 660 | </div> |
@@ -668,24 +664,23 @@ pt1.2.2: {'code': '200', 'message': '', 'result': '', 's | @@ -668,24 +664,23 @@ pt1.2.2: {'code': '200', 'message': '', 'result': '', 's | ||
668 | <td></td> | 664 | <td></td> |
669 | </tr> | 665 | </tr> |
670 | 666 | ||
671 | -<tr id='pt1.2.3' class='hiddenRow'> | 667 | +<tr id='st1.2.3' class='none'> |
672 | <td ><div class='testcase'>test_doAudit_03: 摰⊥銝</div></td> | 668 | <td ><div class='testcase'>test_doAudit_03: 摰⊥銝</div></td> |
673 | <td colspan='5' align='center'> | 669 | <td colspan='5' align='center'> |
674 | 670 | ||
675 | <!--css div popup start--> | 671 | <!--css div popup start--> |
676 | <span class='status passCase'> | 672 | <span class='status passCase'> |
677 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.2.3')" > | ||
678 | - </a></span> | 673 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.2.3')" > |
674 | + 頝唾</a></span> | ||
679 | 675 | ||
680 | - <div id='div_pt1.2.3' class="popup_window"> | 676 | + <div id='div_st1.2.3' class="popup_window"> |
681 | <div style='text-align: right; color:red;cursor:pointer'> | 677 | <div style='text-align: right; color:red;cursor:pointer'> |
682 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.2.3').style.display = 'none' " > | 678 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.2.3').style.display = 'none' " > |
683 | [x]</a> | 679 | [x]</a> |
684 | </div> | 680 | </div> |
685 | <pre> | 681 | <pre> |
686 | 682 | ||
687 | -pt1.2.3: {'code': '200', 'message': '', 'result': '', 'success': True} | ||
688 | - | 683 | +st1.2.3: skip |
689 | 684 | ||
690 | </pre> | 685 | </pre> |
691 | </div> | 686 | </div> |
@@ -695,24 +690,23 @@ pt1.2.3: {'code': '200', 'message': '', 'result': '', 's | @@ -695,24 +690,23 @@ pt1.2.3: {'code': '200', 'message': '', 'result': '', 's | ||
695 | <td></td> | 690 | <td></td> |
696 | </tr> | 691 | </tr> |
697 | 692 | ||
698 | -<tr id='pt1.2.4' class='hiddenRow'> | 693 | +<tr id='st1.2.4' class='none'> |
699 | <td ><div class='testcase'>test_doAudit_04: 摰⊥銝銝芸歇蝏恣霈啣</div></td> | 694 | <td ><div class='testcase'>test_doAudit_04: 摰⊥銝銝芸歇蝏恣霈啣</div></td> |
700 | <td colspan='5' align='center'> | 695 | <td colspan='5' align='center'> |
701 | 696 | ||
702 | <!--css div popup start--> | 697 | <!--css div popup start--> |
703 | <span class='status passCase'> | 698 | <span class='status passCase'> |
704 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.2.4')" > | ||
705 | - </a></span> | 699 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.2.4')" > |
700 | + 頝唾</a></span> | ||
706 | 701 | ||
707 | - <div id='div_pt1.2.4' class="popup_window"> | 702 | + <div id='div_st1.2.4' class="popup_window"> |
708 | <div style='text-align: right; color:red;cursor:pointer'> | 703 | <div style='text-align: right; color:red;cursor:pointer'> |
709 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.2.4').style.display = 'none' " > | 704 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.2.4').style.display = 'none' " > |
710 | [x]</a> | 705 | [x]</a> |
711 | </div> | 706 | </div> |
712 | <pre> | 707 | <pre> |
713 | 708 | ||
714 | -pt1.2.4: {'code': '5000', 'message': '仃韐伐歇', 'result': '仃韐伐歇', 'success': False} | ||
715 | - | 709 | +st1.2.4: skip |
716 | 710 | ||
717 | </pre> | 711 | </pre> |
718 | </div> | 712 | </div> |
@@ -722,36 +716,33 @@ pt1.2.4: {'code': '5000', 'message': '仃韐伐歇', 're | @@ -722,36 +716,33 @@ pt1.2.4: {'code': '5000', 'message': '仃韐伐歇', 're | ||
722 | <td></td> | 716 | <td></td> |
723 | </tr> | 717 | </tr> |
724 | 718 | ||
725 | -<tr class='failClass'> | 719 | +<tr class='passClass'> |
726 | <td>fieldConfig.test_fieldConfig.test_fieldConfig: Unittest靘恕霂</td> | 720 | <td>fieldConfig.test_fieldConfig.test_fieldConfig: Unittest靘恕霂</td> |
727 | - <td>3</td> | ||
728 | - <td>2</td> | ||
729 | - <td>1</td> | ||
730 | <td>0</td> | 721 | <td>0</td> |
731 | - <td><a href="javascript:showClassDetail('c1.3',3)">霂行</a></td> | 722 | + <td>0</td> |
723 | + <td>0</td> | ||
724 | + <td>0</td> | ||
725 | + <td><a href="javascript:showClassDetail('c1.3',0)">霂行</a></td> | ||
732 | <td> </td> | 726 | <td> </td> |
733 | </tr> | 727 | </tr> |
734 | 728 | ||
735 | -<tr id='pt1.3.1' class='hiddenRow'> | 729 | +<tr id='st1.3.1' class='none'> |
736 | <td ><div class='testcase'>test_fieldConfig_01: demo</div></td> | 730 | <td ><div class='testcase'>test_fieldConfig_01: demo</div></td> |
737 | <td colspan='5' align='center'> | 731 | <td colspan='5' align='center'> |
738 | 732 | ||
739 | <!--css div popup start--> | 733 | <!--css div popup start--> |
740 | <span class='status passCase'> | 734 | <span class='status passCase'> |
741 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.3.1')" > | ||
742 | - </a></span> | 735 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.3.1')" > |
736 | + 頝唾</a></span> | ||
743 | 737 | ||
744 | - <div id='div_pt1.3.1' class="popup_window"> | 738 | + <div id='div_st1.3.1' class="popup_window"> |
745 | <div style='text-align: right; color:red;cursor:pointer'> | 739 | <div style='text-align: right; color:red;cursor:pointer'> |
746 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.3.1').style.display = 'none' " > | 740 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.3.1').style.display = 'none' " > |
747 | [x]</a> | 741 | [x]</a> |
748 | </div> | 742 | </div> |
749 | <pre> | 743 | <pre> |
750 | 744 | ||
751 | -pt1.3.1: setUp | ||
752 | -test_01_fieldConfig | ||
753 | -tearDown | ||
754 | - | 745 | +st1.3.1: skip |
755 | 746 | ||
756 | </pre> | 747 | </pre> |
757 | </div> | 748 | </div> |
@@ -761,26 +752,23 @@ tearDown | @@ -761,26 +752,23 @@ tearDown | ||
761 | <td></td> | 752 | <td></td> |
762 | </tr> | 753 | </tr> |
763 | 754 | ||
764 | -<tr id='pt1.3.2' class='hiddenRow'> | 755 | +<tr id='st1.3.2' class='none'> |
765 | <td ><div class='testcase'>test_fieldConfig_02: demo</div></td> | 756 | <td ><div class='testcase'>test_fieldConfig_02: demo</div></td> |
766 | <td colspan='5' align='center'> | 757 | <td colspan='5' align='center'> |
767 | 758 | ||
768 | <!--css div popup start--> | 759 | <!--css div popup start--> |
769 | <span class='status passCase'> | 760 | <span class='status passCase'> |
770 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.3.2')" > | ||
771 | - </a></span> | 761 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.3.2')" > |
762 | + 頝唾</a></span> | ||
772 | 763 | ||
773 | - <div id='div_pt1.3.2' class="popup_window"> | 764 | + <div id='div_st1.3.2' class="popup_window"> |
774 | <div style='text-align: right; color:red;cursor:pointer'> | 765 | <div style='text-align: right; color:red;cursor:pointer'> |
775 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.3.2').style.display = 'none' " > | 766 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.3.2').style.display = 'none' " > |
776 | [x]</a> | 767 | [x]</a> |
777 | </div> | 768 | </div> |
778 | <pre> | 769 | <pre> |
779 | 770 | ||
780 | -pt1.3.2: setUp | ||
781 | -test_02_fieldConfig | ||
782 | -tearDown | ||
783 | - | 771 | +st1.3.2: skip |
784 | 772 | ||
785 | </pre> | 773 | </pre> |
786 | </div> | 774 | </div> |
@@ -790,30 +778,23 @@ tearDown | @@ -790,30 +778,23 @@ tearDown | ||
790 | <td></td> | 778 | <td></td> |
791 | </tr> | 779 | </tr> |
792 | 780 | ||
793 | -<tr id='ft1.3.3' class='none'> | 781 | +<tr id='st1.3.3' class='none'> |
794 | <td ><div class='testcase'>test_fieldConfig_03: demo</div></td> | 782 | <td ><div class='testcase'>test_fieldConfig_03: demo</div></td> |
795 | <td colspan='5' align='center'> | 783 | <td colspan='5' align='center'> |
796 | 784 | ||
797 | <!--css div popup start--> | 785 | <!--css div popup start--> |
798 | - <span class='status failCase'> | ||
799 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft1.3.3')" > | ||
800 | - 憭梯揖</a></span> | 786 | + <span class='status passCase'> |
787 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.3.3')" > | ||
788 | + 頝唾</a></span> | ||
801 | 789 | ||
802 | - <div id='div_ft1.3.3' class="popup_window"> | 790 | + <div id='div_st1.3.3' class="popup_window"> |
803 | <div style='text-align: right; color:red;cursor:pointer'> | 791 | <div style='text-align: right; color:red;cursor:pointer'> |
804 | - <a onfocus='this.blur();' onclick="document.getElementById('div_ft1.3.3').style.display = 'none' " > | 792 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.3.3').style.display = 'none' " > |
805 | [x]</a> | 793 | [x]</a> |
806 | </div> | 794 | </div> |
807 | <pre> | 795 | <pre> |
808 | 796 | ||
809 | -ft1.3.3: setUp | ||
810 | -test_03_fieldConfig | ||
811 | -tearDown | ||
812 | -Traceback (most recent call last): | ||
813 | - File "E:\EclipseWorkspace\WorksapceDemo\Request-demo-dili\src\testcase\fieldConfig\test_fieldConfig.py", line 28, in test_fieldConfig_03 | ||
814 | - self.assertEqual(100, 200, "瘚蝙") | ||
815 | -AssertionError: 100 != 200 : 瘚蝙 | ||
816 | - | 797 | +st1.3.3: skip |
817 | 798 | ||
818 | </pre> | 799 | </pre> |
819 | </div> | 800 | </div> |
@@ -851,32 +832,31 @@ st1.3.4: 銵撘箏頝唾砲靘 | @@ -851,32 +832,31 @@ st1.3.4: 銵撘箏頝唾砲靘 | ||
851 | 832 | ||
852 | <tr class='passClass'> | 833 | <tr class='passClass'> |
853 | <td>login.test_login.test_login: 敶</td> | 834 | <td>login.test_login.test_login: 敶</td> |
854 | - <td>3</td> | ||
855 | - <td>3</td> | ||
856 | <td>0</td> | 835 | <td>0</td> |
857 | <td>0</td> | 836 | <td>0</td> |
858 | - <td><a href="javascript:showClassDetail('c1.4',3)">霂行</a></td> | 837 | + <td>0</td> |
838 | + <td>0</td> | ||
839 | + <td><a href="javascript:showClassDetail('c1.4',0)">霂行</a></td> | ||
859 | <td> </td> | 840 | <td> </td> |
860 | </tr> | 841 | </tr> |
861 | 842 | ||
862 | -<tr id='pt1.4.1' class='hiddenRow'> | 843 | +<tr id='st1.4.1' class='none'> |
863 | <td ><div class='testcase'>test_login_01: 韐行撖甇&</div></td> | 844 | <td ><div class='testcase'>test_login_01: 韐行撖甇&</div></td> |
864 | <td colspan='5' align='center'> | 845 | <td colspan='5' align='center'> |
865 | 846 | ||
866 | <!--css div popup start--> | 847 | <!--css div popup start--> |
867 | <span class='status passCase'> | 848 | <span class='status passCase'> |
868 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.4.1')" > | ||
869 | - </a></span> | 849 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.4.1')" > |
850 | + 頝唾</a></span> | ||
870 | 851 | ||
871 | - <div id='div_pt1.4.1' class="popup_window"> | 852 | + <div id='div_st1.4.1' class="popup_window"> |
872 | <div style='text-align: right; color:red;cursor:pointer'> | 853 | <div style='text-align: right; color:red;cursor:pointer'> |
873 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.4.1').style.display = 'none' " > | 854 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.4.1').style.display = 'none' " > |
874 | [x]</a> | 855 | [x]</a> |
875 | </div> | 856 | </div> |
876 | <pre> | 857 | <pre> |
877 | 858 | ||
878 | -pt1.4.1: {'Access-Control-Expose-Headers': 'UAP_accessToken', 'Cache-Control': 'no-store', 'Set-Cookie': 'UAP_accessToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJXRUIiLCJuYmYiOjE2MjQ1ODgwNDYsImRhdGEiOiJ7XCJjZWxscGhvbmVcIjpcIjE2MTExMTExMTExXCIsXCJjcmVhdGVkXCI6MTYwNDkwNzk2NzAwMCxcImRlcGFydG1lbnRJZFwiOjkwLFwiZGVzY3JpcHRpb25cIjpcIjY2NlwiLFwiZW1haWxcIjpcIjY2NkBkaWxpZ3JwLmNvbVwiLFwiZmlybUNvZGVcIjpcInNnXCIsXCJmaXJtSWRcIjo4LFwiZmlybU5hbWVcIjpcIuWvv-WFieWcsOWIqeWGnOWJr-S6p-WTgeaciemZkOWFrOWPuFwiLFwiZ2VuZGVyXCI6MCxcImlkXCI6MjEwLFwibGFzdExvZ2luVGltZVwiOjE2MjQ1ODgwNDY3OTEsXCJsb2NrZWRcIjoxNjIzODMyMzQwMDAwLFwibWV0YWRhdGFcIjp7fSxcIm1vZGlmaWVkXCI6MTYyMzgzMjQ3NTAwMCxcInBhc3N3b3JkXCI6XCIxODk2NUVCNzJDOTJBNTQ5RERcIixcInJlYWxOYW1lXCI6XCLlr7_lhYnmuq_mupDlk59cIixcInNlcmlhbE51bWJlclwiOlwiMDAwXCIsXCJzdGF0ZVwiOjEsXCJzeXN0ZW1UeXBlXCI6MSxcInVzZXJOYW1lXCI6XCJzZ193ZW56ZVwifSIsImlzcyI6IlVBUF9BVVRIMCIsImV4cCI6MTYyNDU4OTg0NiwiaWF0IjoxNjI0NTg4MDQ2LCJqdGkiOiI1MjllNDc0NC1mNjMzLTQwZWQtOGJiNy00YjM0ZGI2Zjg4YzIifQ.o-AGE-Ia07UVKwRCbDenqdpWb7wlMCPe4YytxIYFB1VMpVJ3X_LrBnUXwhMCpIi58qSZ_7FBxwTTWxqHGKJOStoDXsqL5sKSKn-rZ-_13Lula5Z4Dc6XQ66fpk0KUYgMjYrUiBgqYnt2-slTI6XqR45f1eZWx9uGvjEOih9pAuU; Max-Age=86400; Expires=Sat, 26-Jun-2021 02:27:26 GMT; Domain=diligrp.com; Path=/; HttpOnly, UAP_refreshToken=8fdb840e-489e-4f1e-a97b-7c60a02399e6; Max-Age=86400; Expires=Sat, 26-Jun-2021 02:27:26 GMT; Domain=diligrp.com; Path=/; HttpOnly, UAP_loginPath=http%3A%2F%2Ftest.uap.diligrp.com%2Flogin%2Findex.html; Max-Age=86400; Expires=Sat, 26-Jun-2021 02:27:26 GMT; Domain=diligrp.com; Path=/; HttpOnly', 'Location': '/index/index.html', 'Content-Language': 'zh-CN', 'Content-Length': '0', 'Date': 'Fri, 25 Jun 2021 02:27:26 GMT', 'Keep-Alive': 'timeout=60', 'Connection': 'keep-alive'} | ||
879 | - | 859 | +st1.4.1: skip |
880 | 860 | ||
881 | </pre> | 861 | </pre> |
882 | </div> | 862 | </div> |
@@ -886,168 +866,49 @@ pt1.4.1: {'Access-Control-Expose-Headers': 'UAP_accessToken', 'Cache-Control': ' | @@ -886,168 +866,49 @@ pt1.4.1: {'Access-Control-Expose-Headers': 'UAP_accessToken', 'Cache-Control': ' | ||
886 | <td></td> | 866 | <td></td> |
887 | </tr> | 867 | </tr> |
888 | 868 | ||
889 | -<tr id='pt1.4.2' class='hiddenRow'> | 869 | +<tr id='st1.4.2' class='none'> |
890 | <td ><div class='testcase'>test_login_02: 撖秤</div></td> | 870 | <td ><div class='testcase'>test_login_02: 撖秤</div></td> |
891 | <td colspan='5' align='center'> | 871 | <td colspan='5' align='center'> |
892 | 872 | ||
893 | <!--css div popup start--> | 873 | <!--css div popup start--> |
894 | <span class='status passCase'> | 874 | <span class='status passCase'> |
895 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.4.2')" > | ||
896 | - </a></span> | 875 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.4.2')" > |
876 | + 頝唾</a></span> | ||
897 | 877 | ||
898 | - <div id='div_pt1.4.2' class="popup_window"> | 878 | + <div id='div_st1.4.2' class="popup_window"> |
899 | <div style='text-align: right; color:red;cursor:pointer'> | 879 | <div style='text-align: right; color:red;cursor:pointer'> |
900 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.4.2').style.display = 'none' " > | 880 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.4.2').style.display = 'none' " > |
901 | [x]</a> | 881 | [x]</a> |
902 | </div> | 882 | </div> |
903 | <pre> | 883 | <pre> |
904 | 884 | ||
905 | -pt1.4.2: <!DOCTYPE html> | ||
906 | -<html lang="zh-CN"> | ||
907 | - | ||
908 | -<head> | ||
909 | - <meta charset="UTF-8" /> | ||
910 | - <title>蝏蝞∠像</title> | ||
911 | - <meta name="renderer" content="webkit"> | ||
912 | - <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
913 | - <meta name="keywords" content="uap" /> | ||
914 | - <meta name="description" content="蝏蝞∠像" /> | ||
915 | - <meta name="author" content="dili"> | ||
916 | - <style> | ||
917 | - /*瘨google瘚暺獢*/ | ||
918 | - input:-webkit-autofill, | ||
919 | - input:-webkit-autofill:hover, | ||
920 | - input:-webkit-autofill:focus { | ||
921 | - box-shadow:0 0 0 60px #FFF inset; | ||
922 | - -webkit-text-fill-color: #666; | ||
923 | - } | ||
924 | - </style> | ||
925 | - <!-- jquery --> | ||
926 | - <link rel="shortcut icon" href="/resources/images/icon/dili-logo.png" /> | ||
927 | - <script type="text/javascript" src="/resources/easyui/js/jquery-3.2.1.min.js"></script> | ||
928 | - <link rel="stylesheet" type="text/css" href="/resources/css/login.css"> | ||
929 | -</head> | ||
930 | - | ||
931 | -<body> | ||
932 | -<div class="loginwrap"> | ||
933 | - <div class="login"> | ||
934 | - <h2 class="login-title"><img src="/resources/images/login-title.png" alt="蝏蝞∠像"></h2> | ||
935 | - | ||
936 | - <form id="loginForm" class="login-form" method="post" action="/login/login.action"> | ||
937 | - <table class="userinfo"> | ||
938 | - <tbody> | ||
939 | - <tr> | ||
940 | - <td width="40" class="login-icon login-user-icon"></td> | ||
941 | - <td> | ||
942 | - <input id="userName" name="userName" value="" type="text" placeholder="霂瑁韐血" /> | ||
943 | - </td> | ||
944 | - </tr> | ||
945 | - <tr> | ||
946 | - <td width="40" class="login-icon login-password-icon"></td> | ||
947 | - <td> | ||
948 | - <input id="password" name="password" value="" type="password" placeholder="霂瑁撖" /> | ||
949 | - </td> | ||
950 | - </tr> | ||
951 | - <!--<tr> | ||
952 | - <td colspan="2"><label id="msg"></label></td> | ||
953 | - </tr> | ||
954 | - <tr> | ||
955 | - <td colspan="2"> | ||
956 | - <input type="button" class="submit" value="敶" onclick="doLogin()"> | ||
957 | - </td> | ||
958 | - </tr>--> | ||
959 | - </tbody> | ||
960 | - </table> | ||
961 | - <div id="msg" class="login-msg"></div> | ||
962 | - <div class=""> | ||
963 | - <input type="button" class="submit" value="敶" onclick="doLogin()"> | ||
964 | - </div> | ||
965 | - <div style="margin-top:25px; text-align: center"> | ||
966 | - <a target="_blank" href="/static/clientDownload.html">摰X蝡臭蝸</a> | ||
967 | - </div> | ||
968 | - </form> | ||
969 | - <div id="errMsg"></div> | ||
970 | - </div> | ||
971 | -</div> | ||
972 | - | ||
973 | -<script type="text/javascript"> | ||
974 | - function doLogin() { | ||
975 | - var username = document.getElementById("userName").value; | ||
976 | - if (null == username || "" == username) { | ||
977 | - $("#msg").html("韐血銝銝箇征"); | ||
978 | - return false; | ||
979 | - } | ||
980 | - | ||
981 | - var password = document.getElementById("password").value; | ||
982 | - if (null == password || "" == password) { | ||
983 | - $("#msg").html("撖銝箇征"); | ||
984 | - return false; | ||
985 | - } | ||
986 | - if(username.length < 2 || username.length > 20){ | ||
987 | - $("#msg").html("摨虫撠2雿之鈭20雿"); | ||
988 | - return false; | ||
989 | - } | ||
990 | - if(password.length < 6 || password.length > 20){ | ||
991 | - $("#msg").html("撖摨虫撠6雿之鈭20雿"); | ||
992 | - return false; | ||
993 | - } | ||
994 | - if(!validUserName(username)){ | ||
995 | - $("#msg").html("銝剜摮瑪"); | ||
996 | - return false; | ||
997 | - } | ||
998 | - | ||
999 | - document.getElementById("loginForm").submit(); | ||
1000 | - } | 885 | +st1.4.2: skip |
1001 | 886 | ||
1002 | - /******************************************************************************* | ||
1003 | - * 蝏”掩膠鈭辣 | ||
1004 | - * | ||
1005 | - * @param formId | ||
1006 | - * 銵典 | ||
1007 | - * @param element | ||
1008 | - * 掩 (input/select/radio/...) | ||
1009 | - * @param subFunction | ||
1010 | - * 膠銵s | ||
1011 | - * @param eventName | ||
1012 | - * 辣 (keyup/keydown/keypress...) | ||
1013 | - */ | ||
1014 | - function bindEnter(formId, element, subFunction, eventName) { | ||
1015 | - $("#" + formId + " " + element).bind(eventName, function(event) { | ||
1016 | - //膠 | ||
1017 | - if (event.keyCode == '13') { | ||
1018 | - subFunction(); | ||
1019 | - } | ||
1020 | - }); | ||
1021 | - } | ||
1022 | - | ||
1023 | - | ||
1024 | - /******************************************************************************* | ||
1025 | - * 銵典膠鈭辣蝏 銵典 | ||
1026 | - * @param formId | ||
1027 | - * @param subFunction 膠閬銵 | ||
1028 | - */ | ||
1029 | - function bindFormEvent(formId, subFunction) { | ||
1030 | - if (subFunction && subFunction != null) { | ||
1031 | - bindEnter(formId, 'input', subFunction, 'keyup'); | ||
1032 | - } | ||
1033 | - } | 887 | + </pre> |
888 | + </div> | ||
889 | + <!--css div popup end--> | ||
1034 | 890 | ||
1035 | - function validUserName(value) { | ||
1036 | - return /^[a-zA-Z0-9\u4e00-\u9fa5_]+$/.test(value); | ||
1037 | - } | 891 | + </td> |
892 | + <td></td> | ||
893 | +</tr> | ||
1038 | 894 | ||
1039 | - $(function() { | ||
1040 | - $("#msg").html("秤"); | ||
1041 | - window.setTimeout(function() { | ||
1042 | - $("#userName").focus(); | ||
1043 | - }, 0); | ||
1044 | - bindFormEvent("loginForm", doLogin); | ||
1045 | - }); | ||
1046 | -</script> | ||
1047 | -</body> | 895 | +<tr id='st1.4.3' class='none'> |
896 | + <td ><div class='testcase'>test_login_03: 韐行秤</div></td> | ||
897 | + <td colspan='5' align='center'> | ||
1048 | 898 | ||
1049 | -</html> | 899 | + <!--css div popup start--> |
900 | + <span class='status passCase'> | ||
901 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.4.3')" > | ||
902 | + 頝唾</a></span> | ||
1050 | 903 | ||
904 | + <div id='div_st1.4.3' class="popup_window"> | ||
905 | + <div style='text-align: right; color:red;cursor:pointer'> | ||
906 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.4.3').style.display = 'none' " > | ||
907 | + [x]</a> | ||
908 | + </div> | ||
909 | + <pre> | ||
910 | + | ||
911 | +st1.4.3: skip | ||
1051 | 912 | ||
1052 | </pre> | 913 | </pre> |
1053 | </div> | 914 | </div> |
@@ -1057,12 +918,6 @@ pt1.4.2: &lt;!DOCTYPE html&gt; | @@ -1057,12 +918,6 @@ pt1.4.2: &lt;!DOCTYPE html&gt; | ||
1057 | <td></td> | 918 | <td></td> |
1058 | </tr> | 919 | </tr> |
1059 | 920 | ||
1060 | -<tr id='pt1.4.3' class='hiddenRow'> | ||
1061 | - <td><div class='testcase'>test_login_03: 韐行秤</div></td> | ||
1062 | - <td colspan='5' align='center'><span class='status passCase'></span></td> | ||
1063 | - <td></td> | ||
1064 | -</tr> | ||
1065 | - | ||
1066 | <tr class='passClass'> | 921 | <tr class='passClass'> |
1067 | <td>logout.test_logout.test_logout: 憓霈唳</td> | 922 | <td>logout.test_logout.test_logout: 憓霈唳</td> |
1068 | <td>1</td> | 923 | <td>1</td> |
@@ -1102,11 +957,11 @@ pt1.5.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | @@ -1102,11 +957,11 @@ pt1.5.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | ||
1102 | 957 | ||
1103 | <tr class='passClass'> | 958 | <tr class='passClass'> |
1104 | <td>upStream.test_upStream.test_upStream: 銝虜隡”霂X</td> | 959 | <td>upStream.test_upStream.test_upStream: 銝虜隡”霂X</td> |
1105 | - <td>2</td> | ||
1106 | - <td>2</td> | 960 | + <td>1</td> |
961 | + <td>1</td> | ||
1107 | <td>0</td> | 962 | <td>0</td> |
1108 | <td>0</td> | 963 | <td>0</td> |
1109 | - <td><a href="javascript:showClassDetail('c1.6',2)">霂行</a></td> | 964 | + <td><a href="javascript:showClassDetail('c1.6',1)">霂行</a></td> |
1110 | <td> </td> | 965 | <td> </td> |
1111 | </tr> | 966 | </tr> |
1112 | 967 | ||
@@ -1126,7 +981,7 @@ pt1.5.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | @@ -1126,7 +981,7 @@ pt1.5.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | ||
1126 | </div> | 981 | </div> |
1127 | <pre> | 982 | <pre> |
1128 | 983 | ||
1129 | -pt1.6.1: {'total': 219, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-24 15:08:51', 'idCard': '513000119930208155', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475463', 'cardNoFrontUrl': '', 'name': '', 'modified': '2021-06-24 15:08:51', 'userNames': '憭扳╪摰', 'id': 359, 'sourceUserId': 131321, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-23 16:34:50', 'businessLicenseUrl': 'c5806086695045808e6cbdacfc9dceff', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '123456', 'legalPerson': '22', 'telphone': '15623333333', 'name': '22', 'modified': '2021-06-23 16:34:50', 'userNames': '', 'id': 358, 'sourceUserId': 130495, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-17 17:32:11', 'idCard': '513001199802081052', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475463', 'cardNoFrontUrl': '', 'name': '15643', 'modified': '2021-06-17 17:32:11', 'userNames': '蝣', 'id': 357, 'sourceUserId': 131272, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-11 14:56:28', 'idCard': '513001199802081528', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475125', 'cardNoFrontUrl': '', 'name': '', 'modified': '2021-06-11 14:56:28', 'userNames': '蝣', 'id': 356, 'sourceUserId': 131272, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:07:43', 'idCard': '110101198001011339', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '13111111111', 'cardNoFrontUrl': '', 'name': '001', 'modified': '2021-06-01 15:07:43', 'userNames': '銝瘚', 'id': 353, 'sourceUserId': 131214, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:07:10', 'businessLicenseUrl': '', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '333', 'legalPerson': '111', 'telphone': '222', 'name': '001', 'modified': '2021-06-01 15:07:10', 'userNames': '銝瘚', 'id': 352, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:06:40', 'businessLicenseUrl': '', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '', 'legalPerson': '', 'telphone': '', 'name': '銝虜', 'modified': '2021-06-01 15:06:40', 'userNames': '銝瘚', 'id': 351, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-01 15:06:09', 'businessLicenseUrl': '04b99e521f0947039e5a6497184ac941', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '111', 'legalPerson': '111', 'telphone': '13111111111', 'name': '隡002', 'modified': '2021-06-01 15:06:09', 'userNames': '銝瘚', 'id': 350, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-01 15:04:45', 'idCard': '', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '13111111111', 'cardNoFrontUrl': '', 'name': '銝芯犖銝虜2', 'modified': '2021-06-01 15:04:45', 'userNames': '銝瘚', 'id': 349, 'sourceUserId': 131214, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-01 15:03:42', 'idCard': '513001199802085214', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475432', 'cardNoFrontUrl': '0c00b78286e8475d90c31021e074cdd5', 'name': '撖', 'modified': '2021-06-01 15:03:42', 'userNames': '銝瘚', 'id': 348, 'sourceUserId': 131214, 'upstreamType': '銝芯犖'}]} | 984 | +pt1.6.1: {'total': 220, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-28 14:55:44', 'businessLicenseUrl': '7e449880e6014e8698bf52fd58122023', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '1123456', 'legalPerson': '', 'telphone': '18722222222', 'name': '憭', 'modified': '2021-06-28 14:55:44', 'userNames': '憸之', 'id': 360, 'sourceUserId': 616, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-24 15:08:51', 'idCard': '513000119930208155', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475463', 'cardNoFrontUrl': '', 'name': '', 'modified': '2021-06-24 15:08:51', 'userNames': '憭扳╪摰', 'id': 359, 'sourceUserId': 131321, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-23 16:34:50', 'businessLicenseUrl': 'c5806086695045808e6cbdacfc9dceff', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '123456', 'legalPerson': '22', 'telphone': '15623333333', 'name': '22', 'modified': '2021-06-23 16:34:50', 'userNames': '', 'id': 358, 'sourceUserId': 130495, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-17 17:32:11', 'idCard': '513001199802081052', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475463', 'cardNoFrontUrl': '', 'name': '15643', 'modified': '2021-06-17 17:32:11', 'userNames': '蝣', 'id': 357, 'sourceUserId': 131272, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-11 14:56:28', 'idCard': '513001199802081528', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475125', 'cardNoFrontUrl': '', 'name': '', 'modified': '2021-06-11 14:56:28', 'userNames': '蝣', 'id': 356, 'sourceUserId': 131272, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:07:43', 'idCard': '110101198001011339', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '13111111111', 'cardNoFrontUrl': '', 'name': '001', 'modified': '2021-06-01 15:07:43', 'userNames': '銝瘚', 'id': 353, 'sourceUserId': 131214, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:07:10', 'businessLicenseUrl': '', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '333', 'legalPerson': '111', 'telphone': '222', 'name': '001', 'modified': '2021-06-01 15:07:10', 'userNames': '銝瘚', 'id': 352, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:06:40', 'businessLicenseUrl': '', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '', 'legalPerson': '', 'telphone': '', 'name': '銝虜', 'modified': '2021-06-01 15:06:40', 'userNames': '銝瘚', 'id': 351, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-01 15:06:09', 'businessLicenseUrl': '04b99e521f0947039e5a6497184ac941', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '111', 'legalPerson': '111', 'telphone': '13111111111', 'name': '隡002', 'modified': '2021-06-01 15:06:09', 'userNames': '銝瘚', 'id': 350, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-01 15:04:45', 'idCard': '', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '13111111111', 'cardNoFrontUrl': '', 'name': '銝芯犖銝虜2', 'modified': '2021-06-01 15:04:45', 'userNames': '銝瘚', 'id': 349, 'sourceUserId': 131214, 'upstreamType': '銝芯犖'}]} |
1130 | 985 | ||
1131 | 986 | ||
1132 | </pre> | 987 | </pre> |
@@ -1137,24 +992,23 @@ pt1.6.1: {'total': 219, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'creat | @@ -1137,24 +992,23 @@ pt1.6.1: {'total': 219, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'creat | ||
1137 | <td></td> | 992 | <td></td> |
1138 | </tr> | 993 | </tr> |
1139 | 994 | ||
1140 | -<tr id='pt1.6.2' class='hiddenRow'> | 995 | +<tr id='st1.6.2' class='none'> |
1141 | <td ><div class='testcase'>test_upStream_02: 霂V虜隡,隡/銝芯犖妍餈誘隞</div></td> | 996 | <td ><div class='testcase'>test_upStream_02: 霂V虜隡,隡/銝芯犖妍餈誘隞</div></td> |
1142 | <td colspan='5' align='center'> | 997 | <td colspan='5' align='center'> |
1143 | 998 | ||
1144 | <!--css div popup start--> | 999 | <!--css div popup start--> |
1145 | <span class='status passCase'> | 1000 | <span class='status passCase'> |
1146 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.6.2')" > | ||
1147 | - </a></span> | 1001 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.6.2')" > |
1002 | + 頝唾</a></span> | ||
1148 | 1003 | ||
1149 | - <div id='div_pt1.6.2' class="popup_window"> | 1004 | + <div id='div_st1.6.2' class="popup_window"> |
1150 | <div style='text-align: right; color:red;cursor:pointer'> | 1005 | <div style='text-align: right; color:red;cursor:pointer'> |
1151 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.6.2').style.display = 'none' " > | 1006 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.6.2').style.display = 'none' " > |
1152 | [x]</a> | 1007 | [x]</a> |
1153 | </div> | 1008 | </div> |
1154 | <pre> | 1009 | <pre> |
1155 | 1010 | ||
1156 | -pt1.6.2: {'total': 5, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-05-10 09:42:51', 'idCard': '', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '13540782311', 'cardNoFrontUrl': '', 'name': '111', 'modified': '2021-05-10 09:42:51', 'userNames': '憸之', 'id': 333, 'sourceUserId': 616, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-04-07 17:32:14', 'businessLicenseUrl': 'f8eae081aa35426d975406a03a4fd062', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '111', 'legalPerson': '', 'telphone': '13111111111', 'name': '隡虜111', 'modified': '2021-04-07 17:32:14', 'userNames': '霂亙', 'id': 274, 'sourceUserId': 617, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-01-21 11:49:27', 'businessLicenseUrl': '8478adbc99224b5f812b54b931e93e30', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '18989898989', 'legalPerson': '銝虜111', 'telphone': '18989898989', 'name': '銝虜111繚', 'modified': '2021-01-21 17:30:59', 'userNames': '瘚', 'id': 173, 'sourceUserId': 519, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-01-14 14:53:44', 'businessLicenseUrl': '1993ceeb24504f43b16f06028ddd7ec7', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': 'dd51ffc5f20944bc9c57d64b148f4b2f', 'license': '19925360686', 'legalPerson': '瘜犖000001111111', 'telphone': '19925360686', 'name': '銝虜隡0011111110000111', 'modified': '2021-01-14 14:53:44', 'userNames': 'null', 'id': 148, 'sourceUserId': 500, 'manufacturingLicenseUrl': '277ea39c03f94160a2cbe6d7dc3ec4f4', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-01-07 14:12:31', 'idCard': '513001199302081011', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380454588', 'cardNoFrontUrl': '', 'name': '111', 'modified': '2021-01-07 14:12:31', 'userNames': 'null', 'id': 102, 'sourceUserId': 438, 'upstreamType': '銝芯犖'}]} | ||
1157 | - | 1011 | +st1.6.2: skip |
1158 | 1012 | ||
1159 | </pre> | 1013 | </pre> |
1160 | </div> | 1014 | </div> |
@@ -1166,9 +1020,9 @@ pt1.6.2: {'total': 5, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created | @@ -1166,9 +1020,9 @@ pt1.6.2: {'total': 5, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created | ||
1166 | 1020 | ||
1167 | <tr id='total_row'> | 1021 | <tr id='total_row'> |
1168 | <th>蝏恣</th> | 1022 | <th>蝏恣</th> |
1169 | - <th>16</th> | ||
1170 | - <th>14</th> | ||
1171 | - <th>1</th> | 1023 | + <th>3</th> |
1024 | + <th>2</th> | ||
1025 | + <th>0</th> | ||
1172 | <th>1</th> | 1026 | <th>1</th> |
1173 | <th> </th> | 1027 | <th> </th> |
1174 | <th> </th> | 1028 | <th> </th> |
@@ -1176,7 +1030,7 @@ pt1.6.2: {'total': 5, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created | @@ -1176,7 +1030,7 @@ pt1.6.2: {'total': 5, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created | ||
1176 | </table> | 1030 | </table> |
1177 | <script> | 1031 | <script> |
1178 | showCase(0,1); | 1032 | showCase(0,1); |
1179 | - drawCircle('circle1',14, 1, 1); | 1033 | + drawCircle('circle1',2, 0, 1); |
1180 | </script> | 1034 | </script> |
1181 | 1035 | ||
1182 | <div id='ending'> </div> | 1036 | <div id='ending'> </div> |
src/report/2021-06-24 17_38_58_result.html renamed to src/report/2021-06-28 16_42_18_result.html
@@ -420,9 +420,9 @@ function hide_img(obj){ | @@ -420,9 +420,9 @@ function hide_img(obj){ | ||
420 | </script> | 420 | </script> |
421 | <div class='heading'> | 421 | <div class='heading'> |
422 | <h1>揣瘚</h1> | 422 | <h1>揣瘚</h1> |
423 | -<p class='attribute'><strong>撘憪:</strong> 2021-06-24 17:38:58</p> | ||
424 | -<p class='attribute'><strong>:</strong> 0:00:09.218552</p> | ||
425 | -<p class='attribute'><strong>:</strong> <span class="tj passCase">Pass</span>:15 <span class="tj failCase">Failure</span>:1 <span class="tj skipCase">Skip</span>:1 <span class="tj"></span>:93.8%</p> | 423 | +<p class='attribute'><strong>撘憪:</strong> 2021-06-28 16:42:18</p> |
424 | +<p class='attribute'><strong>:</strong> 0:00:02.376246</p> | ||
425 | +<p class='attribute'><strong>:</strong> <span class="tj passCase">Pass</span>:2 <span class="tj skipCase">Skip</span>:15 <span class="tj"></span>:100.0%</p> | ||
426 | 426 | ||
427 | <p class='description'>靘銵嚗</p> | 427 | <p class='description'>靘銵嚗</p> |
428 | </div> | 428 | </div> |
@@ -435,12 +435,12 @@ function hide_img(obj){ | @@ -435,12 +435,12 @@ function hide_img(obj){ | ||
435 | </div> | 435 | </div> |
436 | 436 | ||
437 | <div id='show_detail_line' style=" float: left; width: 100%;"> | 437 | <div id='show_detail_line' style=" float: left; width: 100%;"> |
438 | -<a class="abstract detail_button" href='javascript:showCase(0,1)'>璁93.75%]</a> | ||
439 | -<a class="passed detail_button" href='javascript:showCase(1,1)'>15]</a> | ||
440 | -<a class="failed detail_button" href='javascript:showCase(2,1)'>憭梯揖[1]</a> | 438 | +<a class="abstract detail_button" href='javascript:showCase(0,1)'>璁100.00%]</a> |
439 | +<a class="passed detail_button" href='javascript:showCase(1,1)'>2]</a> | ||
440 | +<a class="failed detail_button" href='javascript:showCase(2,1)'>憭梯揖[0]</a> | ||
441 | <a class="errored detail_button" href='javascript:showCase(3,1)'>秤[0]</a> | 441 | <a class="errored detail_button" href='javascript:showCase(3,1)'>秤[0]</a> |
442 | -<a class="skiped detail_button" href='javascript:showCase(4,1)'>頝唾1]</a> | ||
443 | -<a class="all detail_button" href='javascript:showCase(5,1)'>16]</a> | 442 | +<a class="skiped detail_button" href='javascript:showCase(4,1)'>頝唾15]</a> |
443 | +<a class="all detail_button" href='javascript:showCase(5,1)'>2]</a> | ||
444 | </div> | 444 | </div> |
445 | 445 | ||
446 | <table id='result_table'> | 446 | <table id='result_table'> |
@@ -465,16 +465,16 @@ function hide_img(obj){ | @@ -465,16 +465,16 @@ function hide_img(obj){ | ||
465 | 465 | ||
466 | <tr class='passClass'> | 466 | <tr class='passClass'> |
467 | <td>doAdd.test_doAdd.test_doAdd: 憓霈唳</td> | 467 | <td>doAdd.test_doAdd.test_doAdd: 憓霈唳</td> |
468 | - <td>3</td> | ||
469 | - <td>3</td> | 468 | + <td>1</td> |
469 | + <td>1</td> | ||
470 | <td>0</td> | 470 | <td>0</td> |
471 | <td>0</td> | 471 | <td>0</td> |
472 | - <td><a href="javascript:showClassDetail('c1.1',3)">霂行</a></td> | 472 | + <td><a href="javascript:showClassDetail('c1.1',1)">霂行</a></td> |
473 | <td> </td> | 473 | <td> </td> |
474 | </tr> | 474 | </tr> |
475 | 475 | ||
476 | <tr id='pt1.1.1' class='hiddenRow'> | 476 | <tr id='pt1.1.1' class='hiddenRow'> |
477 | - <td ><div class='testcase'>test_01_doAdd: 憓銝芸蛹憭抒憭蛹111</div></td> | 477 | + <td ><div class='testcase'>test_doAdd_01: 憓銝芸蛹憭抒憭蛹111</div></td> |
478 | <td colspan='5' align='center'> | 478 | <td colspan='5' align='center'> |
479 | 479 | ||
480 | <!--css div popup start--> | 480 | <!--css div popup start--> |
@@ -500,24 +500,23 @@ pt1.1.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | @@ -500,24 +500,23 @@ pt1.1.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | ||
500 | <td></td> | 500 | <td></td> |
501 | </tr> | 501 | </tr> |
502 | 502 | ||
503 | -<tr id='pt1.1.2' class='hiddenRow'> | ||
504 | - <td ><div class='testcase'>test_02_doAdd: 憓銝芸蛹斢憭蛹111</div></td> | 503 | +<tr id='st1.1.2' class='none'> |
504 | + <td ><div class='testcase'>test_doAdd_02: 憓銝芸蛹斢憭蛹111</div></td> | ||
505 | <td colspan='5' align='center'> | 505 | <td colspan='5' align='center'> |
506 | 506 | ||
507 | <!--css div popup start--> | 507 | <!--css div popup start--> |
508 | <span class='status passCase'> | 508 | <span class='status passCase'> |
509 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.1.2')" > | ||
510 | - </a></span> | 509 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.1.2')" > |
510 | + 頝唾</a></span> | ||
511 | 511 | ||
512 | - <div id='div_pt1.1.2' class="popup_window"> | 512 | + <div id='div_st1.1.2' class="popup_window"> |
513 | <div style='text-align: right; color:red;cursor:pointer'> | 513 | <div style='text-align: right; color:red;cursor:pointer'> |
514 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.1.2').style.display = 'none' " > | 514 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.1.2').style.display = 'none' " > |
515 | [x]</a> | 515 | [x]</a> |
516 | </div> | 516 | </div> |
517 | <pre> | 517 | <pre> |
518 | 518 | ||
519 | -pt1.1.2: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | ||
520 | - | 519 | +st1.1.2: skip |
521 | 520 | ||
522 | </pre> | 521 | </pre> |
523 | </div> | 522 | </div> |
@@ -527,24 +526,23 @@ pt1.1.2: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | @@ -527,24 +526,23 @@ pt1.1.2: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | ||
527 | <td></td> | 526 | <td></td> |
528 | </tr> | 527 | </tr> |
529 | 528 | ||
530 | -<tr id='pt1.1.3' class='hiddenRow'> | ||
531 | - <td ><div class='testcase'>test_03_doAdd: 秤憓憓</div></td> | 529 | +<tr id='st1.1.3' class='none'> |
530 | + <td ><div class='testcase'>test_doAdd_03: 秤憓憓</div></td> | ||
532 | <td colspan='5' align='center'> | 531 | <td colspan='5' align='center'> |
533 | 532 | ||
534 | <!--css div popup start--> | 533 | <!--css div popup start--> |
535 | <span class='status passCase'> | 534 | <span class='status passCase'> |
536 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.1.3')" > | ||
537 | - </a></span> | 535 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.1.3')" > |
536 | + 頝唾</a></span> | ||
538 | 537 | ||
539 | - <div id='div_pt1.1.3' class="popup_window"> | 538 | + <div id='div_st1.1.3' class="popup_window"> |
540 | <div style='text-align: right; color:red;cursor:pointer'> | 539 | <div style='text-align: right; color:red;cursor:pointer'> |
541 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.1.3').style.display = 'none' " > | 540 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.1.3').style.display = 'none' " > |
542 | [x]</a> | 541 | [x]</a> |
543 | </div> | 542 | </div> |
544 | <pre> | 543 | <pre> |
545 | 544 | ||
546 | -pt1.1.3: {'code': '5000', 'message': '霂W恥靽⊥憭梯揖', 'result': '霂W恥靽⊥憭梯揖', 'success': False} | ||
547 | - | 545 | +st1.1.3: skip |
548 | 546 | ||
549 | </pre> | 547 | </pre> |
550 | </div> | 548 | </div> |
@@ -556,32 +554,31 @@ pt1.1.3: {'code': '5000', 'message': '霂W恥靽⊥憭梯揖', 'result': ' | @@ -556,32 +554,31 @@ pt1.1.3: {'code': '5000', 'message': '霂W恥靽⊥憭梯揖', 'result': ' | ||
556 | 554 | ||
557 | <tr class='passClass'> | 555 | <tr class='passClass'> |
558 | <td>doAudit.test_doAudit.test_doAudit: 霈啣恣</td> | 556 | <td>doAudit.test_doAudit.test_doAudit: 霈啣恣</td> |
559 | - <td>4</td> | ||
560 | - <td>4</td> | ||
561 | <td>0</td> | 557 | <td>0</td> |
562 | <td>0</td> | 558 | <td>0</td> |
563 | - <td><a href="javascript:showClassDetail('c1.2',4)">霂行</a></td> | 559 | + <td>0</td> |
560 | + <td>0</td> | ||
561 | + <td><a href="javascript:showClassDetail('c1.2',0)">霂行</a></td> | ||
564 | <td> </td> | 562 | <td> </td> |
565 | </tr> | 563 | </tr> |
566 | 564 | ||
567 | -<tr id='pt1.2.1' class='hiddenRow'> | ||
568 | - <td ><div class='testcase'>test_01_doAudit: 摰⊥</div></td> | 565 | +<tr id='st1.2.1' class='none'> |
566 | + <td ><div class='testcase'>test_doAudit_01: 摰⊥</div></td> | ||
569 | <td colspan='5' align='center'> | 567 | <td colspan='5' align='center'> |
570 | 568 | ||
571 | <!--css div popup start--> | 569 | <!--css div popup start--> |
572 | <span class='status passCase'> | 570 | <span class='status passCase'> |
573 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.2.1')" > | ||
574 | - </a></span> | 571 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.2.1')" > |
572 | + 頝唾</a></span> | ||
575 | 573 | ||
576 | - <div id='div_pt1.2.1' class="popup_window"> | 574 | + <div id='div_st1.2.1' class="popup_window"> |
577 | <div style='text-align: right; color:red;cursor:pointer'> | 575 | <div style='text-align: right; color:red;cursor:pointer'> |
578 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.2.1').style.display = 'none' " > | 576 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.2.1').style.display = 'none' " > |
579 | [x]</a> | 577 | [x]</a> |
580 | </div> | 578 | </div> |
581 | <pre> | 579 | <pre> |
582 | 580 | ||
583 | -pt1.2.1: {'code': '200', 'message': '', 'result': '', 'success': True} | ||
584 | - | 581 | +st1.2.1: skip |
585 | 582 | ||
586 | </pre> | 583 | </pre> |
587 | </div> | 584 | </div> |
@@ -591,24 +588,23 @@ pt1.2.1: {'code': '200', 'message': '', 'result': '', 's | @@ -591,24 +588,23 @@ pt1.2.1: {'code': '200', 'message': '', 'result': '', 's | ||
591 | <td></td> | 588 | <td></td> |
592 | </tr> | 589 | </tr> |
593 | 590 | ||
594 | -<tr id='pt1.2.2' class='hiddenRow'> | ||
595 | - <td ><div class='testcase'>test_02_doAudit: 摰⊥銝</div></td> | 591 | +<tr id='st1.2.2' class='none'> |
592 | + <td ><div class='testcase'>test_doAudit_02: 摰⊥銝</div></td> | ||
596 | <td colspan='5' align='center'> | 593 | <td colspan='5' align='center'> |
597 | 594 | ||
598 | <!--css div popup start--> | 595 | <!--css div popup start--> |
599 | <span class='status passCase'> | 596 | <span class='status passCase'> |
600 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.2.2')" > | ||
601 | - </a></span> | 597 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.2.2')" > |
598 | + 頝唾</a></span> | ||
602 | 599 | ||
603 | - <div id='div_pt1.2.2' class="popup_window"> | 600 | + <div id='div_st1.2.2' class="popup_window"> |
604 | <div style='text-align: right; color:red;cursor:pointer'> | 601 | <div style='text-align: right; color:red;cursor:pointer'> |
605 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.2.2').style.display = 'none' " > | 602 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.2.2').style.display = 'none' " > |
606 | [x]</a> | 603 | [x]</a> |
607 | </div> | 604 | </div> |
608 | <pre> | 605 | <pre> |
609 | 606 | ||
610 | -pt1.2.2: {'code': '200', 'message': '', 'result': '', 'success': True} | ||
611 | - | 607 | +st1.2.2: skip |
612 | 608 | ||
613 | </pre> | 609 | </pre> |
614 | </div> | 610 | </div> |
@@ -618,24 +614,23 @@ pt1.2.2: {'code': '200', 'message': '', 'result': '', 's | @@ -618,24 +614,23 @@ pt1.2.2: {'code': '200', 'message': '', 'result': '', 's | ||
618 | <td></td> | 614 | <td></td> |
619 | </tr> | 615 | </tr> |
620 | 616 | ||
621 | -<tr id='pt1.2.3' class='hiddenRow'> | ||
622 | - <td ><div class='testcase'>test_03_doAudit: 摰⊥銝</div></td> | 617 | +<tr id='st1.2.3' class='none'> |
618 | + <td ><div class='testcase'>test_doAudit_03: 摰⊥銝</div></td> | ||
623 | <td colspan='5' align='center'> | 619 | <td colspan='5' align='center'> |
624 | 620 | ||
625 | <!--css div popup start--> | 621 | <!--css div popup start--> |
626 | <span class='status passCase'> | 622 | <span class='status passCase'> |
627 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.2.3')" > | ||
628 | - </a></span> | 623 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.2.3')" > |
624 | + 頝唾</a></span> | ||
629 | 625 | ||
630 | - <div id='div_pt1.2.3' class="popup_window"> | 626 | + <div id='div_st1.2.3' class="popup_window"> |
631 | <div style='text-align: right; color:red;cursor:pointer'> | 627 | <div style='text-align: right; color:red;cursor:pointer'> |
632 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.2.3').style.display = 'none' " > | 628 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.2.3').style.display = 'none' " > |
633 | [x]</a> | 629 | [x]</a> |
634 | </div> | 630 | </div> |
635 | <pre> | 631 | <pre> |
636 | 632 | ||
637 | -pt1.2.3: {'code': '200', 'message': '', 'result': '', 'success': True} | ||
638 | - | 633 | +st1.2.3: skip |
639 | 634 | ||
640 | </pre> | 635 | </pre> |
641 | </div> | 636 | </div> |
@@ -645,24 +640,23 @@ pt1.2.3: {'code': '200', 'message': '', 'result': '', 's | @@ -645,24 +640,23 @@ pt1.2.3: {'code': '200', 'message': '', 'result': '', 's | ||
645 | <td></td> | 640 | <td></td> |
646 | </tr> | 641 | </tr> |
647 | 642 | ||
648 | -<tr id='pt1.2.4' class='hiddenRow'> | ||
649 | - <td ><div class='testcase'>test_04_doAudit: 摰⊥銝銝芸歇蝏恣霈啣</div></td> | 643 | +<tr id='st1.2.4' class='none'> |
644 | + <td ><div class='testcase'>test_doAudit_04: 摰⊥銝銝芸歇蝏恣霈啣</div></td> | ||
650 | <td colspan='5' align='center'> | 645 | <td colspan='5' align='center'> |
651 | 646 | ||
652 | <!--css div popup start--> | 647 | <!--css div popup start--> |
653 | <span class='status passCase'> | 648 | <span class='status passCase'> |
654 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.2.4')" > | ||
655 | - </a></span> | 649 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.2.4')" > |
650 | + 頝唾</a></span> | ||
656 | 651 | ||
657 | - <div id='div_pt1.2.4' class="popup_window"> | 652 | + <div id='div_st1.2.4' class="popup_window"> |
658 | <div style='text-align: right; color:red;cursor:pointer'> | 653 | <div style='text-align: right; color:red;cursor:pointer'> |
659 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.2.4').style.display = 'none' " > | 654 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.2.4').style.display = 'none' " > |
660 | [x]</a> | 655 | [x]</a> |
661 | </div> | 656 | </div> |
662 | <pre> | 657 | <pre> |
663 | 658 | ||
664 | -pt1.2.4: {'code': '5000', 'message': '仃韐伐歇', 'result': '仃韐伐歇', 'success': False} | ||
665 | - | 659 | +st1.2.4: skip |
666 | 660 | ||
667 | </pre> | 661 | </pre> |
668 | </div> | 662 | </div> |
@@ -672,36 +666,33 @@ pt1.2.4: {'code': '5000', 'message': '仃韐伐歇', 're | @@ -672,36 +666,33 @@ pt1.2.4: {'code': '5000', 'message': '仃韐伐歇', 're | ||
672 | <td></td> | 666 | <td></td> |
673 | </tr> | 667 | </tr> |
674 | 668 | ||
675 | -<tr class='failClass'> | 669 | +<tr class='passClass'> |
676 | <td>fieldConfig.test_fieldConfig.test_fieldConfig: Unittest靘恕霂</td> | 670 | <td>fieldConfig.test_fieldConfig.test_fieldConfig: Unittest靘恕霂</td> |
677 | - <td>3</td> | ||
678 | - <td>2</td> | ||
679 | - <td>1</td> | ||
680 | <td>0</td> | 671 | <td>0</td> |
681 | - <td><a href="javascript:showClassDetail('c1.3',3)">霂行</a></td> | 672 | + <td>0</td> |
673 | + <td>0</td> | ||
674 | + <td>0</td> | ||
675 | + <td><a href="javascript:showClassDetail('c1.3',0)">霂行</a></td> | ||
682 | <td> </td> | 676 | <td> </td> |
683 | </tr> | 677 | </tr> |
684 | 678 | ||
685 | -<tr id='pt1.3.1' class='hiddenRow'> | ||
686 | - <td ><div class='testcase'>test_01_fieldConfig: demo</div></td> | 679 | +<tr id='st1.3.1' class='none'> |
680 | + <td ><div class='testcase'>test_fieldConfig_01: demo</div></td> | ||
687 | <td colspan='5' align='center'> | 681 | <td colspan='5' align='center'> |
688 | 682 | ||
689 | <!--css div popup start--> | 683 | <!--css div popup start--> |
690 | <span class='status passCase'> | 684 | <span class='status passCase'> |
691 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.3.1')" > | ||
692 | - </a></span> | 685 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.3.1')" > |
686 | + 頝唾</a></span> | ||
693 | 687 | ||
694 | - <div id='div_pt1.3.1' class="popup_window"> | 688 | + <div id='div_st1.3.1' class="popup_window"> |
695 | <div style='text-align: right; color:red;cursor:pointer'> | 689 | <div style='text-align: right; color:red;cursor:pointer'> |
696 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.3.1').style.display = 'none' " > | 690 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.3.1').style.display = 'none' " > |
697 | [x]</a> | 691 | [x]</a> |
698 | </div> | 692 | </div> |
699 | <pre> | 693 | <pre> |
700 | 694 | ||
701 | -pt1.3.1: setUp | ||
702 | -test_01_fieldConfig | ||
703 | -tearDown | ||
704 | - | 695 | +st1.3.1: skip |
705 | 696 | ||
706 | </pre> | 697 | </pre> |
707 | </div> | 698 | </div> |
@@ -711,26 +702,23 @@ tearDown | @@ -711,26 +702,23 @@ tearDown | ||
711 | <td></td> | 702 | <td></td> |
712 | </tr> | 703 | </tr> |
713 | 704 | ||
714 | -<tr id='pt1.3.2' class='hiddenRow'> | ||
715 | - <td ><div class='testcase'>test_02_fieldConfig: demo</div></td> | 705 | +<tr id='st1.3.2' class='none'> |
706 | + <td ><div class='testcase'>test_fieldConfig_02: demo</div></td> | ||
716 | <td colspan='5' align='center'> | 707 | <td colspan='5' align='center'> |
717 | 708 | ||
718 | <!--css div popup start--> | 709 | <!--css div popup start--> |
719 | <span class='status passCase'> | 710 | <span class='status passCase'> |
720 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.3.2')" > | ||
721 | - </a></span> | 711 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.3.2')" > |
712 | + 頝唾</a></span> | ||
722 | 713 | ||
723 | - <div id='div_pt1.3.2' class="popup_window"> | 714 | + <div id='div_st1.3.2' class="popup_window"> |
724 | <div style='text-align: right; color:red;cursor:pointer'> | 715 | <div style='text-align: right; color:red;cursor:pointer'> |
725 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.3.2').style.display = 'none' " > | 716 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.3.2').style.display = 'none' " > |
726 | [x]</a> | 717 | [x]</a> |
727 | </div> | 718 | </div> |
728 | <pre> | 719 | <pre> |
729 | 720 | ||
730 | -pt1.3.2: setUp | ||
731 | -test_02_fieldConfig | ||
732 | -tearDown | ||
733 | - | 721 | +st1.3.2: skip |
734 | 722 | ||
735 | </pre> | 723 | </pre> |
736 | </div> | 724 | </div> |
@@ -740,30 +728,23 @@ tearDown | @@ -740,30 +728,23 @@ tearDown | ||
740 | <td></td> | 728 | <td></td> |
741 | </tr> | 729 | </tr> |
742 | 730 | ||
743 | -<tr id='ft1.3.3' class='none'> | ||
744 | - <td ><div class='testcase'>test_03_fieldConfig: demo</div></td> | 731 | +<tr id='st1.3.3' class='none'> |
732 | + <td ><div class='testcase'>test_fieldConfig_03: demo</div></td> | ||
745 | <td colspan='5' align='center'> | 733 | <td colspan='5' align='center'> |
746 | 734 | ||
747 | <!--css div popup start--> | 735 | <!--css div popup start--> |
748 | - <span class='status failCase'> | ||
749 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft1.3.3')" > | ||
750 | - 憭梯揖</a></span> | 736 | + <span class='status passCase'> |
737 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.3.3')" > | ||
738 | + 頝唾</a></span> | ||
751 | 739 | ||
752 | - <div id='div_ft1.3.3' class="popup_window"> | 740 | + <div id='div_st1.3.3' class="popup_window"> |
753 | <div style='text-align: right; color:red;cursor:pointer'> | 741 | <div style='text-align: right; color:red;cursor:pointer'> |
754 | - <a onfocus='this.blur();' onclick="document.getElementById('div_ft1.3.3').style.display = 'none' " > | 742 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.3.3').style.display = 'none' " > |
755 | [x]</a> | 743 | [x]</a> |
756 | </div> | 744 | </div> |
757 | <pre> | 745 | <pre> |
758 | 746 | ||
759 | -ft1.3.3: setUp | ||
760 | -test_03_fieldConfig | ||
761 | -tearDown | ||
762 | -Traceback (most recent call last): | ||
763 | - File "E:\EclipseWorkspace\WorksapceDemo\Request-demo-dili\src\testcase\fieldConfig\test_fieldConfig.py", line 28, in test_03_fieldConfig | ||
764 | - self.assertEqual(100, 200, "瘚蝙") | ||
765 | -AssertionError: 100 != 200 : 瘚蝙 | ||
766 | - | 747 | +st1.3.3: skip |
767 | 748 | ||
768 | </pre> | 749 | </pre> |
769 | </div> | 750 | </div> |
@@ -774,7 +755,7 @@ AssertionError: 100 != 200 : 瘚蝙 | @@ -774,7 +755,7 @@ AssertionError: 100 != 200 : 瘚蝙 | ||
774 | </tr> | 755 | </tr> |
775 | 756 | ||
776 | <tr id='st1.3.4' class='none'> | 757 | <tr id='st1.3.4' class='none'> |
777 | - <td ><div class='testcase'>test_04_fieldConfig</div></td> | 758 | + <td ><div class='testcase'>test_fieldConfig_04</div></td> |
778 | <td colspan='5' align='center'> | 759 | <td colspan='5' align='center'> |
779 | 760 | ||
780 | <!--css div popup start--> | 761 | <!--css div popup start--> |
@@ -801,32 +782,31 @@ st1.3.4: 銵撘箏頝唾砲靘 | @@ -801,32 +782,31 @@ st1.3.4: 銵撘箏頝唾砲靘 | ||
801 | 782 | ||
802 | <tr class='passClass'> | 783 | <tr class='passClass'> |
803 | <td>login.test_login.test_login: 敶</td> | 784 | <td>login.test_login.test_login: 敶</td> |
804 | - <td>3</td> | ||
805 | - <td>3</td> | ||
806 | <td>0</td> | 785 | <td>0</td> |
807 | <td>0</td> | 786 | <td>0</td> |
808 | - <td><a href="javascript:showClassDetail('c1.4',3)">霂行</a></td> | 787 | + <td>0</td> |
788 | + <td>0</td> | ||
789 | + <td><a href="javascript:showClassDetail('c1.4',0)">霂行</a></td> | ||
809 | <td> </td> | 790 | <td> </td> |
810 | </tr> | 791 | </tr> |
811 | 792 | ||
812 | -<tr id='pt1.4.1' class='hiddenRow'> | ||
813 | - <td ><div class='testcase'>test_01_login: 韐行撖甇&</div></td> | 793 | +<tr id='st1.4.1' class='none'> |
794 | + <td ><div class='testcase'>test_login_01: 韐行撖甇&</div></td> | ||
814 | <td colspan='5' align='center'> | 795 | <td colspan='5' align='center'> |
815 | 796 | ||
816 | <!--css div popup start--> | 797 | <!--css div popup start--> |
817 | <span class='status passCase'> | 798 | <span class='status passCase'> |
818 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.4.1')" > | ||
819 | - </a></span> | 799 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.4.1')" > |
800 | + 頝唾</a></span> | ||
820 | 801 | ||
821 | - <div id='div_pt1.4.1' class="popup_window"> | 802 | + <div id='div_st1.4.1' class="popup_window"> |
822 | <div style='text-align: right; color:red;cursor:pointer'> | 803 | <div style='text-align: right; color:red;cursor:pointer'> |
823 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.4.1').style.display = 'none' " > | 804 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.4.1').style.display = 'none' " > |
824 | [x]</a> | 805 | [x]</a> |
825 | </div> | 806 | </div> |
826 | <pre> | 807 | <pre> |
827 | 808 | ||
828 | -pt1.4.1: {'Access-Control-Expose-Headers': 'UAP_accessToken', 'Cache-Control': 'no-store', 'Set-Cookie': 'UAP_accessToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJXRUIiLCJuYmYiOjE2MjQ1Mjc1NDYsImRhdGEiOiJ7XCJjZWxscGhvbmVcIjpcIjE2MTExMTExMTExXCIsXCJjcmVhdGVkXCI6MTYwNDkwNzk2NzAwMCxcImRlcGFydG1lbnRJZFwiOjkwLFwiZGVzY3JpcHRpb25cIjpcIjY2NlwiLFwiZW1haWxcIjpcIjY2NkBkaWxpZ3JwLmNvbVwiLFwiZmlybUNvZGVcIjpcInNnXCIsXCJmaXJtSWRcIjo4LFwiZmlybU5hbWVcIjpcIuWvv-WFieWcsOWIqeWGnOWJr-S6p-WTgeaciemZkOWFrOWPuFwiLFwiZ2VuZGVyXCI6MCxcImlkXCI6MjEwLFwibGFzdExvZ2luVGltZVwiOjE2MjQ1Mjc1NDY3NTYsXCJsb2NrZWRcIjoxNjIzODMyMzQwMDAwLFwibWV0YWRhdGFcIjp7fSxcIm1vZGlmaWVkXCI6MTYyMzgzMjQ3NTAwMCxcInBhc3N3b3JkXCI6XCIxODk2NUVCNzJDOTJBNTQ5RERcIixcInJlYWxOYW1lXCI6XCLlr7_lhYnmuq_mupDlk59cIixcInNlcmlhbE51bWJlclwiOlwiMDAwXCIsXCJzdGF0ZVwiOjEsXCJzeXN0ZW1UeXBlXCI6MSxcInVzZXJOYW1lXCI6XCJzZ193ZW56ZVwifSIsImlzcyI6IlVBUF9BVVRIMCIsImV4cCI6MTYyNDUyOTM0NiwiaWF0IjoxNjI0NTI3NTQ2LCJqdGkiOiI3YTI1OGU2ZS03MjIwLTRjNzItOTc5MS1kMDVjOTQ5NDIxMDEifQ.CasRpHtP2ey_Z_05Xrw-F56OZf84WQ04mNGY-GN_J3kcLOhrX3CfMzGlRXrBu1QrdpF76ikVl_kHrWzDd3TLkp2JXR2FEGsjY9aIjN8jbzdOtyhqx1mb6Dpz3zm1JTL2tepgQxPs5PW8e32iN4NdelHMKtOJluB9qxItpmFHhGU; Max-Age=86400; Expires=Fri, 25-Jun-2021 09:39:06 GMT; Domain=diligrp.com; Path=/; HttpOnly, UAP_refreshToken=1b2dfd34-b741-4b2e-83df-338842d09466; Max-Age=86400; Expires=Fri, 25-Jun-2021 09:39:06 GMT; Domain=diligrp.com; Path=/; HttpOnly, UAP_loginPath=http%3A%2F%2Ftest.uap.diligrp.com%2Flogin%2Findex.html; Max-Age=86400; Expires=Fri, 25-Jun-2021 09:39:06 GMT; Domain=diligrp.com; Path=/; HttpOnly', 'Location': '/index/index.html', 'Content-Language': 'zh-CN', 'Content-Length': '0', 'Date': 'Thu, 24 Jun 2021 09:39:06 GMT', 'Keep-Alive': 'timeout=60', 'Connection': 'keep-alive'} | ||
829 | - | 809 | +st1.4.1: skip |
830 | 810 | ||
831 | </pre> | 811 | </pre> |
832 | </div> | 812 | </div> |
@@ -836,168 +816,49 @@ pt1.4.1: {'Access-Control-Expose-Headers': 'UAP_accessToken', 'Cache-Control': ' | @@ -836,168 +816,49 @@ pt1.4.1: {'Access-Control-Expose-Headers': 'UAP_accessToken', 'Cache-Control': ' | ||
836 | <td></td> | 816 | <td></td> |
837 | </tr> | 817 | </tr> |
838 | 818 | ||
839 | -<tr id='pt1.4.2' class='hiddenRow'> | ||
840 | - <td ><div class='testcase'>test_02_login: 撖秤</div></td> | 819 | +<tr id='st1.4.2' class='none'> |
820 | + <td ><div class='testcase'>test_login_02: 撖秤</div></td> | ||
841 | <td colspan='5' align='center'> | 821 | <td colspan='5' align='center'> |
842 | 822 | ||
843 | <!--css div popup start--> | 823 | <!--css div popup start--> |
844 | <span class='status passCase'> | 824 | <span class='status passCase'> |
845 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.4.2')" > | ||
846 | - </a></span> | 825 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.4.2')" > |
826 | + 頝唾</a></span> | ||
847 | 827 | ||
848 | - <div id='div_pt1.4.2' class="popup_window"> | 828 | + <div id='div_st1.4.2' class="popup_window"> |
849 | <div style='text-align: right; color:red;cursor:pointer'> | 829 | <div style='text-align: right; color:red;cursor:pointer'> |
850 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.4.2').style.display = 'none' " > | 830 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.4.2').style.display = 'none' " > |
851 | [x]</a> | 831 | [x]</a> |
852 | </div> | 832 | </div> |
853 | <pre> | 833 | <pre> |
854 | 834 | ||
855 | -pt1.4.2: <!DOCTYPE html> | ||
856 | -<html lang="zh-CN"> | ||
857 | - | ||
858 | -<head> | ||
859 | - <meta charset="UTF-8" /> | ||
860 | - <title>蝏蝞∠像</title> | ||
861 | - <meta name="renderer" content="webkit"> | ||
862 | - <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
863 | - <meta name="keywords" content="uap" /> | ||
864 | - <meta name="description" content="蝏蝞∠像" /> | ||
865 | - <meta name="author" content="dili"> | ||
866 | - <style> | ||
867 | - /*瘨google瘚暺獢*/ | ||
868 | - input:-webkit-autofill, | ||
869 | - input:-webkit-autofill:hover, | ||
870 | - input:-webkit-autofill:focus { | ||
871 | - box-shadow:0 0 0 60px #FFF inset; | ||
872 | - -webkit-text-fill-color: #666; | ||
873 | - } | ||
874 | - </style> | ||
875 | - <!-- jquery --> | ||
876 | - <link rel="shortcut icon" href="/resources/images/icon/dili-logo.png" /> | ||
877 | - <script type="text/javascript" src="/resources/easyui/js/jquery-3.2.1.min.js"></script> | ||
878 | - <link rel="stylesheet" type="text/css" href="/resources/css/login.css"> | ||
879 | -</head> | ||
880 | - | ||
881 | -<body> | ||
882 | -<div class="loginwrap"> | ||
883 | - <div class="login"> | ||
884 | - <h2 class="login-title"><img src="/resources/images/login-title.png" alt="蝏蝞∠像"></h2> | ||
885 | - | ||
886 | - <form id="loginForm" class="login-form" method="post" action="/login/login.action"> | ||
887 | - <table class="userinfo"> | ||
888 | - <tbody> | ||
889 | - <tr> | ||
890 | - <td width="40" class="login-icon login-user-icon"></td> | ||
891 | - <td> | ||
892 | - <input id="userName" name="userName" value="" type="text" placeholder="霂瑁韐血" /> | ||
893 | - </td> | ||
894 | - </tr> | ||
895 | - <tr> | ||
896 | - <td width="40" class="login-icon login-password-icon"></td> | ||
897 | - <td> | ||
898 | - <input id="password" name="password" value="" type="password" placeholder="霂瑁撖" /> | ||
899 | - </td> | ||
900 | - </tr> | ||
901 | - <!--<tr> | ||
902 | - <td colspan="2"><label id="msg"></label></td> | ||
903 | - </tr> | ||
904 | - <tr> | ||
905 | - <td colspan="2"> | ||
906 | - <input type="button" class="submit" value="敶" onclick="doLogin()"> | ||
907 | - </td> | ||
908 | - </tr>--> | ||
909 | - </tbody> | ||
910 | - </table> | ||
911 | - <div id="msg" class="login-msg"></div> | ||
912 | - <div class=""> | ||
913 | - <input type="button" class="submit" value="敶" onclick="doLogin()"> | ||
914 | - </div> | ||
915 | - <div style="margin-top:25px; text-align: center"> | ||
916 | - <a target="_blank" href="/static/clientDownload.html">摰X蝡臭蝸</a> | ||
917 | - </div> | ||
918 | - </form> | ||
919 | - <div id="errMsg"></div> | ||
920 | - </div> | ||
921 | -</div> | ||
922 | - | ||
923 | -<script type="text/javascript"> | ||
924 | - function doLogin() { | ||
925 | - var username = document.getElementById("userName").value; | ||
926 | - if (null == username || "" == username) { | ||
927 | - $("#msg").html("韐血銝銝箇征"); | ||
928 | - return false; | ||
929 | - } | 835 | +st1.4.2: skip |
930 | 836 | ||
931 | - var password = document.getElementById("password").value; | ||
932 | - if (null == password || "" == password) { | ||
933 | - $("#msg").html("撖銝箇征"); | ||
934 | - return false; | ||
935 | - } | ||
936 | - if(username.length < 2 || username.length > 20){ | ||
937 | - $("#msg").html("摨虫撠2雿之鈭20雿"); | ||
938 | - return false; | ||
939 | - } | ||
940 | - if(password.length < 6 || password.length > 20){ | ||
941 | - $("#msg").html("撖摨虫撠6雿之鈭20雿"); | ||
942 | - return false; | ||
943 | - } | ||
944 | - if(!validUserName(username)){ | ||
945 | - $("#msg").html("銝剜摮瑪"); | ||
946 | - return false; | ||
947 | - } | ||
948 | - | ||
949 | - document.getElementById("loginForm").submit(); | ||
950 | - } | ||
951 | - | ||
952 | - /******************************************************************************* | ||
953 | - * 蝏”掩膠鈭辣 | ||
954 | - * | ||
955 | - * @param formId | ||
956 | - * 銵典 | ||
957 | - * @param element | ||
958 | - * 掩 (input/select/radio/...) | ||
959 | - * @param subFunction | ||
960 | - * 膠銵s | ||
961 | - * @param eventName | ||
962 | - * 辣 (keyup/keydown/keypress...) | ||
963 | - */ | ||
964 | - function bindEnter(formId, element, subFunction, eventName) { | ||
965 | - $("#" + formId + " " + element).bind(eventName, function(event) { | ||
966 | - //膠 | ||
967 | - if (event.keyCode == '13') { | ||
968 | - subFunction(); | ||
969 | - } | ||
970 | - }); | ||
971 | - } | ||
972 | - | ||
973 | - | ||
974 | - /******************************************************************************* | ||
975 | - * 銵典膠鈭辣蝏 銵典 | ||
976 | - * @param formId | ||
977 | - * @param subFunction 膠閬銵 | ||
978 | - */ | ||
979 | - function bindFormEvent(formId, subFunction) { | ||
980 | - if (subFunction && subFunction != null) { | ||
981 | - bindEnter(formId, 'input', subFunction, 'keyup'); | ||
982 | - } | ||
983 | - } | 837 | + </pre> |
838 | + </div> | ||
839 | + <!--css div popup end--> | ||
984 | 840 | ||
985 | - function validUserName(value) { | ||
986 | - return /^[a-zA-Z0-9\u4e00-\u9fa5_]+$/.test(value); | ||
987 | - } | 841 | + </td> |
842 | + <td></td> | ||
843 | +</tr> | ||
988 | 844 | ||
989 | - $(function() { | ||
990 | - $("#msg").html("秤"); | ||
991 | - window.setTimeout(function() { | ||
992 | - $("#userName").focus(); | ||
993 | - }, 0); | ||
994 | - bindFormEvent("loginForm", doLogin); | ||
995 | - }); | ||
996 | -</script> | ||
997 | -</body> | 845 | +<tr id='st1.4.3' class='none'> |
846 | + <td ><div class='testcase'>test_login_03: 韐行秤</div></td> | ||
847 | + <td colspan='5' align='center'> | ||
998 | 848 | ||
999 | -</html> | 849 | + <!--css div popup start--> |
850 | + <span class='status passCase'> | ||
851 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.4.3')" > | ||
852 | + 頝唾</a></span> | ||
1000 | 853 | ||
854 | + <div id='div_st1.4.3' class="popup_window"> | ||
855 | + <div style='text-align: right; color:red;cursor:pointer'> | ||
856 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.4.3').style.display = 'none' " > | ||
857 | + [x]</a> | ||
858 | + </div> | ||
859 | + <pre> | ||
860 | + | ||
861 | +st1.4.3: skip | ||
1001 | 862 | ||
1002 | </pre> | 863 | </pre> |
1003 | </div> | 864 | </div> |
@@ -1007,40 +868,33 @@ pt1.4.2: &lt;!DOCTYPE html&gt; | @@ -1007,40 +868,33 @@ pt1.4.2: &lt;!DOCTYPE html&gt; | ||
1007 | <td></td> | 868 | <td></td> |
1008 | </tr> | 869 | </tr> |
1009 | 870 | ||
1010 | -<tr id='pt1.4.3' class='hiddenRow'> | ||
1011 | - <td><div class='testcase'>test_03_login: 韐行秤</div></td> | ||
1012 | - <td colspan='5' align='center'><span class='status passCase'></span></td> | ||
1013 | - <td></td> | ||
1014 | -</tr> | ||
1015 | - | ||
1016 | <tr class='passClass'> | 871 | <tr class='passClass'> |
1017 | <td>logout.test_logout.test_logout: 憓霈唳</td> | 872 | <td>logout.test_logout.test_logout: 憓霈唳</td> |
1018 | - <td>1</td> | ||
1019 | - <td>1</td> | ||
1020 | <td>0</td> | 873 | <td>0</td> |
1021 | <td>0</td> | 874 | <td>0</td> |
1022 | - <td><a href="javascript:showClassDetail('c1.5',1)">霂行</a></td> | 875 | + <td>0</td> |
876 | + <td>0</td> | ||
877 | + <td><a href="javascript:showClassDetail('c1.5',0)">霂行</a></td> | ||
1023 | <td> </td> | 878 | <td> </td> |
1024 | </tr> | 879 | </tr> |
1025 | 880 | ||
1026 | -<tr id='pt1.5.1' class='hiddenRow'> | ||
1027 | - <td ><div class='testcase'>test_01_logout: 韐行</div></td> | 881 | +<tr id='st1.5.1' class='none'> |
882 | + <td ><div class='testcase'>test_logout_01: 韐行</div></td> | ||
1028 | <td colspan='5' align='center'> | 883 | <td colspan='5' align='center'> |
1029 | 884 | ||
1030 | <!--css div popup start--> | 885 | <!--css div popup start--> |
1031 | <span class='status passCase'> | 886 | <span class='status passCase'> |
1032 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.5.1')" > | ||
1033 | - </a></span> | 887 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.5.1')" > |
888 | + 頝唾</a></span> | ||
1034 | 889 | ||
1035 | - <div id='div_pt1.5.1' class="popup_window"> | 890 | + <div id='div_st1.5.1' class="popup_window"> |
1036 | <div style='text-align: right; color:red;cursor:pointer'> | 891 | <div style='text-align: right; color:red;cursor:pointer'> |
1037 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.5.1').style.display = 'none' " > | 892 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.5.1').style.display = 'none' " > |
1038 | [x]</a> | 893 | [x]</a> |
1039 | </div> | 894 | </div> |
1040 | <pre> | 895 | <pre> |
1041 | 896 | ||
1042 | -pt1.5.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | ||
1043 | - | 897 | +st1.5.1: skip |
1044 | 898 | ||
1045 | </pre> | 899 | </pre> |
1046 | </div> | 900 | </div> |
@@ -1052,16 +906,16 @@ pt1.5.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | @@ -1052,16 +906,16 @@ pt1.5.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | ||
1052 | 906 | ||
1053 | <tr class='passClass'> | 907 | <tr class='passClass'> |
1054 | <td>upStream.test_upStream.test_upStream: 銝虜隡”霂X</td> | 908 | <td>upStream.test_upStream.test_upStream: 銝虜隡”霂X</td> |
1055 | - <td>2</td> | ||
1056 | - <td>2</td> | 909 | + <td>1</td> |
910 | + <td>1</td> | ||
1057 | <td>0</td> | 911 | <td>0</td> |
1058 | <td>0</td> | 912 | <td>0</td> |
1059 | - <td><a href="javascript:showClassDetail('c1.6',2)">霂行</a></td> | 913 | + <td><a href="javascript:showClassDetail('c1.6',1)">霂行</a></td> |
1060 | <td> </td> | 914 | <td> </td> |
1061 | </tr> | 915 | </tr> |
1062 | 916 | ||
1063 | <tr id='pt1.6.1' class='hiddenRow'> | 917 | <tr id='pt1.6.1' class='hiddenRow'> |
1064 | - <td ><div class='testcase'>test_01_upStream: 霂V虜隡,誘隞</div></td> | 918 | + <td ><div class='testcase'>test_upStream_01: 霂V虜隡,誘隞</div></td> |
1065 | <td colspan='5' align='center'> | 919 | <td colspan='5' align='center'> |
1066 | 920 | ||
1067 | <!--css div popup start--> | 921 | <!--css div popup start--> |
@@ -1076,7 +930,7 @@ pt1.5.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | @@ -1076,7 +930,7 @@ pt1.5.1: {'code': '200', 'message': 'OK', 'result': 'OK', 'success': True} | ||
1076 | </div> | 930 | </div> |
1077 | <pre> | 931 | <pre> |
1078 | 932 | ||
1079 | -pt1.6.1: {'total': 219, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-24 15:08:51', 'idCard': '513000119930208155', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475463', 'cardNoFrontUrl': '', 'name': '', 'modified': '2021-06-24 15:08:51', 'userNames': '憭扳╪摰', 'id': 359, 'sourceUserId': 131321, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-23 16:34:50', 'businessLicenseUrl': 'c5806086695045808e6cbdacfc9dceff', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '123456', 'legalPerson': '22', 'telphone': '15623333333', 'name': '22', 'modified': '2021-06-23 16:34:50', 'userNames': '', 'id': 358, 'sourceUserId': 130495, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-17 17:32:11', 'idCard': '513001199802081052', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475463', 'cardNoFrontUrl': '', 'name': '15643', 'modified': '2021-06-17 17:32:11', 'userNames': '蝣', 'id': 357, 'sourceUserId': 131272, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-11 14:56:28', 'idCard': '513001199802081528', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475125', 'cardNoFrontUrl': '', 'name': '', 'modified': '2021-06-11 14:56:28', 'userNames': '蝣', 'id': 356, 'sourceUserId': 131272, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:07:43', 'idCard': '110101198001011339', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '13111111111', 'cardNoFrontUrl': '', 'name': '001', 'modified': '2021-06-01 15:07:43', 'userNames': '銝瘚', 'id': 353, 'sourceUserId': 131214, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:07:10', 'businessLicenseUrl': '', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '333', 'legalPerson': '111', 'telphone': '222', 'name': '001', 'modified': '2021-06-01 15:07:10', 'userNames': '銝瘚', 'id': 352, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:06:40', 'businessLicenseUrl': '', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '', 'legalPerson': '', 'telphone': '', 'name': '銝虜', 'modified': '2021-06-01 15:06:40', 'userNames': '銝瘚', 'id': 351, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-01 15:06:09', 'businessLicenseUrl': '04b99e521f0947039e5a6497184ac941', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '111', 'legalPerson': '111', 'telphone': '13111111111', 'name': '隡002', 'modified': '2021-06-01 15:06:09', 'userNames': '銝瘚', 'id': 350, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-01 15:04:45', 'idCard': '', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '13111111111', 'cardNoFrontUrl': '', 'name': '銝芯犖銝虜2', 'modified': '2021-06-01 15:04:45', 'userNames': '銝瘚', 'id': 349, 'sourceUserId': 131214, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-01 15:03:42', 'idCard': '513001199802085214', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475432', 'cardNoFrontUrl': '0c00b78286e8475d90c31021e074cdd5', 'name': '撖', 'modified': '2021-06-01 15:03:42', 'userNames': '銝瘚', 'id': 348, 'sourceUserId': 131214, 'upstreamType': '銝芯犖'}]} | 933 | +pt1.6.1: {'total': 220, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-28 14:55:44', 'businessLicenseUrl': '7e449880e6014e8698bf52fd58122023', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '1123456', 'legalPerson': '', 'telphone': '18722222222', 'name': '憭', 'modified': '2021-06-28 14:55:44', 'userNames': '憸之', 'id': 360, 'sourceUserId': 616, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-24 15:08:51', 'idCard': '513000119930208155', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475463', 'cardNoFrontUrl': '', 'name': '', 'modified': '2021-06-24 15:08:51', 'userNames': '憭扳╪摰', 'id': 359, 'sourceUserId': 131321, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-23 16:34:50', 'businessLicenseUrl': 'c5806086695045808e6cbdacfc9dceff', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '123456', 'legalPerson': '22', 'telphone': '15623333333', 'name': '22', 'modified': '2021-06-23 16:34:50', 'userNames': '', 'id': 358, 'sourceUserId': 130495, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-17 17:32:11', 'idCard': '513001199802081052', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475463', 'cardNoFrontUrl': '', 'name': '15643', 'modified': '2021-06-17 17:32:11', 'userNames': '蝣', 'id': 357, 'sourceUserId': 131272, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-11 14:56:28', 'idCard': '513001199802081528', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380475125', 'cardNoFrontUrl': '', 'name': '', 'modified': '2021-06-11 14:56:28', 'userNames': '蝣', 'id': 356, 'sourceUserId': 131272, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:07:43', 'idCard': '110101198001011339', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '13111111111', 'cardNoFrontUrl': '', 'name': '001', 'modified': '2021-06-01 15:07:43', 'userNames': '銝瘚', 'id': 353, 'sourceUserId': 131214, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:07:10', 'businessLicenseUrl': '', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '333', 'legalPerson': '111', 'telphone': '222', 'name': '001', 'modified': '2021-06-01 15:07:10', 'userNames': '銝瘚', 'id': 352, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 20, 'created': '2021-06-01 15:06:40', 'businessLicenseUrl': '', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '', 'legalPerson': '', 'telphone': '', 'name': '銝虜', 'modified': '2021-06-01 15:06:40', 'userNames': '銝瘚', 'id': 351, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-01 15:06:09', 'businessLicenseUrl': '04b99e521f0947039e5a6497184ac941', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '111', 'legalPerson': '111', 'telphone': '13111111111', 'name': '隡002', 'modified': '2021-06-01 15:06:09', 'userNames': '銝瘚', 'id': 350, 'sourceUserId': 131214, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-06-01 15:04:45', 'idCard': '', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '13111111111', 'cardNoFrontUrl': '', 'name': '銝芯犖銝虜2', 'modified': '2021-06-01 15:04:45', 'userNames': '銝瘚', 'id': 349, 'sourceUserId': 131214, 'upstreamType': '銝芯犖'}]} |
1080 | 934 | ||
1081 | 935 | ||
1082 | </pre> | 936 | </pre> |
@@ -1087,24 +941,23 @@ pt1.6.1: {'total': 219, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'creat | @@ -1087,24 +941,23 @@ pt1.6.1: {'total': 219, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'creat | ||
1087 | <td></td> | 941 | <td></td> |
1088 | </tr> | 942 | </tr> |
1089 | 943 | ||
1090 | -<tr id='pt1.6.2' class='hiddenRow'> | ||
1091 | - <td ><div class='testcase'>test_02_upStream: 霂V虜隡,隡/銝芯犖妍餈誘隞</div></td> | 944 | +<tr id='st1.6.2' class='none'> |
945 | + <td ><div class='testcase'>test_upStream_02: 霂V虜隡,隡/銝芯犖妍餈誘隞</div></td> | ||
1092 | <td colspan='5' align='center'> | 946 | <td colspan='5' align='center'> |
1093 | 947 | ||
1094 | <!--css div popup start--> | 948 | <!--css div popup start--> |
1095 | <span class='status passCase'> | 949 | <span class='status passCase'> |
1096 | - <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.6.2')" > | ||
1097 | - </a></span> | 950 | + <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_st1.6.2')" > |
951 | + 頝唾</a></span> | ||
1098 | 952 | ||
1099 | - <div id='div_pt1.6.2' class="popup_window"> | 953 | + <div id='div_st1.6.2' class="popup_window"> |
1100 | <div style='text-align: right; color:red;cursor:pointer'> | 954 | <div style='text-align: right; color:red;cursor:pointer'> |
1101 | - <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.6.2').style.display = 'none' " > | 955 | + <a onfocus='this.blur();' onclick="document.getElementById('div_st1.6.2').style.display = 'none' " > |
1102 | [x]</a> | 956 | [x]</a> |
1103 | </div> | 957 | </div> |
1104 | <pre> | 958 | <pre> |
1105 | 959 | ||
1106 | -pt1.6.2: {'total': 5, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-05-10 09:42:51', 'idCard': '', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '13540782311', 'cardNoFrontUrl': '', 'name': '111', 'modified': '2021-05-10 09:42:51', 'userNames': '憸之', 'id': 333, 'sourceUserId': 616, 'upstreamType': '銝芯犖'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-04-07 17:32:14', 'businessLicenseUrl': 'f8eae081aa35426d975406a03a4fd062', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '111', 'legalPerson': '', 'telphone': '13111111111', 'name': '隡虜111', 'modified': '2021-04-07 17:32:14', 'userNames': '霂亙', 'id': 274, 'sourceUserId': 617, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-01-21 11:49:27', 'businessLicenseUrl': '8478adbc99224b5f812b54b931e93e30', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': '', 'license': '18989898989', 'legalPerson': '銝虜111', 'telphone': '18989898989', 'name': '銝虜111繚', 'modified': '2021-01-21 17:30:59', 'userNames': '瘚', 'id': 173, 'sourceUserId': 519, 'manufacturingLicenseUrl': '', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-01-14 14:53:44', 'businessLicenseUrl': '1993ceeb24504f43b16f06028ddd7ec7', '$_upstreamType': 20, 'marketId': 8, 'operationLicenseUrl': 'dd51ffc5f20944bc9c57d64b148f4b2f', 'license': '19925360686', 'legalPerson': '瘜犖000001111111', 'telphone': '19925360686', 'name': '銝虜隡0011111110000111', 'modified': '2021-01-14 14:53:44', 'userNames': 'null', 'id': 148, 'sourceUserId': 500, 'manufacturingLicenseUrl': '277ea39c03f94160a2cbe6d7dc3ec4f4', 'upstreamType': '隡'}, {'upORdown': '銝虜', '$_upORdown': 10, 'created': '2021-01-07 14:12:31', 'idCard': '513001199302081011', '$_upstreamType': 10, 'marketId': 8, 'cardNoBackUrl': '', 'telphone': '18380454588', 'cardNoFrontUrl': '', 'name': '111', 'modified': '2021-01-07 14:12:31', 'userNames': 'null', 'id': 102, 'sourceUserId': 438, 'upstreamType': '銝芯犖'}]} | ||
1107 | - | 960 | +st1.6.2: skip |
1108 | 961 | ||
1109 | </pre> | 962 | </pre> |
1110 | </div> | 963 | </div> |
@@ -1116,9 +969,9 @@ pt1.6.2: {'total': 5, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created | @@ -1116,9 +969,9 @@ pt1.6.2: {'total': 5, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created | ||
1116 | 969 | ||
1117 | <tr id='total_row'> | 970 | <tr id='total_row'> |
1118 | <th>蝏恣</th> | 971 | <th>蝏恣</th> |
1119 | - <th>16</th> | ||
1120 | - <th>15</th> | ||
1121 | - <th>1</th> | 972 | + <th>2</th> |
973 | + <th>2</th> | ||
974 | + <th>0</th> | ||
1122 | <th>0</th> | 975 | <th>0</th> |
1123 | <th> </th> | 976 | <th> </th> |
1124 | <th> </th> | 977 | <th> </th> |
@@ -1126,7 +979,7 @@ pt1.6.2: {'total': 5, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created | @@ -1126,7 +979,7 @@ pt1.6.2: {'total': 5, 'rows': [{'upORdown': '銝虜', '$_upORdown': 10, 'created | ||
1126 | </table> | 979 | </table> |
1127 | <script> | 980 | <script> |
1128 | showCase(0,1); | 981 | showCase(0,1); |
1129 | - drawCircle('circle1',15, 1, 0); | 982 | + drawCircle('circle1',2, 0, 0); |
1130 | </script> | 983 | </script> |
1131 | 984 | ||
1132 | <div id='ending'> </div> | 985 | <div id='ending'> </div> |
src/report/test.log
1 | -[2021-06-25 10:29:02] [INFO] : http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action | ||
2 | -None | ||
3 | -{'moduleType': '1', 'marketId': '8', 'fieldConfigDetailList': [{'fieldName': 'unitPrice', 'jsonPath': '$.unitPrice', 'defaultId': '3', 'displayed': '1', 'required': '0'}, {'fieldName': 'arrivalTallynos', 'jsonPath': '$.arrivalTallynos', 'defaultId': '10', 'displayed': '1', 'required': '0'}, {'fieldName': 'brandName', 'jsonPath': '$.brandName', 'defaultId': '5', 'displayed': '1', 'required': '0'}, {'fieldName': 'truckTareWeight', 'jsonPath': '$.truckTareWeight', 'defaultId': '1', 'displayed': '1', 'required': '0'}, {'fieldName': 'originId', 'jsonPath': '$.originId', 'defaultId': '7', 'displayed': '1', 'required': '0'}, {'fieldName': 'specName', 'jsonPath': '$.specName', 'defaultId': '4', 'displayed': '1', 'required': '0'}, {'fieldName': 'truckType', 'jsonPath': '$.truckType', 'defaultId': '2', 'displayed': '1', 'required': '1', 'availableValueList': ['10', '20']}, {'fieldName': 'imageCertList', 'jsonPath': '$.imageCertList[*]certType', 'defaultId': '11', 'displayed': '1', 'required': '0', 'availableValueList': ['2', '3']}, {'fieldName': 'arrivalDatetime', 'jsonPath': '$.arrivalDatetime', 'defaultId': '9', 'displayed': '1', 'required': '0'}, {'fieldName': 'remark', 'jsonPath': '$.remark', 'defaultId': '8', 'displayed': '1', 'required': '0'}, {'fieldName': 'remark', 'jsonPath': '$.remark', 'defaultId': '6', 'displayed': '1', 'required': '0'}, {'fieldName': 'measureType', 'jsonPath': '$.measureType', 'defaultId': '12', 'displayed': '1', 'required': '1', 'availableValueList': ['10', '20']}]} | ||
4 | -{'headers': {'Host': 'test.trace.diligrp.com:8393', 'Connection': 'keep-alive', 'Content-Length': '1378', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'X-Requested-With': 'XMLHttpRequest', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/91.0.4472.77Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/fieldConfig/bill.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}} | ||
5 | - | ||
6 | -[2021-06-25 10:29:02] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action | ||
7 | -None | ||
8 | -{'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': 516, 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '111', 'weightUnit': 1, 'productName': '大白菜', 'productId': 2190, 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'} | ||
9 | -{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}} | ||
10 | - | ||
11 | -[2021-06-25 10:29:03] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action | ||
12 | -None | ||
13 | -{'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': 516, 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '666', 'weightUnit': 1, 'productName': '鲜花生', 'productId': '3496', 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'} | ||
14 | -{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}} | ||
15 | - | ||
16 | -[2021-06-25 10:29:04] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action | ||
17 | -None | ||
18 | -{'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': '516111', 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '111', 'weightUnit': 1, 'productName': '大白菜', 'productId': 2190, 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'} | ||
19 | -{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}} | ||
20 | - | ||
21 | -[2021-06-25 10:29:04] [INFO] : http://test.trace.diligrp.com:8393/fieldConfig/doUpdate.action | ||
22 | -None | ||
23 | -{'moduleType': '1', 'marketId': '8', 'fieldConfigDetailList': [{'fieldName': 'unitPrice', 'jsonPath': '$.unitPrice', 'defaultId': '3', 'displayed': '1', 'required': '0'}, {'fieldName': 'arrivalTallynos', 'jsonPath': '$.arrivalTallynos', 'defaultId': '10', 'displayed': '1', 'required': '0'}, {'fieldName': 'brandName', 'jsonPath': '$.brandName', 'defaultId': '5', 'displayed': '1', 'required': '0'}, {'fieldName': 'truckTareWeight', 'jsonPath': '$.truckTareWeight', 'defaultId': '1', 'displayed': '1', 'required': '0'}, {'fieldName': 'originId', 'jsonPath': '$.originId', 'defaultId': '7', 'displayed': '1', 'required': '0'}, {'fieldName': 'specName', 'jsonPath': '$.specName', 'defaultId': '4', 'displayed': '1', 'required': '0'}, {'fieldName': 'truckType', 'jsonPath': '$.truckType', 'defaultId': '2', 'displayed': '1', 'required': '1', 'availableValueList': ['10', '20']}, {'fieldName': 'imageCertList', 'jsonPath': '$.imageCertList[*]certType', 'defaultId': '11', 'displayed': '1', 'required': '0', 'availableValueList': ['2', '3']}, {'fieldName': 'arrivalDatetime', 'jsonPath': '$.arrivalDatetime', 'defaultId': '9', 'displayed': '1', 'required': '0'}, {'fieldName': 'remark', 'jsonPath': '$.remark', 'defaultId': '8', 'displayed': '1', 'required': '0'}, {'fieldName': 'remark', 'jsonPath': '$.remark', 'defaultId': '6', 'displayed': '1', 'required': '0'}, {'fieldName': 'measureType', 'jsonPath': '$.measureType', 'defaultId': '12', 'displayed': '1', 'required': '1', 'availableValueList': ['10', '20']}]} | ||
24 | -{'headers': {'Host': 'test.trace.diligrp.com:8393', 'Connection': 'keep-alive', 'Content-Length': '1378', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'X-Requested-With': 'XMLHttpRequest', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/91.0.4472.77Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/fieldConfig/bill.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}} | ||
25 | - | ||
26 | -[2021-06-25 10:29:04] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action | ||
27 | -None | ||
28 | -{'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': 516, 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '111', 'weightUnit': 1, 'productName': '大白菜', 'productId': 2190, 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'} | ||
29 | -{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}} | ||
30 | - | ||
31 | -[2021-06-25 10:29:05] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=6537&verifyStatus=20 | ||
32 | -{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'X-Requested-With': 'XMLHttpRequest', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}} | ||
33 | - | ||
34 | -[2021-06-25 10:29:06] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action | ||
35 | -None | ||
36 | -{'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': 516, 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '111', 'weightUnit': 1, 'productName': '大白菜', 'productId': 2190, 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'} | ||
37 | -{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}} | ||
38 | - | ||
39 | -[2021-06-25 10:29:07] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=6538&verifyStatus=30 | ||
40 | -{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'X-Requested-With': 'XMLHttpRequest', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}} | ||
41 | - | ||
42 | -[2021-06-25 10:29:07] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action | ||
43 | -None | ||
44 | -{'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': 516, 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '111', 'weightUnit': 1, 'productName': '大白菜', 'productId': 2190, 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'} | ||
45 | -{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}} | ||
46 | - | ||
47 | -[2021-06-25 10:29:08] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=6539&verifyStatus=10 | ||
48 | -{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'X-Requested-With': 'XMLHttpRequest', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}} | ||
49 | - | ||
50 | -[2021-06-25 10:29:08] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAdd.action | ||
51 | -None | ||
52 | -{'registerHeadWeight': '0', 'registerHeadRemainWeight': '0', 'imageCertList': [], 'measureType': 20, 'registType': 10, 'userId': 516, 'arrivalTallynos': [], 'arrivalDatetime': '', 'truckType': 10, 'weight': '111', 'weightUnit': 1, 'productName': '大白菜', 'productId': 2190, 'originName': '', 'originId': '', 'unitPrice': '', 'truckTareWeight': '', 'remark': '', 'specName': '', 'brandName': '', 'plate': '川A123456'} | ||
53 | -{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}} | ||
54 | - | ||
55 | -[2021-06-25 10:29:09] [INFO] : http://test.trace.diligrp.com:8393/newRegisterBill/doAudit.action?id=5888&verifyStatus=20 | ||
56 | -{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'X-Requested-With': 'XMLHttpRequest', 'Referer': 'http://test.trace.diligrp.com:8393/newRegisterBill/add.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}} | ||
57 | - | ||
58 | -[2021-06-25 10:29:11] [INFO] : http://test.trace.diligrp.com:8393/upStream/listPage.action | ||
59 | -None | ||
60 | -{'rows': 10, 'page': 1, 'sort': 'id', 'order': 'desc', 'metadata': {'created': '{"provider":"datetimeProvider","index":10,"field":"created"}', 'upORdown': '{"provider":"userFlagProvider","index":20,"field":"upORdown"}', 'upstreamType': '{"provider":"upStreamTypeProvider","index":30,"field":"upstreamType"}'}} | ||
61 | -{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'X-Requested-With': 'XMLHttpRequest', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/upStream/index.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}} | ||
62 | - | ||
63 | -[2021-06-25 10:29:11] [INFO] : http://test.trace.diligrp.com:8393/upStream/listPage.action | ||
64 | -None | ||
65 | -{'rows': 10, 'page': 1, 'sort': 'id', 'order': 'desc', 'metadata': {'created': '{"provider":"datetimeProvider","index":10,"field":"created"}', 'upORdown': '{"provider":"userFlagProvider","index":20,"field":"upORdown"}', 'upstreamType': '{"provider":"upStreamTypeProvider","index":30,"field":"upstreamType"}'}, 'likeName': '111'} | ||
66 | -{'headers': {'Host': 'test.trace.diligrp.com', 'Connection': 'keep-alive', 'Content-Length': '325', 'Accept': 'application/json,text/javascript,*/*;q=0.01', 'X-Requested-With': 'XMLHttpRequest', 'User-Agent': 'Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/90.0.4430.212Safari/537.36', 'Content-Type': 'application/json', 'Origin': 'http://test.trace.diligrp.com:8393', 'Referer': 'http://test.trace.diligrp.com:8393/upStream/index.html', 'Accept-Encoding': 'gzip,deflate', 'Accept-Language': 'zh-CN,zh-TW;q=0.9,zh;q=0.8,en;q=0.7'}} | ||
67 | - |
src/testcase/doAdd/__pycache__/test_doAdd.cpython-36.pyc
No preview for this file type
src/testcase/doAdd/test_doAdd.py
@@ -18,6 +18,7 @@ class test_doAdd(unittest.TestCase): | @@ -18,6 +18,7 @@ class test_doAdd(unittest.TestCase): | ||
18 | #通过字段配置接口提前配置新增页的字段配置 | 18 | #通过字段配置接口提前配置新增页的字段配置 |
19 | my.post(url=field.url,headers=field.header,json=field.body) | 19 | my.post(url=field.url,headers=field.header,json=field.body) |
20 | 20 | ||
21 | + @unittest.case_mark(my.mark("test")) | ||
21 | def test_doAdd_01(self): | 22 | def test_doAdd_01(self): |
22 | "成功新增一个商品为大白菜的报备单,重量为111" | 23 | "成功新增一个商品为大白菜的报备单,重量为111" |
23 | #请求数据不需要修改,直接POST请求 | 24 | #请求数据不需要修改,直接POST请求 |
@@ -27,6 +28,7 @@ class test_doAdd(unittest.TestCase): | @@ -27,6 +28,7 @@ class test_doAdd(unittest.TestCase): | ||
27 | self.assertEqual(re.status_code, 200) | 28 | self.assertEqual(re.status_code, 200) |
28 | self.assertTrue("'code':'200'" in str(re.json()).replace(" ","")) | 29 | self.assertTrue("'code':'200'" in str(re.json()).replace(" ","")) |
29 | 30 | ||
31 | + @unittest.case_mark(my.mark()) | ||
30 | def test_doAdd_02(self): | 32 | def test_doAdd_02(self): |
31 | "成功新增一个商品为鲜花生的报备单,重量为111" | 33 | "成功新增一个商品为鲜花生的报备单,重量为111" |
32 | #请求数据需要修改 | 34 | #请求数据需要修改 |
@@ -41,6 +43,7 @@ class test_doAdd(unittest.TestCase): | @@ -41,6 +43,7 @@ class test_doAdd(unittest.TestCase): | ||
41 | self.assertEqual(re.status_code, 200) | 43 | self.assertEqual(re.status_code, 200) |
42 | self.assertTrue("'code':'200'" in str(re.json()).replace(" ","")) | 44 | self.assertTrue("'code':'200'" in str(re.json()).replace(" ","")) |
43 | 45 | ||
46 | + @unittest.case_mark(my.mark()) | ||
44 | def test_doAdd_03(self): | 47 | def test_doAdd_03(self): |
45 | "用错误的用户来新增,无法新增" | 48 | "用错误的用户来新增,无法新增" |
46 | #请求数据需要修改 | 49 | #请求数据需要修改 |
src/testcase/doAudit/__pycache__/test_doAudit.cpython-36.pyc
No preview for this file type
src/testcase/doAudit/test_doAudit.py
@@ -28,7 +28,8 @@ class test_doAudit(unittest.TestCase): | @@ -28,7 +28,8 @@ class test_doAudit(unittest.TestCase): | ||
28 | my.post(url=ad.url,headers=ad.header,json=ad.body) | 28 | my.post(url=ad.url,headers=ad.header,json=ad.body) |
29 | #获取数据:从MYSQL获取新增登记单的id号--因为响应没有id,需要数据库查询 | 29 | #获取数据:从MYSQL获取新增登记单的id号--因为响应没有id,需要数据库查询 |
30 | self.code=db.mysql_selectOne("SELECT id FROM `dili_trace`.register_bill ORDER BY id DESC LIMIT 1")[0] | 30 | self.code=db.mysql_selectOne("SELECT id FROM `dili_trace`.register_bill ORDER BY id DESC LIMIT 1")[0] |
31 | - | 31 | + |
32 | + @unittest.case_mark(my.mark()) | ||
32 | def test_doAudit_01(self): | 33 | def test_doAudit_01(self): |
33 | "审核通过" | 34 | "审核通过" |
34 | #请求url中的需要替换为新增登记单的id | 35 | #请求url中的需要替换为新增登记单的id |
@@ -42,6 +43,7 @@ class test_doAudit(unittest.TestCase): | @@ -42,6 +43,7 @@ class test_doAudit(unittest.TestCase): | ||
42 | #断言响应数据中是否存在期望字符串 | 43 | #断言响应数据中是否存在期望字符串 |
43 | self.assertTrue("'result':'操作成功'" in str(re.json()).replace(" ","")) | 44 | self.assertTrue("'result':'操作成功'" in str(re.json()).replace(" ","")) |
44 | 45 | ||
46 | + @unittest.case_mark(my.mark()) | ||
45 | def test_doAudit_02(self): | 47 | def test_doAudit_02(self): |
46 | "审核不通过" | 48 | "审核不通过" |
47 | #请求url中的需要替换为新增登记单的id | 49 | #请求url中的需要替换为新增登记单的id |
@@ -55,6 +57,7 @@ class test_doAudit(unittest.TestCase): | @@ -55,6 +57,7 @@ class test_doAudit(unittest.TestCase): | ||
55 | #断言响应数据中是否存在期望字符串 | 57 | #断言响应数据中是否存在期望字符串 |
56 | self.assertTrue("'result':'操作成功'" in str(re.json()).replace(" ","")) | 58 | self.assertTrue("'result':'操作成功'" in str(re.json()).replace(" ","")) |
57 | 59 | ||
60 | + @unittest.case_mark(my.mark()) | ||
58 | def test_doAudit_03(self): | 61 | def test_doAudit_03(self): |
59 | "审核不通过" | 62 | "审核不通过" |
60 | #请求url中的需要替换为新增登记单的id | 63 | #请求url中的需要替换为新增登记单的id |
@@ -68,6 +71,7 @@ class test_doAudit(unittest.TestCase): | @@ -68,6 +71,7 @@ class test_doAudit(unittest.TestCase): | ||
68 | #断言响应数据中是否存在期望字符串 | 71 | #断言响应数据中是否存在期望字符串 |
69 | self.assertTrue("'result':'操作成功'" in str(re.json()).replace(" ","")) | 72 | self.assertTrue("'result':'操作成功'" in str(re.json()).replace(" ","")) |
70 | 73 | ||
74 | + @unittest.case_mark(my.mark()) | ||
71 | def test_doAudit_04(self): | 75 | def test_doAudit_04(self): |
72 | "审核一个已经完成审核的登记单" | 76 | "审核一个已经完成审核的登记单" |
73 | #进行GET请求 | 77 | #进行GET请求 |
src/testcase/fieldConfig/__pycache__/test_fieldConfig.cpython-36.pyc
No preview for this file type
src/testcase/fieldConfig/test_fieldConfig.py
@@ -2,6 +2,7 @@ | @@ -2,6 +2,7 @@ | ||
2 | # -*- coding: UTF-8 -*- | 2 | # -*- coding: UTF-8 -*- |
3 | import unittest | 3 | import unittest |
4 | from commons import common as com | 4 | from commons import common as com |
5 | +from commons.MySession import my | ||
5 | 6 | ||
6 | class test_fieldConfig(unittest.TestCase): | 7 | class test_fieldConfig(unittest.TestCase): |
7 | "Unittest用例结构的简单的认识" | 8 | "Unittest用例结构的简单的认识" |
@@ -13,15 +14,18 @@ class test_fieldConfig(unittest.TestCase): | @@ -13,15 +14,18 @@ class test_fieldConfig(unittest.TestCase): | ||
13 | def setUp(self): | 14 | def setUp(self): |
14 | #初始化工作:每个用例执行前都会执行一次,N个用例就执行N次,非必要代码 | 15 | #初始化工作:每个用例执行前都会执行一次,N个用例就执行N次,非必要代码 |
15 | print("setUp") | 16 | print("setUp") |
16 | - | 17 | + |
18 | + @unittest.case_mark(my.mark()) | ||
17 | def test_fieldConfig_01(self): | 19 | def test_fieldConfig_01(self): |
18 | "demo" | 20 | "demo" |
19 | print("test_01_fieldConfig") | 21 | print("test_01_fieldConfig") |
20 | 22 | ||
23 | + @unittest.case_mark(my.mark()) | ||
21 | def test_fieldConfig_02(self): | 24 | def test_fieldConfig_02(self): |
22 | "demo" | 25 | "demo" |
23 | print("test_02_fieldConfig") | 26 | print("test_02_fieldConfig") |
24 | 27 | ||
28 | + @unittest.case_mark(my.mark()) | ||
25 | def test_fieldConfig_03(self): | 29 | def test_fieldConfig_03(self): |
26 | "demo" | 30 | "demo" |
27 | print("test_03_fieldConfig") | 31 | print("test_03_fieldConfig") |
src/testcase/login/__pycache__/test_login.cpython-36.pyc
No preview for this file type
src/testcase/login/test_login.py
@@ -4,11 +4,14 @@ import unittest | @@ -4,11 +4,14 @@ import unittest | ||
4 | import urllib3 | 4 | import urllib3 |
5 | from commons.api.login import login | 5 | from commons.api.login import login |
6 | from commons import common as com | 6 | from commons import common as com |
7 | +from commons.MySession import my | ||
7 | urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) | 8 | urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) |
8 | li=login() | 9 | li=login() |
9 | 10 | ||
10 | class test_login(unittest.TestCase): | 11 | class test_login(unittest.TestCase): |
11 | "登录接口" | 12 | "登录接口" |
13 | + | ||
14 | + @unittest.case_mark(my.mark()) | ||
12 | def test_login_01(self): | 15 | def test_login_01(self): |
13 | "账户密码都正确" | 16 | "账户密码都正确" |
14 | #进行POST请求 | 17 | #进行POST请求 |
@@ -16,7 +19,8 @@ class test_login(unittest.TestCase): | @@ -16,7 +19,8 @@ class test_login(unittest.TestCase): | ||
16 | print(re.headers) | 19 | print(re.headers) |
17 | #断言响应 | 20 | #断言响应 |
18 | self.assertTrue("Set-Cookie" in re.headers.keys()) | 21 | self.assertTrue("Set-Cookie" in re.headers.keys()) |
19 | - | 22 | + |
23 | + @unittest.case_mark(my.mark()) | ||
20 | def test_login_02(self): | 24 | def test_login_02(self): |
21 | "密码错误" | 25 | "密码错误" |
22 | #进行POST请求 | 26 | #进行POST请求 |
@@ -25,6 +29,7 @@ class test_login(unittest.TestCase): | @@ -25,6 +29,7 @@ class test_login(unittest.TestCase): | ||
25 | #断言响应 | 29 | #断言响应 |
26 | self.assertTrue("用户名或密码错误" in re.text) | 30 | self.assertTrue("用户名或密码错误" in re.text) |
27 | 31 | ||
32 | + @unittest.case_mark(my.mark()) | ||
28 | def test_login_03(self): | 33 | def test_login_03(self): |
29 | "账户错误" | 34 | "账户错误" |
30 | #进行POST请求 | 35 | #进行POST请求 |
src/testcase/logout/__pycache__/test_logout.cpython-36.pyc
No preview for this file type
src/testcase/logout/test_logout.py
@@ -5,18 +5,19 @@ import urllib3 | @@ -5,18 +5,19 @@ import urllib3 | ||
5 | from commons.api.login import login | 5 | from commons.api.login import login |
6 | from commons.api.logout import logout | 6 | from commons.api.logout import logout |
7 | from commons import common as com | 7 | from commons import common as com |
8 | +from commons.MySession import my | ||
8 | urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) | 9 | urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) |
9 | li=login() | 10 | li=login() |
10 | lo=logout() | 11 | lo=logout() |
11 | 12 | ||
12 | - | ||
13 | class test_logout(unittest.TestCase): | 13 | class test_logout(unittest.TestCase): |
14 | "新增登记接口" | 14 | "新增登记接口" |
15 | @classmethod | 15 | @classmethod |
16 | def setUpClass(cls): | 16 | def setUpClass(cls): |
17 | #通过登录接口获取session | 17 | #通过登录接口获取session |
18 | cls.se=li.login_session("hz_wenze", "111111") | 18 | cls.se=li.login_session("hz_wenze", "111111") |
19 | - | 19 | + |
20 | + @unittest.case_mark(my.mark()) | ||
20 | def test_logout_01(self): | 21 | def test_logout_01(self): |
21 | "成功登出账户" | 22 | "成功登出账户" |
22 | re=lo.post(self.se, "user03") | 23 | re=lo.post(self.se, "user03") |
src/testcase/upStream/__pycache__/test_upStream.cpython-36.pyc
No preview for this file type
src/testcase/upStream/test_upStream.py
@@ -12,6 +12,7 @@ uu=upStream() | @@ -12,6 +12,7 @@ uu=upStream() | ||
12 | class test_upStream(unittest.TestCase): | 12 | class test_upStream(unittest.TestCase): |
13 | "上游企业列表查询接口" | 13 | "上游企业列表查询接口" |
14 | 14 | ||
15 | + @unittest.case_mark(my.mark("test")) | ||
15 | def test_upStream_01(self): | 16 | def test_upStream_01(self): |
16 | "成功查询上下游企业,无过滤条件" | 17 | "成功查询上下游企业,无过滤条件" |
17 | #请求数据不需要修改,直接POST请求 | 18 | #请求数据不需要修改,直接POST请求 |
@@ -22,6 +23,7 @@ class test_upStream(unittest.TestCase): | @@ -22,6 +23,7 @@ class test_upStream(unittest.TestCase): | ||
22 | self.assertTrue("total" in re.json().keys()) | 23 | self.assertTrue("total" in re.json().keys()) |
23 | self.assertTrue("上游" in str(re.json()).replace(" ","")) | 24 | self.assertTrue("上游" in str(re.json()).replace(" ","")) |
24 | 25 | ||
26 | + @unittest.case_mark(my.mark(1)) | ||
25 | def test_upStream_02(self): | 27 | def test_upStream_02(self): |
26 | "成功查询上下游企业,加入企业/个人名称过滤条件" | 28 | "成功查询上下游企业,加入企业/个人名称过滤条件" |
27 | #请求数据需要修改 | 29 | #请求数据需要修改 |