My client wants me to generate fake data for multiple fields in my web application and since number of fields too large I am looking for standard java library along with sample project that helps me achieve this. Please suggest good java library available in maven repository which can be imported in my project and help me generate fake data for my test automation scripts.

TESTING FORUM
To see this working, head to your live site.
Search
We suggest you to use Java Faker Library.
This library is a port of Ruby's faker gem that generates fake data. It's useful when you're developing a new project and need some pretty data for showcase.
Its maven dependency also available:
<dependency> <groupId>com.github.javafaker</groupId> <artifactId>javafaker</artifactId> <version>1.0.1</version> </dependency>
Example of usage can be as below:
Faker faker = new Faker(); String name = faker.name().fullName(); // Miss Samanta Schmidt String firstName = faker.name().firstName(); // Emory String lastName = faker.name().lastName(); // Barton String streetAddress = faker.address().streetAddress(); // 60018 Sawayn Brooks Suite 449
You can have look at Java Docs available under path:
http://dius.github.io/java-faker/apidocs/index.html
And if you look for sample web page that uses Java Faker Library kindly acess below URL:
https://java-faker.herokuapp.com/
And also have a look at full source code of Faker Application at Git Hub under path:
https://github.com/codingricky/java-faker-spring-boot
Sample application helps you understand detailed usage of Java Faker Library APIs.