parallel-testing

Maven failsafe plugin doesn't run parallel Test

大兔子大兔子 提交于 2021-02-07 07:18:44
问题 I have a Maven POM file and when I provide parallel execution options, I dont see any signs of parallel execution in the logs. And XML debugging is driving me nuts. Any thoughts what is wrong here? <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId

Maven failsafe plugin doesn't run parallel Test

别说谁变了你拦得住时间么 提交于 2021-02-07 07:18:22
问题 I have a Maven POM file and when I provide parallel execution options, I dont see any signs of parallel execution in the logs. And XML debugging is driving me nuts. Any thoughts what is wrong here? <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId

How do I erase an Xcode 10 simulator clone through CLI?

会有一股神秘感。 提交于 2020-02-03 07:52:13
问题 Do they share the same UDID? How are they implemented under the hood? The scenario is I have 4 clones running UI tests in parallel. I need a clean simulator for some tests (but want to keep random test order) 回答1: Command to erase all testing simulators (you'll need to restart Xcode after that): xcrun simctl --set testing delete all Overall, it should be better to just reset those sims (you won't need to restart after that): xcrun simctl --set testing shutdown all xcrun simctl --set testing

WedDriverException : java.util.HashMap cannot be cast to java.lang.String when initializing RemoteWebDriver

若如初见. 提交于 2020-01-25 04:49:16
问题 I am trying to run Junit tests in parllel ,did a grid setup with 3 nodes , while executing the test got an exception org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. My understanding is There is nothing to do with Firefox and selenium version , I believe the exception is due to lock issued by the firefox for an webdriver instance which is not released within 45000 ms which throws an timeout exception for other webdriver

Opening multiple appium server Instances on same machine

跟風遠走 提交于 2020-01-17 03:35:27
问题 Can I start 2 appium server instances on my machine at the same time so that I can execute my test script simultaneously on 2 different devices connected to the machine? Actually what I'm trying is to run my test script on 2 devices connected to same windows machine. For this I am using TestNG to pass the Android Driver url to start session. This url will be dynamic as 2 devices will be using 2 Appium server instances. Can I create 2 instances of Appium server at same time? If so then can I

@beforeclass methods get exexcuted in same thread if we put parallel=“tests” in the suite xml

一世执手 提交于 2020-01-05 06:53:29
问题 I have a test suite where i am using parallelism by using annotation like : test name="All Regular Tests" parallel="tests" thread-count="30" Now, let's say we have multiple @test annotation in one class. and it has @beforeclass annotation method as well. So when separate thread will pick the tests from same class, will it execute the @beforeclass methods in both threads or will it share the same data. Or shall i use parallel="methods", what is the correct way ? Not able to understand the

Running test in parallel with surefire and displaying them properly with the TestNG Jenkins plugin

和自甴很熟 提交于 2019-12-31 04:58:05
问题 I'm running tests with parallel execution using surefire, and that all seems to work fine. However, there's only one testng-results.xml generated in the target/surefire-reports/ folder which ... only contains the results of the test that ran last. I found an issue exactly for that reported for an older version of surefire, and it says "won't fix" here: http://t161727.apache-maven-issues.apacheforum.info/surefire-1018-surefire-reports-overwrite-each-other-whenusing-forking-t161727.html However

Selenium Grid running tests in parallel

北城以北 提交于 2019-12-21 23:44:35
问题 Currently, I have a Selenium grid setup, with 1 local hub and 2 local nodes. The hub is capable of distributing the tests to run in parallel and distribute it over to the nodes. I am running the tests in parallel. The following is the base test public abstract class BaseTest { String testFolder; String testName; protected String envName; protected Configuration config; protected String host; protected RemoteWebDriver driver; protected String proxy; protected SomeData someData; protected

how to run my selenium test methods in parallel using testng

烈酒焚心 提交于 2019-12-19 10:58:14
问题 I am trying to run my automated tests(Selenium webdriver) in parallel using testng. this is the node which I am running: java -Dwebdriver.gecko.driver=chromedriver.exe -jar selenium-server-standalone-3.4.0.jar -role node -hub http://localhost:4444/grid/register -browser browserName=chrome,maxInstances=2 -maxSession 2 this is my test class: public class TestParallel { Login login; //@BeforeMethod(alwaysRun = true) public SeleniumDriverCore testSetup() throws FileNotFoundException, IOException{

Selenium parallel testing on multiple browsers (JAVA)

会有一股神秘感。 提交于 2019-12-13 18:47:25
问题 I was surprised not to find any intelligent solution how run Selenium webdriver tests using Selenium Grid but running each test with multiple browsers. Preferably I'd like to have some kind of configuration (file, or hard coded) where I can specify all browsers I want my tests to run. And then each test would be run on each of those browsers. I assume it is possible to write your own testrunner and place a loop iterating each test rung through all the browsers. But maybe someone knows a more