FakeData is a Python package that generates realistic business data, then run an associated jmeter case, thousands of data will be added to Project.
For the long term purpose, I hope the data is from Internet and user can create fake datasets for their data science/machine learning projects.
Python 2.7 need be installed
python setup.py installGenerate fake data
Just run csvfaker command to generate default fake data if you do not have any requiremnt for big volumes.
csvfakerOr if you want to generate hundreds of data you can run below command:
csvfaker --bo_pairs customer=1000,product=1000,contactPerson=500,lead=100,targetGroup=20,campaign=10,warehouse=25,salesOrder=1000,goodReceipt=500,salesOpportunity=500 Run jmeter case to add fake data to Your project
Precondition:
- xxx
- xxx
Once basic data are generated, you can run the YourJmeterCase.jmx to import all the data to your project.
Command csvfaker can take a locale as an argument to return localized data. If no locale provided, the faker falls back to the
default en_US locale.
If you want to Chinese data, just run
csvfaker -l zh_CNWhy some requests will be failed becasue of "server not respond" or "socket connection Exception" when I run the jmeter case?
This may be related to which jmeter vesion you used and which http client you give to jmeter case. Recommend that using Jmeter 3.1 and set jmeter.httpsampler to HttpClient3.1. But if you use other version of jmeter and httpClient, you can refer to this solution
- Business data will be captured by crawler
- Business data can be persisted into database for data science/machine learning purpose.