Name | Modified | Size | Downloads / Week |
---|---|---|---|
LoadMonger-1.1.0.jar | 2013-01-02 | 162.4 kB | |
README.txt | 2013-01-02 | 3.1 kB | |
testconfig1.cfg | 2013-01-02 | 2.2 kB | |
runTestconfig1.sh | 2013-01-02 | 2.3 kB | |
LoadMonger-1.0.0.jar | 2012-12-13 | 2.0 MB | |
Totals: 5 Items | 2.2 MB | 0 |
# Copyright 2012 Steve Owens (steve@doitnext.com) - LoadMonger Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. Getting Started Quickly: 1. Download the following files: LoadMonger.jar runTestconfig1.sh testconfig1.cfg 2. Place the following dependencies in a directory that is accessible to the application at runtime: - commons-lang3-3.1.jar (Apache Commons Lang Project http://commons.apache.org/lang/) - commons-codec-1.6.jar (Bundled with Apache HttpClient Project http://hc.apache.org) - commons-logging-1.1.1.jar (Bundled with Apache HttpClient Project http://hc.apache.org) - fluent-hc-4.2.2.jar (Bundled with Apache HttpClient Project http://hc.apache.org) - httpclient-4.2.2.jar (Bundled with Apache HttpClient Project http://hc.apache.org) - httpclient-cache-4.2.2.jar (Bundled with Apache HttpClient Project http://hc.apache.org) - httpcore-4.2.2.jar (Bundled with Apache HttpClient Project http://hc.apache.org) - httpmime-4.2.2.jar (Bundled with Apache HttpClient Project http://hc.apache.org) - json-simple-1.1.1.jar (Json Simple Project http://code.google.com/p/json-simple/) - loremipsum-1.0.jar (Lorem Ipsum for Java Project https://sourceforge.net/projects/loremipsum/) In the example script runTestConfig1.sh file provided the above dependencies are added to the classpath (in case you need an example). If you have written plugins to allow alternate processing of requests above and beyond the functionality provided by the DefaultHttpRequestPreparer class you will need to add those to your classpath as well. 3. The runTestconfig1.sh provides an example startup script suitable for execution in a POSIX environment. You will need to tweak the directories to correspond to where you want the files downloaded above. 4. The testconfig1.cfg file provides an example test configuration. This JSON format file defines the test. You should update the URLs in he "calls" attribute to reflect valid urls to test against. The urls contain the following substitution template ${hostname}. If you wish to use this substitution template in your urls in order to make the test more flexible you can simply invoke the runTestconfig1.sh script as follows: > ./runTestconfig1.sh -H myhost.mydomain.com -i $HOME/my-jxon-files -l $HOME/my-log-dir -n 30 Obviously you will want to modify 'myhost.mydomain.com' to something real. Happy testing!