Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 646 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 646 Bytes

Local runs

  1. Start sample API server
cd sample-api
npm install
npm start &

Sample API server will be available at http://localhost:6060.

  1. Run tests
jmeter -n -t jmeter-files/test-plan.jmx \
-Jdomain=localhost -Jport=6060 -Jnum_threads=3000 \
-e -f -l reports/result.jtl -o reports
  1. Upload JMeter result to Latency Lingo
JTL_RESULT_FILE=result.jtl LATENCY_LINGO_API_KEY=$LATENCY_LINGO_API_KEY \
./scripts/publish_to_latency_lingo.sh

Get the LATENCY_LINGO_API_KEY from API Access and export to environment.