cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to speed up the testrunner execution by skipping the pluggin load?

rcatal01
New Contributor

Is there a way to speed up the testrunner execution by skipping the pluggin load?

I am running some test cases from the command line using the testrunner.  For some reason the actual execution time for the web service is very short, but the entire process to test is taking at least 14 seconds from beginning to end.  Here is the log:

 

13:06:29,431 INFO  [DefaultSoapUICore] initialized soapui-settings from [C:\soapui-settings.xml]
13:06:34,922 INFO  [PluginManager] 0 plugins loaded in 0 ms
13:06:34,922 INFO  [DefaultSoapUICore] All plugins loaded
SoapUI 5.2.1 TestCase Runner
13:06:36,186 INFO  [WsdlProject] Loaded project from [file:/c:/SomeFile.xml]
13:06:36,202 INFO  [SoapUITestCaseRunner] Running SoapUI tests in project [SomeProject]
13:06:36,202 INFO  [SoapUITestCaseRunner] Running Project [SomeProject], runType = SEQUENTIAL
13:06:36,217 INFO  [SoapUITestCaseRunner] Running SoapUI testcase [TestCase 1]
13:06:36,233 INFO  [SoapUITestCaseRunner] running step [SomeMethod - Request 1]
13:06:37,247 DEBUG [HttpClientSupport$SoapUIHttpClient] Attempt 1 to execute request
13:06:37,247 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Sending request: POST /SomeService.svc/basic HTTP/1.1
13:06:43,222 DEBUG [SoapUIMultiThreadedHttpConnectionManager$SoapUIDefaultClientConnection] Receiving response: HTTP/1.1 200 OK
13:06:43,222 DEBUG [HttpClientSupport$SoapUIHttpClient] Connection can be kept alive indefinitely
13:06:43,409 INFO  [SoapUITestCaseRunner] Assertion [SOAP Response] has status VALID
13:06:43,409 INFO  [SoapUITestCaseRunner] Finished running SoapUI testcase [TestCase 1], time taken: 7164ms, status: FINISHED
13:06:43,409 INFO  [SoapUITestCaseRunner] Project [SomeProject] finished with status [FINISHED] in 7207ms

 

 

The actual request begins at 13:06:37,247 and ends at 13:06:43,222 which is about only 6 seconds.  Is there a way to speed up the process that the test runner does at the beginning?  Thanks.

6 REPLIES 6
rcatal01
New Contributor

Re: Is there a way to speed up the testrunner execution by skipping the pluggin load?

Specifically, I am looking to see if this section can be faster or even skipped entirely since nothing is being loaded:

 

13:06:29,431 INFO  [DefaultSoapUICore] initialized soapui-settings from [C:\soapui-settings.xml]
13:06:34,922 INFO  [PluginManager] 0 plugins loaded in 0 ms
13:06:34,922 INFO  [DefaultSoapUICore] All plugins loaded

 

5 seconds

 

Thanks

 

 

clarkewerton
New Contributor

Re: Is there a way to speed up the testrunner execution by skipping the pluggin load?

Hi,

 

Is there anyone who can answer this question? I'm looking forward to have the solution too.

 

Thanks.

nmrao
Community Hero

Re: Is there a way to speed up the testrunner execution by skipping the pluggin load?

You mean, you don't want to load any plugins and you think that process is taking time?

By the way, what plugins you have currently?


Regards,
Rao.
clarkewerton
New Contributor

Re: Is there a way to speed up the testrunner execution by skipping the pluggin load?

Hi,

 

To be honest, I think I've no plugin configured on my POM.xml. Follow bellow my POM.xml:

 

"<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>
<groupId>br.com.wcclark</groupId>
<artifactId>ProjetoAutomacaoSOAPUIDemo</artifactId>
<version>0.0.1-SNAPSHOT</version>

 

<repositories>
<repository>
<id>smartbear-repository</id>
<name>smartbear-repository</name>
<url>http://www.soapui.org/repository/maven2</url>
</repository>
</repositories>

 

<dependencies>

<!-- XML PATH -->
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>xml-path</artifactId>
<version>3.0.0</version>
</dependency>

<!-- CUCUMBER -->
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-java</artifactId>
<version>1.2.5</version>
</dependency>

<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-junit</artifactId>
<version>1.2.5</version>
</dependency>

<dependency>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui</artifactId>
<version>5.5.0</version>
</dependency>
</dependencies>


</project>"

 

If there is a way to skip this part here, I'd be very thankful:

10:31:27,373 INFO [DefaultSoapUICore] Creating new settings at [C:\Users\clark.silva\soapui-settings.xml]
10:31:29,080 INFO [PluginManager] 0 plugins loaded in 1 ms
10:31:29,080 INFO [DefaultSoapUICore] All plugins loaded

 

I've always lost almost 4s only to check this on my Eclipse's console. After the loading of this part, that my Junit test starts indeed.

 

Regards,

 

Clark

 

clarkewerton
New Contributor

Re: Is there a way to speed up the testrunner execution by skipping the pluggin load?

Hi,

 

Is there anyone who can help me regarding this?

 

Thanks in advance.

 

Regards,

 

Clark

JHunt
Community Hero

Re: Is there a way to speed up the testrunner execution by skipping the pluggin load?

During that time, SoapUI itself is loading.

 

Instead of creating a new SoapUI for every test/suite, you'll want to create a single SoapUI instance for your entire test suite, and just create a new TestRunner for each test.

New Here?
Join us and watch the welcome video:
Top Kudoed Authors