cancel
Showing results for 
Search instead for 
Did you mean: 

Data Source > Data Generator - First Name & Last Name automatically changing to Full name

Contributor

Data Source > Data Generator - First Name & Last Name automatically changing to Full name

Hi,

 

I am facing following issue with Ready API 1.5.0 and older. First of all I found the Data Generator type data source extremely useful to create new data for web service testing. Then I ran into below problem.

 

Steps to reproduce.

1. Create a data source of Type 'Data Generator'

2. Create properties firstName and lastName and select the 'Name kind:' as 'First Name' and 'Last Name' respectively.

3. save the project and re-open

4. Name kind: changes automatically to 'Full'

 

Please let me know how to resolve this. My test steps fail because of this because the services I'm working with don't allow spaces in first name and last name.

 

Thanks for your help.

 

Regards,

Gilu Gopi

2 REPLIES 2
Community Hero

Re: Data Source > Data Generator - First Name & Last Name automatically changing to Full name

Followed your steps on ReadyAPI-1.4.1

  1. Saved the project
  2. Removed from workspace
  3. Imported again into workspace
  4. Go to the data source step, it remains as "FirstName".

Attaching sample project, try and see if you want.



Regards,
Rao.
Contributor

Re: Data Source > Data Generator - First Name & Last Name automatically changing to Full name

Thanks for your response

 

I just opened the project you attached in Ready API 1.5.0 and it displayed Name kind as 'Full'. I tried many more times adding and removing more properties and was able to consistently reproduce the issue. 

 

Proceeding with a work around. Selecting Property Type as 'Custom String' and Value as 

'%NAME(Any,FirstName)'

 

May not be worth the time to futher try to indentify the root cause. 

 

Thanks & Regards,

Gilu Gopi

 

 

New Here?
Join us and watch the welcome video:
Watch the new Interview
Top Kudoed Authors