_ivanovich_
5 years agoFrequent Contributor
How to send value from response into datasource ?
Hi,
say for example in the script assertion we get a value from a response:
def nameId= context.expand( '${getPerson#Response#$[\'data\'][4][\'name\'][\'nameId\']}' )
Question:
suppose we have already a datasource step with an excel file.
How to send this value "nameId" into a cell named "nameId "in excel file?
without using datasink step.
Thank you. Wanted to understand why value needs to be stored in excel?
Would you please point that or post the error if you already tried in script assertion?
Mostly the a script would work.in script assertion too if that works in groovy script with or without minimal changes