Forum Discussion
nmrao
3 years agoChampion Level 3
It isn't so simple to achieve that.
Here is one library that can help to achieve the same.
https://github.com/HannnnXiao/javafaker
Apart from that, the trick is to create the custom classes based on the REST API specification and collect the each field data type and length restrictions from it instead of hard coded values. This way, even if there are changes in the API specification, one can quickly redo it.
It may take a while to fully create the library and plug it with Events so that when a new request step is created, data is automatically populated for the request. One need to see if this is really needed compared to time required to the above development.
Related Content
- 5 years ago
Recent Discussions
- 22 days ago