Forum Discussion
Apoorva6
Frequent Contributor
Hi Rao. Thanks for reply. I need this for data driven test only. So that i can do the permutation and combination of data and feed to body.
nmrao
8 years agoChampion Level 3
In that case, below would be more clean approach.
Instead of putting json request in the table, put the json request into a file and use that file name in the data driven table file.
Instead of putting json request in the table, put the json request into a file and use that file name in the data driven table file.
- Apoorva68 years agoFrequent Contributor
Hi Rao,
Thanks again for reply. I agree with you. However is there a way to pick each attribute from CSV / XLSX, and convert it to above jason format and trigger the request ? Why i need is, I want to try permutation and combination of all attributes.
One example is if I have 5 jason name value pairs, then some field may be mandatory, some are optional and all attributes length will be defined. So I want to make all available combinations and inject it to request one after another. So is there a way to achieve it in open source ?
- nmrao8 years agoChampion Level 3Would you show your data-driven script? Then it would be much easier.
Related Content
- 2 years ago
- 4 years ago
- 4 years ago
- 11 months ago
Recent Discussions
- 3 days ago