自动化测试工具Serverwalker介绍

栏目: 编程工具 · 发布时间: 6年前

自动化测试工具Serverwalker介绍

执行方法

自动化测试工具Serverwalker介绍

DSL和hello world

自动化测试工具Serverwalker介绍

查询

查询示例:统计整体进展状况

例:    
    查询某个时间点(例2018-06-23_174311)的整体进展状况:
     # ./analyse_achievement_doc 2018-06-23_174311
    可自动化项目总数/脚本完成项目数/已测试过项目数/测试OK项目数
    312 /114 /88/85



    查询截至目前为止的整体进展状况:
     # ./analyse_achievement_doc
    可自动化项目总数/脚本完成项目数/已测试过项目数/测试OK项目数
    312 /125 /93/90

查询示例:某一个时间段的详细测试进展情况

典型应用场景:查询当天或本周的测试进展

例:    
    query 2018-06-25_083000 ~ 2018-06-26_170000‘s 测试进展情况
                                                # ./diff_achievement_doc   2018-06-25_083000  2018-06-26_170000
    ///////////////////////////////////////////////////
    2018-06-25_083000 ~ 2018-06-26_170000’s 测试进展情况
    ///////////////////////////////////////////////////
    [ 测试项目脚本完成进展: NO -> YES ]
    209_002_095
    [ 测试进展: UNTEST -> OK ]
    209_002_095
    [ 测试进展: NG -> OK ]
    211_002_003
    201_005_023
    201_005_024

    query 2018-06-23_153000 ~ 2018-06-24_153000‘s 测试进展情况
     # ./diff_achievement_doc  2018-06-23_153000  2018-06-24_153000
    ///////////////////////////////////////////////////
    2018-06-23_153000 ~ 2018-06-24_153000‘s 测试进展情况
    ///////////////////////////////////////////////////
    [ 测试项目脚本完成进展: NO -> YES ]
    101_008_001
    101_003_002
    211_002_003
    101_002_005
    210_001_040
    210_001_042
    210_001_046
    210_001_047
    210_001_048
    209_002_094
    [ 疎通進捗: UNTEST -> NG ]
    101_008_001
    101_003_002
    211_002_003
    101_002_005
    [ 疎通進捗: UNTEST -> OK ]
    209_002_094

查询示例:查询某一段时间内的测试频度

典型应用场景:

1)挑出多次测试不通过的用例,调查原因

2)挑出时过时不过的测试用例,调查原因

例:    
    query 2018-06-22_123615 ~ 2018-06-28_123617 の test frequency
    # ./query_test_frequency 2018-06-22_123615 2018-06-28_123617 
    101_002_003 OK: +0 NG: +2
    101_002_005 OK: +0 NG: +1
    101_003_002 OK: +0 NG: +1
    101_008_001 OK: +0 NG: +1
    201_001_000 OK: +59 NG: +6
    201_005_007 OK: +0 NG: +2
    201_005_008 OK: +0 NG: +1
    201_005_010 OK: +0 NG: +2
    201_005_011 OK: +0 NG: +3
    201_005_012 OK: +0 NG: +1
    201_005_014 OK: +0 NG: +1
    201_005_015 OK: +0 NG: +1
    201_005_018 OK: +0 NG: +1
    201_005_019 OK: +0 NG: +1
    201_005_020 OK: +0 NG: +1
    201_005_022 OK: +0 NG: +1
    201_005_023 OK: +1 NG: +4
    201_005_024 OK: +1 NG: +0
    206_000_000 OK: +48 NG: +3
    209_001_006 OK: +0 NG: +1
    209_002_094 OK: +10 NG: +0
    209_002_095 OK: +4 NG: +0
    209_003_010 OK: +0 NG: +1
    210_001_027 OK: +0 NG: +1
    211_002_003 OK: +2 NG: +4

查询示例:某段时间内实施的测试项目一览

例:    
    # ./query_test_item  2017-11-10_224621 2017-11-11_030000
    test_item    test_result    duration    list_name    end_time
    204_001_001    NG    13m 11s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-10_225349
    204_001_002    NG    13m 49s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-10_230742
    205_005_240    NG    9m 48s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-10_231734
    205_005_245    OK    5m 53s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-10_232333
    205_006_577    NG    4m 44s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-10_232825
    205_006_623    NG    7m 11s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-10_233544
    205_004_389    OK    6m 53s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-10_234241
    205_004_401    NG    4m 27s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-10_234716
    205_004_412    NG    8m 1s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-10_235524
    205_004_452    NG    3m 49s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-10_235917
    205_006_001    OK    5m 19s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_000442
    205_006_070    NG    5m 20s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_001008
    205_006_139    NG    12m 11s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_002227
    205_006_162    NG    1m 50s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_002423
    205_006_185    OK    2m 1s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_002630
    205_006_208    OK    1m 59s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_002835
    205_006_231    OK    3m 4s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_003145
    205_006_254    NG    1m 58s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_003351
    205_006_277    OK    1m 55s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_003552
    205_006_300    NG    6m 7s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_004205
    205_006_323    NG    8m 26s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_005038
    205_006_346    NG    12m 25s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_010309
    205_006_369    OK    12m 30s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_011547
    205_010_002    NG    31m 53s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_014749
    205_011_001    NG    34m 4s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_022355
    201_007_001    NG    5m 43s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_023144
    205_005_259    NG    7m 29s    /mnt/LOG/NFV/sequence/list_2017-11-10_190001    2017-11-11_023919

查询示例:某一个具体测试项目的测试历史

例:    
    # ./query_test_item_history 209_002_068
    test_result duration log_server's sequence|job|list log folder path:
    NG 3秒 /mnt/LOG/NFV/sequence/list_2017-10-29_195817 2017-10-30_034247
    NG 5分2秒 /mnt/LOG/NFV/sequence/list_2017-10-30_104048 2017-10-30_120452
    NG 5分58秒 /mnt/LOG/NFV/sequence/list_2017-10-30_182635 2017-10-31_071012
    NG 34秒 /mnt/LOG/NFV/sequence/list_2017-11-02_195530 2017-11-03_005632
    NG 34秒 /mnt/LOG/NFV/sequence/list_2017-11-02_225739 2017-11-03_014757
    OK 2分15秒 /mnt/LOG/NFV/sequence/list_2017-11-03_190002 2017-11-03_233201
    OK 7分46秒 /mnt/LOG/NFV/sequence/list_2017-11-06_220532 2017-11-07_082735

以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

正则表达式必知必会(修订版)

正则表达式必知必会(修订版)

福达 (Ben Forta) / 杨涛 / 人民邮电出版社 / 2015-1-1 / 29.00元

《正则表达式必知必会》从简单的文本匹配开始,循序渐进地介绍了很多复杂内容,其中包括回溯引用、条件性求值和前后查找,等等。每章都为读者准备了许多简明又实用的示例,有助于全面、系统、快速掌握正则表达式,并运用它们去解决实际问题。正则表达式是一种威力无比强大的武器,几乎在所有的程序设计语言里和计算机平台上都可以用它来完成各种复杂的文本处理工作。而且书中的内容在保持语言和平台中立的同时,还兼顾了各种平台之......一起来看看 《正则表达式必知必会(修订版)》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具