jjain2901 / mongometer Goto Github PK
View Code? Open in Web Editor NEWThis project forked from janpaulettles/mongometer
JMeter extension for comparing the relative performance of MongoDB scripts
This project forked from janpaulettles/mongometer
JMeter extension for comparing the relative performance of MongoDB scripts
To quickstart, just check everything is hanging together. Copy across the jars mongometer.jar lives in out/artifacts Ensure you have mongometer.jar and the mongo java driver jar in /usr/lib/jmeter/2.8/lib/ext It's a java7, 64-bit linux build (just in case you have any issues) Start up mongodb /usr/lib/mongodb/2.0.6/bin/mongod --dbpath /data/db --logpath /data/db/mongod.log Start up a shell $cd /usr/lib/mongodb/2.0.6/bin/ $./mongo Set the logging level in jmeter.properties #log_level.jan=DEBUG log_level.jan.mongometer.config=DEBUG #log_level.jan.mongometer.mongo=DEBUG #log_level.jan.mongometer.sampler=DEBUG Inside /usr/lib/jmeter/2.8/lib/ext/ApacheJMeter_core.jar Edit this /org/apache/jmeter/resources/messages.properties Change Line 682 from property_tool_tip={0}\: {1} to property_tool_tip=<html><b>{0}</b><br><br>{1}</html> Start up jmeter /usr/lib/jmeter/2.8/bin/jmeter.sh Add a ThreadGroup Add MongoDB Sampler to the ThreadGroup Add View Result Tree Listener to ThreadGroup Server Address List 127.0.0.1 Database jmeter Example Script Insert db.jmeter.insert({"jan":"the great"}) Count function() {return db.jmeter.find().count();} Find function() {return db.jmeter.find().toArray();} Hit Go In the shell >use jmeter >db.jmeter.find()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.