Questions tagged [parallel-execution]

68 questions
0
votes
1 answer

Parallel run of Selenium tests (uses ThreadLocal) failing

Same script works when executing sequentially, butt parallel execution fails. When i try to execute the test in parallel, all the browsers launch but after couple of steps only one browser able to complete the flow and other browsers get stuck at…
0
votes
0 answers

I am not able to run test parallel in TestNG

When i run without parallel keyword then it run, no exception occure. But when i use parallel keyword and thread-count then it cant run and throw an exception "StaleElementReferenceException: stale element reference: element is not attached to the…
0
votes
0 answers

TestNG - Test methods are not executing even with ThreadLocal Webdriver

I have used implementation of ThreadLocal for Webdriver to run test methods in parallel from single Test class. I used BeforeMethod for LaunchingApplication and AfterMethod for teardown. Though my 6 different methods I have in Test class have…
0
votes
1 answer

how to make driver as thread safe to run methods of a class in parallel in selenium java

I have 3 test methods using driver from Base class. I tired to run these methods in parallel but getting failures. Reponse to my problem is appreciated. Thanks Class having 3 test methods public class TestCases extends BaseClass { @Test …
0
votes
2 answers

Jmeter: Sequential and Parallel execution

I want to run the login thread group always first and wait for it to finish. And then in the same test plan run other thread group in parallel. e.g. Login-1 (always first ) Thread group-2 (after login in parallel) Thread group-3 (after login in…
0
votes
0 answers

How to Execute Cucumber Features in Parallel using TestNG?

Is there an option to pass the features through dataprovider to execute cucumber features in parallel instead of scenarios? import org.testng.annotations.DataProvider; import io.cucumber.testng.AbstractTestNGCucumberTests; public class…
0
votes
2 answers

How to run UDF in parallel with pyspark data frame on more than one cols

I have pyspark dataframe with 4 columns 1) Country 2) col1 [numeric] 3) col2 [numeric] 4) col3 [numeric] I have udf which takes number and formats it to xx.xx [ 2 decimal points] using "withColumn" function I can call udf and format the…
0
votes
0 answers

how to implement parallel execution using grid by running the gitlab ci pipeline

By using the gitlab ci pipeline we want to implement the 2 parallel execution i.e. using grid. It would be great if anyone can let me know the process?
0
votes
1 answer

How to reuse the drivers in testNG parallel execution

I am new to TestNG. I am able to do parallel testing with BeforeMethod and AfterMethod class where I am opening new driver and closing the same respectively. Below is my code: @BeforeMethod public void run() { driver.get().get(url); …
0
votes
1 answer

Parallel execution is not happening with Cucumber Junit

I made this configuration in POM.xml file to run the test in parallel. But when I call mvn verify using cmd only one browser is running with one feature and after completing execution of one feature file another feature is running. I am using…
0
votes
2 answers

How to make and control of parallel execution of Azure DevOps Pipeline?

I am using Windows Self hosted agent for my Azure DevOps pipelines. Currently the pipelines are executed sequentially. If more than one pipelines triggered from different ADO projects, then it has to wait in queue to get the agent. In order to…
0
votes
1 answer

OpenCL/C: results always zero

I’m using Ubntu 20.04 to run my Opencl program with C but whatever the function i execute the results is always zero or other illogical results, it’s like kernel not working, Please if anyone has OpenCL, please try this program i want to know if the…
soumia
  • 1
  • 1
0
votes
0 answers

Implementing parallel execution of autotests using JUnit 5 + GEB (without spock)

I'm trying to implement parallel execution of autotests using JUnit 5 and GEB. At the moment, the tests are already running in parallel. The problem is that every page element must be visible at the time the page object is created. If the object was…
0
votes
3 answers

Serenity Cucumber 7 parallel execution not working

looking for help to execute cucumber 7 in parallel. My project is serenity with cucumber and java. In this link https://johnfergusonsmart.com/parallel-test-execution-with-cucumber-and-serenity-bdd/ it is showing that it is possible to run but tried…
0
votes
1 answer