Hello! I try to include a step to Cucumber scenario (.feature file) to run a gatling (.scala file) in my Java step definition code but i couldn`t find enough information how to make it.
For example, i have a POM project (MAVEN), where i have files:
auto.features (steps cucumber)
autoStep.java (step defenition java)
autoPage.java (java logic code)
i need:
in .feature:
Scenario: Load and Performance testing
- Execute load testing using “BasicSimulation” file
in step.java:
create code running BasicSimulation.scala file
in BasicSimulation.scala there is scala code describing load testing
help please!