智慧医疗管理平台测试用例csv文件

这份测试用例是针对“客户管理模块”所编写的,用于编写自动化接口代码时,可供读取的测试信息。

methodurlParamsOrDataresponse
posthttp://127.0.0.1/api/mgr/signin{"username": "byhy",
 "password": "88888888"
}
{"ret": 0}
posthttp://127.0.0.1/api/mgr/signin{"username": "hhhh",
 "password": "88888888"
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/signin{"username": "byhy",
 "password": "00000000"
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/signin{"username": "",
 "password": "88888888"
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/signin{"username": "byhy",
 "password": ""
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/signin{"username": "",
 "password": ""
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京协和医院0",
               "phonenumber": "14758532400",
                "address": "北京市丰汇园10号楼-0"
             }
}
{"id": 126, "ret": 0}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "233333",
               "phonenumber": "14758532401",
                "address": "北京市丰汇园10号楼-1"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "%¥#",
               "phonenumber": "14758532402",
                "address": "北京市丰汇园10号楼-2"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京协和医院3",
               "phonenumber": "www5www",
                "address": "北京市丰汇园10号楼-3"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京协和医院4",
               "phonenumber": "%¥#",
                "address": "北京市丰汇园10号楼-4"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京协和医院5",
               "phonenumber": "14758532405",
                "address": "233333"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京协和医院6",
               "phonenumber": "14758532406",
                "address": "%¥#"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "零",
               "phonenumber": "14758532407",
                "address": "北京市丰汇园10号楼-7"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "零一",
               "phonenumber": "14758532408",
                "address": "北京市丰汇园10号楼-8"
             }
}
{"ret": 0}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "零一二",
               "phonenumber": "14758532409",
                "address": "北京市丰汇园10号楼-9"
             }
}
{"ret": 0}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "零一二三四五六七八九零一二三四五六七八",
               "phonenumber": "14758532410",
                "address": "北京市丰汇园10号楼-10"
             }
}
{"ret": 0}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "零一二三四五六七八九零一二三四五六七八九",
               "phonenumber": "14758532411",
                "address": "北京市丰汇园10号楼-11"
             }
}
{"ret": 0}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "零一二三四五六七八九零一二三四五六七八九零",
               "phonenumber": "14758532412",
                "address": "北京市丰汇园10号楼-12"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京市协和医院13",
               "phonenumber": "0123456",
                "address": "北京市丰汇园10号楼-13"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京市协和医院14",
               "phonenumber": "01234567",
                "address": "北京市丰汇园10号楼-14"
             }
}
{"ret": 0}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京市协和医院15",
               "phonenumber": "012345678",
                "address": "北京市丰汇园10号楼-15"
             }
}
{"ret": 0}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京市协和医院16",
               "phonenumber": "0123456789",
                "address": "北京市丰汇园10号楼-16"
             }
}
{"ret": 0}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京市协和医院17",
               "phonenumber": "01234567890",
                "address": "北京市丰汇园10号楼-17"
             }
}
{"ret": 0}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京市协和医院18",
               "phonenumber": "012345678901",
                "address": "北京市丰汇园10号楼-18"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京市协和医院19",
               "phonenumber": "14758532419",
                "address": "北京市丰汇园10号楼-0"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京市协和医院20",
               "phonenumber": "14758532400",
                "address": "北京市丰汇园10号楼-20"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京市协和医院0",
               "phonenumber": "14758532421",
                "address": "北京市丰汇园10号楼-21"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京市协和医院0",
               "phonenumber": "14758532400",
                "address": "北京市丰汇园10号楼-22"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京市协和医院0",
               "phonenumber": "14758532400",
                "address": "北京市丰汇园10号楼-0"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京市协和医院23",
               "phonenumber": "14758532423",
                "address": ""
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "北京市协和医院24",
               "phonenumber": "",
                "address": "北京市丰汇园10号楼-24"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "",
               "phonenumber": "14758532425",
                "address": "北京市丰汇园10号楼-25"
             }
}
{"ret": 1}
posthttp://127.0.0.1/api/mgr/customers{"action": "add_customer",
 "data": { "name": "",
               "phonenumber": "",
                "address": ""
             }
}
{"ret": 1}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"name": "北京协和医院000",
                  }
}
{"ret": 0}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"phonenumber": "14758530000",
                  }
}
{"ret": 0}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"address": "北京市丰汇园10号楼-000",
                  }
}
{"ret": 0}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"name": "233333",
                  }
}
{"ret": 1}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"name": "%¥#",
                  }
}
{"ret": 1}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"phonenumber": "wwwewww",
                  }
}
{"ret": 1}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"phonenumber": "%¥#",
                  }
}
{"ret": 1}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"address": "6666666",
                  }
}
{"ret": 1}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"address": "&%¥",
                  }
}
{"ret": 1}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"name": "零",
                  }
}
{"ret": 1}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"name": "零一",
                  }
}
{"ret": 0}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"name": "零一二",
                  }
}
{"ret": 0}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"name": "零一二三四五六七八九零一二三四五六七八",
                  }
}
{"ret": 0}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"name": "零一二三四五六七八九零一二三四五六七八九",
                  }
}
{"ret": 0}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"name": "零一二三四五六七八九零一二三四五六七八九零",
                  }
}
{"ret": 1}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"phonenumber": "0123456",
                  }
}
{"ret": 1}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"phonenumber": "01234567",
                  }
}
{"ret": 0}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"phonenumber": "012345678",
                  }
}
{"ret": 0}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"phonenumber": "0123456789",
                  }
}
{"ret": 0}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"phonenumber": "01234567890",
                  }
}
{"ret": 0}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 335,
 "newdata":{"phonenumber": "012345678901",
                  }
}
{"ret": 1}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 334,
 "newdata":{"address": "北京市丰汇园10号楼-0",
                  }
}
{"ret": 1}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 334,
 "newdata":{"phonenumber": "14758532400 ",
                  }
}
{"ret": 1}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 334,
 "newdata":{"name": "北京市协和医院0 ",
                  }
}
{"ret": 1}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 334,
 "newdata":{"name": "北京市协和医院“,
                  "phonenumber": "14758532400 ",
                  "address": "北京市丰汇园10号楼-0"
                  }
}
{"ret": 1}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 334,
 "newdata":{"address": "",
                  }
}
{"ret": 2}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 334,
 "newdata":{"phonenumber": "",
                  }
}
{"ret": 2}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 334,
 "newdata":{"name": "",
                  }
}
{"ret": 2}
puthttp://127.0.0.1/api/mgr/customers{"action": "modify_customer",
 "id": 334,
 "newdata":{"name": "“,
                  "phonenumber": "",
                  "address": ""
                  }
}
{"ret": 2}
deletehttp://127.0.0.1/api/mgr/customers{"action": "del_customer",
 "id": 336
}
{"ret": 0}
deletehttp://127.0.0.1/api/mgr/customers{"action": "del_customer",
 "id": ""
}
{"ret": 2}
gethttp://127.0.0.1/api/mgr/customers{"action": "list_customer",
 "pagesize": 2,
 "pagenum": 1,
 "keywords": ""
}
{"ret": 0}
gethttp://127.0.0.1/api/mgr/customers{"action": "list_customer",
 "pagesize": "",
 "pagenum": 1,
 "keywords": ""
}
{"ret": 2}
gethttp://127.0.0.1/api/mgr/customers{"action": "list_customer",
 "pagesize": 2,
 "pagenum": "",
 "keywords": ""
}
{"ret": 2}
gethttp://127.0.0.1/api/mgr/customers{"action": "list_customer",
 "pagesize": "",
 "pagenum": "",
 "keywords": ""
}
{"ret": 2}
  • 12
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值