gpt4 book ai didi

javascript - Karate 无法将 JSON 传递到特征文件中

转载 作者:行者123 更新时间:2023-11-30 14:10:14 25 4
gpt4 key购买 nike

代码尝试

  * def createTariffResponse = call read ('create-customer-mileage-tariff.feature') { id: '#(serviceId)' }

异常

-unknown-:9 - javascript evaluation failed: ('create-customer-mileage-tariff.feature') { id: '#(serviceId)' }, <eval>:1:43 Expected ; but found {
('create-customer-mileage-tariff.feature') { id: '#(serviceId)' }
^ in <eval> at line number 1 at column number 43

最佳答案

去掉read(之间的空格。

如果这不起作用,请按照以下流程操作:https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue

关于javascript - Karate 无法将 JSON 传递到特征文件中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54595700/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com