软件测试学习笔记丨接口请求体 - 文件
本文转自测试人社区,原文链接:https://ceshiren.com/t/topic/28419
目录
文件上传接口场景
如何通过接口上传文件
文件上传接口场景
Content-Type 类型 multipart/form-data

REST-assured 上传文件
创建本地文件 hogwarts.txt
调用方法 multiPart()参数:String name 参数:File file
复制代码
REST-assured 上传文件
携带多种数据
复制代码
软件测试开发免费视频教程分享

版权声明: 本文为 InfoQ 作者【测试人】的原创文章。
原文链接:【http://xie.infoq.cn/article/a17fa5df705ada9d7f053224e】。文章转载请联系作者。
评论