Problem with Shared DataSource

This is community board for the soapUI Community. Here the members can exchange experiences and help each other improve their soapUI testing.

Problem with Shared DataSource

Postby Nicolas0712 » 04 Dec 2007 18:32

Hi,

I read about Sealight's problem with Shared Datasource ("Threads not starting with DataSource Loop", http://www.eviware.com/component/option ... 194#msg194)

and I am in a quite similar situation with SoapUI 1.7.6 Pro - but I have a different trouble :

when launching a Load Test with any number threads (1 or more ) and a Shared Excel Datasource, the following failure occurs on the datasource step :
"java.lang.Exception: Missing properties for DataSource"

If I turn off the 'Shared' parameter on the DataSource, or just run the Datasource step, the problem does not occur.

Any idea of the reason ?

Thanks in advance.

Nicolas.
Nicolas0712
User
 
Posts: 2
Joined: 04 Dec 2007 17:50

Re: Problem with Shared DataSource

Postby omatzura » 04 Dec 2007 21:23

Hi!

Thanks for your post, I'll try to reproduce and will get back to you!

regards,

/Ole
eviware.com
omatzura
Administrator
Administrator
 
Posts: 1918
Joined: 05 Jan 2007 23:39

Re: Problem with Shared DataSource

Postby omatzura » 04 Dec 2007 21:52

Hi!

this is probably because the loadtest is running "out of data".. could you please try setting to 1 thread and the limit to 1 total run to see if that works?

regards!

/Ole
eviware.com
omatzura
Administrator
Administrator
 
Posts: 1918
Joined: 05 Jan 2007 23:39

Re: Problem with Shared DataSource

Postby Nicolas0712 » 05 Dec 2007 11:40

Hi Omatzura !

I ran the loadtest with 1 thread and 1 total run, there was no error.

With 2 threads (and 2 total runs) the error occurs.

My datasource contains 100 rows, I guess all rows are consumed on the first run and the error actually occurs on the second run - in addition, according to my server logs, all rows are consumed by the first thread.

Is there some setting that allows to share data rows between threads ? Is that a matter of delay or synch ?

Regards,

Nicolas.
Nicolas0712
User
 
Posts: 2
Joined: 04 Dec 2007 17:50

Re: Problem with Shared DataSource

Postby omatzura » 05 Dec 2007 22:41

Hi Nicolas,

thanks.. this seems to have been a bug in the shared-datasource handling.. if you upgrade to the 2.0-beta2 version I can send you an updated jar for testing.. interested?

regards!

/Ole
eviware.com
omatzura
Administrator
Administrator
 
Posts: 1918
Joined: 05 Jan 2007 23:39


Return to soapUI Community Board