I have created a django app. Now i want to test the application’s performance with some 5000 data. Is there any method to do it ? Is there any method to randomly enter this data into db and run the application ? I believe there should be some method rather than typing 5000 data manually into db. The database i use is mysql. I am quite new to Python and Django, so please help me to solve this . Thanks in advance.
Share
pycheesecake.org provides a good source of testing tools for python.
You might also want to checkout django-autofixture, a nice tool for inserting randomly generated data into the database, and django-mockups, which is a fork from django-autofixture.
Here is a sample usage of django-autofixture:
You just supply the app name, model and the number of objects that you want to create.