Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Execute SoapUI test on multi-threads

I have a SoapUI test which uses an input file to read lines as input of requests. So there is a loop which reads data and execute request and write output to file. Response times are too long, so processing of this file should be done asynchronously, but I am not sure, how SoapUI can handle this. There is file attachment in SOAP requests, which is not handled by current version of JMeter.

like image 613
plaidshirt Avatar asked Jan 09 '18 04:01

plaidshirt


People also ask

Can SoapUI do load testing?

SoapUI offers basic load testing capabilities. If you want to get more out of your load testing, ReadyAPI with ReadyAPI has more capabilities for the professional load tester. You can use your SoapUI tests with ReadyAPI and get more visibility into server performance and how your application behaves under stress.

What type of tests you Cannot perform using SoapUI?

User Interface testing SoapUI is not a testing tool to test user interfaces (UI). It is not used to test Web user interfaces. However can be collaborated with Selenium tool to do such testing.


2 Answers

As per the SoapUI's documentation below, both test cases or test suites can be executed in Parallel mode.

In the case of TestSuites and TestCases these can be executed either in sequence or parallell, as configured with the corresponding toolbar buttons.

enter image description here

In the above image, first one in the marked image stands for sequential execution and the second one (with multiple parallel arrows) stands for Parallel execution mode.

User can select either of the one before executing the tests.

Hope this helps.

Note that SOAPUI does not allows test steps to be executed in parallel. If you need any custom execution i.e., same test case and steps to be executed in Parallel, here is sample project done for that. It can be used as reference and apply it to your case.

like image 96
Rao Avatar answered Oct 01 '22 05:10

Rao


I understood this question as requiring the ability to call a service asynchronously due to the time it takes to process. So, by this, I mean SoapUI makes a request to a web service and instead of waiting for it, it carries on. At some point later, SoapUI receives the response.

SoapUI can handle this, I haven't tried it myself, but when reading some guides recently, I noticed it can be done.

See.... Blog Guide

SoapUI Forum

In short, it involves setting up a mock service to receive the response, which can then be validated.

like image 39
Chris Adams Avatar answered Oct 01 '22 04:10

Chris Adams