[英]Karate Unable to pass JSON into feature file
code attempted 尝试代码
* def createTariffResponse = call read ('create-customer-mileage-tariff.feature') { id: '#(serviceId)' }
exception 例外
-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
Remove the space between the read
and (
. 删除
read
和(
之间的空格。
If that doesn't work, please follow this process: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue 如果这不起作用,请按照以下过程进行: https : //github.com/intuit/karate/wiki/How-to-Submit-an-Issue
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.