Ask a Question

Data Source Generator

SOLVED
cpentecost
Occasional Contributor

Data Source Generator

Hey All

Just looking to see if there is a way to change the country of origin in SoapUI to be Canada so that I can randomly generate Provinces instead of States?

1 ACCEPTED SOLUTION

Accepted Solutions
richie
Community Hero

Re: Data Source Generator

Hi @cpentecost 

 

I've never tried this myself - but I just had a look at the 'Data Generator' function in the Datasource test step and I can't see any way to do this.

 

HOWEVER - there are in fact only 10 provinces in Canada (according to google - I'm from the UK....what would I know? ;)) - but as a workaround couldn't you just add the 10 provinces into a spreadsheet and use that as your datasource?

 

Cheers,

 

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

View solution in original post

2 REPLIES 2
richie
Community Hero

Re: Data Source Generator

Hi @cpentecost 

 

I've never tried this myself - but I just had a look at the 'Data Generator' function in the Datasource test step and I can't see any way to do this.

 

HOWEVER - there are in fact only 10 provinces in Canada (according to google - I'm from the UK....what would I know? ;)) - but as a workaround couldn't you just add the 10 provinces into a spreadsheet and use that as your datasource?

 

Cheers,

 

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

View solution in original post

cpentecost
Occasional Contributor

Re: Data Source Generator

I assumed that would be the case but the Country is greyed out so I figured there could be a config that would allow me to change the country of origin.  But yes an Excel Spreadsheet will work.

 

Thanks 

cancel
Showing results for 
Search instead for 
Did you mean: