#6 楼 @cep 如果你想以 json 格式发送参数 ,使用这种方法
content
@Deprecated
RequestSpecification content(String content)
Deprecated. Use body(String) instead
Specify a String request content (such as e.g. JSON or XML) that'll be sent with the request. This works for the POST, PATCH and PUT methods only. Trying to do this for the other http methods will cause an exception to be thrown.
Example of use:
given().content("{ \"message\" : \"hello world\"}").then().expect().content(equalTo("hello world")).when().post("/json");
This will POST a request containing JSON to "/json" and expect that the response content equals to "hello world".
Note that body(String) and this method are the same except for the syntactic difference.
Parameters:
content - The content to send.
Returns:
The request specification
实践得真知
#42 楼 @abyssalknight 接口返回的 object 本身就不可能是一样的啊,与数据源的比对这也是接口测试必须要做的,rest-assured 适合做什么就看你怎么使用了,你自行封装一套数据源对比方法,你说的这些问题都不是问题
老司机开车啦
#37 楼 @liuhao121 这相当于就是一个方法的使用,报告、参数之类的,从代码层面来说如果有诉求就自行组装就好了
#1 楼 @bruce_liguang 应该可以吧 ,你直接联系这个人就行,他会给你解答的~应该是他们团队~~
#9 楼 @JustinHouge 有录制和直播 两种
这是外包公司嘛?
测试回复
老脸求中奖
#1 楼 @treesea2015 哪个项目团队啊?
#4 楼 @Last_One_Standing
1、在某个领域有独特见解
2、性别不限
我们鼓励社区的任何人都可以来讲或提供视频文字内容
#1 楼 @jiazurongyu 这么一说 对哦 所有 PPT 都应该加张图进去。。。
个人建议, 从怎么减轻自己工作量的角度去考虑自动化这个事,这样也能落地
薪资没看到
妹子太好骗了。。。又一被 坑的可怜娃
帮转。。。