使用Httplibrary 测试post json数据,服务器端request.Content-type is NULL
Case05
Create Http Context http://xx.xx.xx.xx:5000
Set Request Body username="aaa"
Set Request Header 'Content-type' 'application/json'
POST http://xx.xx.xx.xx:5000/users
server:
Content-Length: 0
Host: 10.66.18.80:5000
Content-Type:
Accept-Encoding: identity
结果是取数据根本取不到
http://robotframework.org/
http://code.google.com/p/robotframework/
Robot Framework
目录
简介特性RIDE
编辑本段简介
Robot Framework是一款python编写的功能自动化测试框架。具备良好的可扩展性,支持关键字驱动,可以同时测试多种类型的客户端或者接口,可以进行分布式测试......
答案就在这里:Robot Framework
----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。