标签:api delete 接口测试 json jsonp string rest rop let
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
标签:api delete 接口测试 json jsonp string rest rop let
原文地址:https://www.cnblogs.com/n-n5980/p/12241118.html