10 | Cucumber Tutorial | Parallel Execution Using JUnit and Maven Plugins
in this video discussed the how to run the #cucumber can be executed in #parallel using #junit and #mavensurefire plugin
TestNG - will run the scenarios in parallel
JUnit - will run the features in parallel
cucumber.io/do...
🙏 do support me using the super thanks button in youtube continue to create more videos
🎥 Jenkins CICD Tutorial : • JENKINS - Create Frees...
🎥 Postman API Testing Tutorial : • POSTMAN - Import Data
🎥 Selenium HTML Reports: • PDF REPORT - Cucumber ...
🎥 Azure DevOps Tutorials : • Azure DevOps - Create ...
🎥 WinAppDriver Tutorials : • WinAppDriver - Introdu...
🎥 Automation Shorts : • Postman V10 Features
LinkedIn : / sseenivasan89
GitHub : github.com/sse...
Connect : www.mentoring-...
✍️ Write up your questions to 📧 qalearntogether@gmail.com
Please 👍 Like, Subscribe 🔔 and Share the videos if you like it, Thank You !
Пікірлер: 20
after coming from 9 video this video steps are different and it doesn't work
Hi Thanks for the info but when i run it is not running in parallel it is running in sequential one by one , can you please on this . Thanks
Make a video on framework development in cucumber with java and testng where we can trigger the execution by tag name as well as parallel execution concept
@SaravananSeenivasan
Жыл бұрын
thanks for the recommendation Will do for sure
Hi Sir, Is there anyway to run scenario in parallel by mentioning the dependency scenario..Say my test2 depends on test1 in feature file..I want to run test2 after test1 is completed..but test3 tes4 can run in parallel with test1..
I do the same but it does not trigger parallel browsers, is there any notices about versions of cucumber, junit or anything?
@wasimakram-nz5gq
Жыл бұрын
Even same for me also not trigger browser parallel.. please reply on this. Thank you
@SaravananSeenivasan
Жыл бұрын
what error do you get ?
@helloramesh6193
Жыл бұрын
@@SaravananSeenivasan where is the exact repository sir for the above
Thanks. As you mentione the it runs features in parallel. Is there a way to run SCENARIOS in parallel ?
@SESHU_BABU
2 ай бұрын
by using TestNg we run scenarios parallel
Hi Sir, new subscriber here. Excellent informative video 👍. Can you please provide the github Url for the same above video parallel execution using JUnit ? I searched in this video description and unable to find exact git hub url for only parallel execution with junit. Thank you very much 😊
@SaravananSeenivasan
Жыл бұрын
thanks for watching here is the repo - github.com/sseenivasan89/CucumberHybridFramework
@Al-oh9yr
Жыл бұрын
@@SaravananSeenivasan Thank You very much for the response Sir 😊 I will look through the link 👍Keep up the fabulous work 👍
@Al-oh9yr
Жыл бұрын
@@SaravananSeenivasan Hi Sir, I have cloned and using the same as it is but while execution its not launching the browsers parallelly rather it opens one browser and after completion it opens next browser for execution. Will you be able to help me pls?
@helloramesh6193
Жыл бұрын
@@Al-oh9yr im unable to find the code in the git hub is it available
my dear sir where is the exact repository in git hub please give exact parallel testing in git hub
@SaravananSeenivasan
Жыл бұрын
github.com/sseenivasan89/CucumberHybridFramework/blob/main/pom.xml
Hi, I'm getting this error upon using the plugin that was in the video, can you please let me what was wrong. It didn't trigger any browsers There was an error in the forked process [ERROR] Unsupported TestNG [parallel] setting: classesAndMethods [ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process [ERROR] Unsupported TestNG [parallel] setting: classesAndMethods [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:628) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:285) [ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1203) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1055) [ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:871) [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156) [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56) [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305) [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:972) [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:293) [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:196) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [ERROR] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:568) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406) [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) [ERROR] -> [Help 1]
Please help I am not able to, execute in parallel mode tried everything, but nothing plugin> org.apache.maven.plugins maven-surefire-plugin 3.0.0-M5 **/TestRunnerCampaignsPageTest.java **/TestRunnerCampaignsPageTest.java methods true