Forum Discussion
nmrao
6 years agoChampion Level 3
You can verify.
More details of the issue, please?
How could some one understand your issue with the given description?
More details of the issue, please?
How could some one understand your issue with the given description?
- maddenapally6 years agoContributor
Thanks Rao :smileyhappy:,
I want to verify How is the data inserting into DB Columns from JSON Request.
For Example: I have property name the should be goes to property column, I have to verify.
Please find the attached file for more information.
Regards,
Karthik
- nmrao6 years agoChampion Level 3
Thank you for the screen shot, maddenapally
Still not clear what steps does the test case has? and where would you like to use the requested map?
Anyways, below is the way to map in groovy script as per the screen shot
def map = [action: 'HTL_SELL_START.HTL_CD', chainCode: 'HTL_SELL_START.SELL_START_CD', brandCode: 'HTL_SELL_START.SELL_START_NM', propertyCode: 'HTL_SELL_START.SELL_START_DESC' propertyName: 'HTL_SELL_START.BEG_DT']
For example if the test case contains
1. REST Request step with POST method
2. JDBC step to retrieve the data
And the objective is to verify, then have a look script here
Related Content
- 2 years ago
- 12 years ago
- 12 years ago
- 2 years ago