【RobotFramework-RequestsLibrary】post方法data<empty>为空问题

 

 

 

日志提示data<empty>

 

【RobotFramework-RequestsLibrary】post方法data<empty>为空问题

 只是因为post requset关键字需要data的值为字典格式,上面set variable将data变为了字符串,所以提示程序异常,这一点可以在postman中验证

【RobotFramework-RequestsLibrary】post方法data<empty>为空问题

 

 解决办法:

  1、将data的修改为字典

  2、修改requests模块的post方法 https://blog.csdn.net/unknownli/article/details/22746813

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-24
  • 2022-01-01
  • 2021-10-19
  • 2021-10-27
猜你喜欢
  • 2022-12-23
  • 2021-11-12
  • 2021-10-12
  • 2022-12-23
  • 2021-09-19
  • 2021-12-24
  • 2022-12-23
相关资源
相似解决方案