cancel
Showing results for 
Search instead for 
Did you mean: 

How to set value smartly in test step in data-driven testing?

Contributor

How to set value smartly in test step in data-driven testing?

Hi,

 

Vi have soapui test steps and would like to convent to data-driven testing.  To take value from data source, now I manually copy and paste ${DBDataSource#value1}, ${DBDataSource#value2} to the corresponding field of request and result.  It is really time-consuming. Do you have any tips?  Can I use any groovy script to change the value of the request and result in test step? Do you have any groovy script example?

 

Thanks for your kind support in advance!

 

 

3 REPLIES 3

Re: How to set value smartly in test step in data-driven testing?

If you're using SoapUI NG Pro, the Point and Click Testing will allow you to map your DataSource properties to inputs in your requests with the click of a button.

 

For more information, please see this document.

Amber
Contributor

Re: How to set value smartly in test step in data-driven testing?

Thanks for your reply!

While it takes more time to click and point from get data option than copy and paste, since I have to select from project - test suite- test case- test step- datasource - columns.

 

Do you have any tips?  Thanks! 

Contributor

Re: How to set value smartly in test step in data-driven testing?

I tried to clone data source and soap request. The usage helps.

New Here?
Join us and watch the welcome video:
SeptemberNews
Join the exciting event
SeptemberHubBub
Top Kudoed Authors
Join the September Hub-bub to show off, learn and win