[英]Anyone how to resolve this warning - using Karate framework for UI automation
[DEBUG] 2021-05-20 17:13:39.765 [main] c.i.karate - over-writing existing variable 'xyz' with new value: read('classpath:/testData/testFile.json') [DEBUG] 2021-05-20 17:13:39.765 [main] c.i.karate - 用新值覆盖现有变量 'xyz':read('classpath:/testData/testFile.json')
[DEBUG] 2021-05-20 17:13:39.765 [main] c.i.karate - over-writing existing variable 'abc' with new value: read('classpath:/testData/SomthingtestFile.json') [DEBUG] 2021-05-20 17:13:39.765 [main] c.i.karate - 用新值覆盖现有变量 'abc':read('classpath:/testData/SomthingtestFile.json')
I think due to these warnings my scripts are running very slowly.我认为由于这些警告,我的脚本运行非常缓慢。
@PeterThomas @彼得托马斯
You can ignore this warning.您可以忽略此警告。 It is because you are re-assigning a
def foo
to the same variable name.这是因为您将
def foo
重新分配给相同的变量名。
You are welcome to contribute code if this bothers you too much.如果这太困扰您,欢迎您贡献代码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.