简体   繁体   中英

Karate exception 'com.intuit.karate.exception.KarateException

I got the below setup.Its in the following repository. https://github.com/Yogeshwari21/karatecheck/tree/master/src/test/java/FeatureTest1

I have not shared the actual variables used, i have created a sample set up in the above repository.

I am trying to create multiple data for a request and whenever i trigger the test, i get below exception

KarateException: AlertParadef.feature:4 - org.xml.sax.SAXParseException; org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 9; XML document structures must start and end within the same entity. at ✽.Given def param1=

Any help is greatly appreciated.

Since <field4> is missing in the CSV, it became invalid XML in the feature file.

Also please read this section carefully: https://github.com/intuit/karate#scenario-outline-enhancements

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM