karatelabs / karate

Test Automation Made Simple

Home Page:https://karatelabs.github.io/karate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test triggered from freestyle pipeline executes in Pool-Thread, where as test triggered from Multibranch pipeline executes from main

vivek4033 opened this issue · comments

Freestyle Job - 20.12.14.648 [pool-1-thread-5] DEBUG com.intuit.karate - response time in milliseconds: 500
Multibranch Pipeline - 21:01:06:865 [main] DEBUG com..intuit.karate - response time in milliseconds: 333

The command which is used to run test is
mvn clean test -Dkarate.env=${environment} -Dtest.single=TestRunner -DTagname=${Tag_name_present_on_feature} -DThreadCount=${thread_count}

Execution happen as
Results results = Runner.path(features).outputCucumberJson(true).tags(tags).parallel(threadCount)