Load testing with Jmeter:
- download the software from their website.
- search for the sql driver jar file and download that.
- put that file into the /lib of the jmeter folder
- start the jmeter app inside /bin
- for running tests on db, create a dbconnection step
- put in the db login details, and define a variable name used as the connection
- create a new step for running the tests.
- make sure the tests is run as executable if its a store procedure.
- you can add in parameters, or a csv file of parameters i believe.
- create reports step to capture any errors and success rate.
Performance monitor with NewRelic:
- check package manager for the newrelic library.
- For NPM you need to install it into the package.json.
- put require(newrelic); into the first line of the file that inits the server.
- copy or create the config into the base codebase.
- in the config file, you can state the app name, and include any certs that might need to bypass the firewall.
Optional configs the in UI dashboard:
- you can set the pinger to check for application availableness in different region in the world.
- set the score on how to rate the performances. For example throughput / time to complete a transaction, and failures within a time frame.
In app testing with Groovy:
- unit testing
- external testing
- integration testing