-2

I want to execute one test case multiple times in parallel, for example, execute test_case1 10 times concurrently? I am not able to achieve this using pabot --processes

5
  • Welcome. I'd expect a bit more information in your question. How do you know the test case is not executed in parallel? Do you get any error? If so, post it in your question as well.
    – pavelsaman
    Jan 9, 2020 at 11:10
  • Because it's only executing a single test case. Jan 9, 2020 at 11:38
  • That's hardly an answer to my questions. Anyway, if you need a serious answer, you need to add more information. We don't have your context and don't see your screen and other outputs.
    – pavelsaman
    Jan 9, 2020 at 11:46
  • 1
    Have you tried --include {tag} {tag} {tag} or -t "Your test case name" . . .
    – PDHide
    Jan 9, 2020 at 12:08
  • the test get executed as much time the tag or '.' is repeated
    – PDHide
    Jan 9, 2020 at 12:08

1 Answer 1

1

Have you tried:

pabot --processes 8 -d results -o Output.xml Tests --include {tag} {tag} {tag} 

Or

pabot --processes 8 -d results -o Output.xml Tests  -t "Your test case name" . . . 

You could also use argument file to achieve what you want.

1
  • This solution did not work for me. Pabot executed the suite multiple times, but not in parallel, even if --processes was defined. All tests were executed serialized
    – Herry
    Sep 4 at 14:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.