【问题标题】:Failed to build request: attribute named is defined构建请求失败:定义了名为的属性
【发布时间】:2021-06-01 07:34:19
【问题描述】:

我正在尝试将我的令牌传递给所需的请求,但它没有保存变量“令牌”。

结果始终是“{token}”,因为您可以收集在 .check (jsonPath ("$.User_id").SaveAs ("userId")) 中获得的值

我尝试过使用 ${token} 但仍然没有重复使用

在这里你可以看到我的代码,以防它帮助你;

enter image description here

【问题讨论】:

    标签: java scala testing gatling


    【解决方案1】:

    要么是“getTokenRequest”失败,要么是执行“getNotificationClientId”的用户没有先执行“getTokenRequest”。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-06-30
      • 2015-05-28
      • 2021-06-08
      • 2020-01-24
      • 2017-04-06
      • 2020-11-28
      • 2021-02-18
      相关资源
      最近更新 更多