I need to create data driven unit tests for different APIs in karate framework. The various elements to be passed in the JSON payload should be taken as input from an excel file.
相关问题
- Karate API Testing - Access variable value across
- I receive the error: cannot find module 'cucum
- Port of the Rails app when running Cucumber tests
- Getting scenario and steps undefined in cucumber w
- How to output Cucumber background steps before eac
相关文章
- How do you run cucumber with Scala 2.11 and sbt 0.
- How to pass Query String Parameters in GET url usi
- Arrange Act Assert Alternatives
- How to pass multiple parameter to Cucumber Runner
- Donut report (donut-maven-plugin) is not getting g
- Cucumber not serializing date string from datatabl
- selenium grid with cucumber
- BDD - should each scenario be self contained?
A few points:
call-table.feature
anddynamic-params.feature
call-json-array.feature
Map
/List
form, it will be ready for Karate to use. This example shows how to read a database via JDBC:dogs.feature
. So although this is not built into Karate, just write a simple utility to read a CSV or Excel file and you can do pretty much anything Java can do.