mock data generator code example
Example 1: generating test data in api
For API Part: I use "https://www.mockaroo.com/" ==>
generates multiple format (CSV, JSON, XML, etc)
Example 2: how to generate test data
When=> sprint planning meeting
Who=> Mostly I get test data from PO
However in some instances, especially in
negative test scenario I may need to
generate test data.
I use java faker to generate data
How => Faker faker=new Faker();
or String manupilation(substring concatination etc.)
I store it at SharePoint. Saved in my project
in xls type under data package
For API Part: I use "https://www.mockaroo.com/" ==>
generates multiple format (CSV, JSON, XML, etc)