java interfaces automated testing small dome

 

GitHub Address: https://github.com/leonInShanghai/InterfaceAutomation

The dome request https://www.v2ex.com/api/nodes/show.json?name=python Interface

 

  OK HTTP request using FrameNet

  Analytical data frame using fastjson

 

   {
        "Avatar_large": "//cdn.v2ex.com/navatar/8613/985e/90_large.png?m=1564378564",
        "name": "Python",
        "avatar_normal": "//cdn.v2ex.com/ ? navatar / 8613 / 985E / 90_normal.png m = 1,564,378,564 ",
        " title ":" Python ",
        " url ":" https://www.v2ex.com/go/python ",
        " Topics ": 11896,
        " footer ":" ",
        " header ":" here to discuss various topics Python programming language, also includes a discussion of Django, Tornado framework etc. here is a place that can help you solve practical problems.. ",
        " title_alternative ":" Python ",
        " avatar_mini ":" //cdn.v2ex.com/navatar/8613/985e/90_mini.png?m=1564378564 ",
        "stars": 8248,
        "root": false,
        "id": 90,
        "parent_node_name": "programming"
  } 

 

  The parameters of the request back to do the assertion assertEquals (v2exNode.getName (), nodeName);

 

 

 Finally generate html format of the test report

 

Guess you like

Origin www.cnblogs.com/henanleon/p/11299183.html