Problems with parallel executions

28 views
Skip to first unread message

Ricardo Martin

unread,
Jun 26, 2024, 9:50:02 AM (7 days ago) Jun 26
to Selenium Users
Hi!

I am having a problem with queue in Selenium 4. My problem is that when I have queues ( more or less more than 5 executions) the driver tries to execute the proof, openning the windows but I can only see a blank windows with the name "data:" in the Google browser and, the execution does not work. 

I am using Chrome and I can reproduce the same scenario in Edge, the proofs work. when I don´t have queues , 

I am working with linux hub and 4 differents windows nodes.This problem began when I updated from Selenium 3 to Selenium 4. I am using 4.6.0 version and we are working on update this version but I would like to ask If you are detected this problem or If It could be configuration problem because in the chagelogs I cannot find answer. Do you know something about this?

Also, I am usign open jdk 11 and the logs are these ones :

java.lang.NullPointerException
  at utils.Screenshots.getLastScreenshot(Screenshots.java:107)
  at listeners.TestListener.onTestFinish(TestListener.java:90)
  at listeners.TestListener.onTestFailure(TestListener.java:40)
  at org.testng.internal.TestListenerHelper.runTestListeners(TestListenerHelper.java:67)
  at org.testng.internal.Invoker.runTestListeners(Invoker.java:1389)
  at org.testng.internal.Invoker.invokeMethod(Invoker.java:636)
  at org.testng.internal.Invoker.retryFailed(Invoker.java:839)
  at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1010)
  at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
  at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
  at org.testng.TestRunner.privateRun(TestRunner.java:648)
  at org.testng.TestRunner.run(TestRunner.java:505)
  at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
  at org.testng.SuiteRunner.access$000(SuiteRunner.java:40)
  at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:489)
  at org.testng.internal.thread.ThreadUtil$1.call(ThreadUtil.java:52)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)


You can see that is having a problem with screnshots because the executions doesn´t run.

Best regards

Reply all
Reply to author
Forward
0 new messages