Part-接口测试2

1.JsonPath:像xpath一样,提取json数值

2.json schema:gibhub -> jsonschema

from jsonshema import validate
schema = {
   "type":"object",
  "properties":{
  "price":{"type":"number"},
  "name":{"type":"string"}
}   
}
validate(instance={"name":"Eggs", "price":34.99}, schema=schema)

3.restful,同一个api,通过get,post,put,delete,来区别方法

33

上一篇:RequireJS(一)


下一篇:CentOS7下安装mysql5.7