Ask a Question

Concurrency Testing with Varied Inputs

chaitanya509
Occasional Contributor

Concurrency Testing with Varied Inputs

Hi Team,

 

Is it possible to run the Concurrency test with varied inputs with SOAP UI ? I have created a Simple Test (Groovy Script Calling a SOAP Request) i want this test to be run with different test of inputs in concurrency with a single user is this possible with SOAP UI ? Can you share some references for this ?

 

Thanks 

Chaitanya

6 REPLIES 6
richie
Community Hero

Re: Concurrency Testing with Varied Inputs

Hey @chaitanya509,

You kinda lost me when you mentioned concurrency with a single user.

For performance related testing:

Pacing achieves 'load'
Think time.achieves 'concurrency'

But ive only ever come across the concept of concurrency with >1 virtual user.

Can you just expand your description to clarify? This will help people understand your issue.

Ta

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
ChrisAdams
Frequent Contributor

Re: Concurrency Testing with Varied Inputs

Hi,

 

As with @richie , you lost me with "concurrency with a single use".

 

With concurrency, you're describing a load test where by multiple virtual users run some same test at the same time to see how the API under test performs under load.  I tend to use JMeter for load tests (sorry SmartBear).  I've used SoapUI load tests in the past, but they didn't have the flexibility I needed.  I have not tried Load Testing in Ready API as I don't have the license, so I cannot comment.

 

Taking concurrency out of the question, I'd interpret this as...."I have a really good test, but I want to run it many times but pass in different values to the web request each time.  I do not want to copy this test 100 hundred times with a different value.  For example, searching for customers, I want to use the same test but pass in a different customer each time from a list.".  If this is the case, and I suspect it is, then you are asking about Functional Tests (aka Data-Driven Tests).  See Link.  I've mentioned this before, but this IMHO is the standout feature of ReadyAPI.

 

However, this functionality is only exposed to Pro or licensed users.  This functionality is hidden in the Open Source version.  But you can achieve the same using Groovy scripts.  There have been solutions for this on this forum as well as StackOverflow.

 

chaitanya509
Occasional Contributor

Re: Concurrency Testing with Varied Inputs

Thanks @richie , @ChrisAdams 

 

My Bad, I mean i want a setup that should test the Web service with a user with a unique set of data in concurrency,

for instance below is the example 

USER1  ---> DATA1

USER2  ---> DATA2

USER3  ---> DATA3

USER4  ---> DATA4

USER5  ---> DATA5

:

:

:

USERN  ---> DATAN

 

Is this possible with SOAP UI free version ? 

 

ChrisAdams
Frequent Contributor

Re: Concurrency Testing with Varied Inputs

Hi,

 

This is what I would call a load test.  I don't believe the free version does this.  You need the Pro licensed version or another application.

 

 

chaitanya509
Occasional Contributor

Re: Concurrency Testing with Varied Inputs

Luckly i got Pro License can you please share any references how this can be achieved ? 

ChrisAdams
Frequent Contributor

Re: Concurrency Testing with Varied Inputs

Im not sure what access you have with you license.   

 

Im assuming ReadyApi, there should be a link at the top of the screen to allow you to switch between between various products in the ReadyAPI suite.

 

My license only covers the SoapUI element of ReadyApi, so I have not used SmartBear’s LoadUI app since licensing model changed.

 

cancel
Showing results for 
Search instead for 
Did you mean: