Skip to content

Commit

Permalink
adding karate env config
Browse files Browse the repository at this point in the history
  • Loading branch information
harikrishnan83 committed May 16, 2021
1 parent 759b93b commit 3e53135
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ Below are all the parameters in Perfiz Config File.
karateFeaturesDir: #Relative Path from you repo root to the directory containing Karate Feature Files
#This is also the directory which contains your karate-config.js, Perfiz will make sure this file gets picked up by Karate Gatling
#Example: src/test/karateFeatures
karateEnv: #This sets the karate.env. Provide any env that is defined in your karate-config.js that resides in the above "karateFeaturesDir"
karateFeatures: #List of KarateFeatures which need to be run as Load Tests
- karateFile: #Relative Path from the above karateFeaturesDir to a specific Karate Feature file
#Example: bookings/movies/reservation.feature, if your overall directory structure is <repo-root>/src/test/karateFeatures/bookings/movies/reservation.feature
Expand Down
2 changes: 2 additions & 0 deletions src/test/scala/org/znsio/perfiz/PerfizConfiguration.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ class PerfizConfiguration {
@BeanProperty
var karateFeatures: List[KarateFeature] = new ArrayList[KarateFeature]()
@BeanProperty
var karateEnv: String = _
@BeanProperty
var karateFeaturesDir: String = _
@BeanProperty
var gatlingSimulationsDir: String = _
Expand Down

0 comments on commit 3e53135

Please sign in to comment.