Skip to content

Load testing with AWS lambda and node

Notifications You must be signed in to change notification settings

postmanlabs/load-testing

 
 

Repository files navigation

From this blog post: Don’t get TechCrunched: performance testing for your HTTP APIs

Using AWS Lambda to run concurrent functions with Newman

Get Started

Install dependencies

$ npm install

Run script from the command line

$ node loadTest.js

Your Postman collection can be exported as a JSON file and run from your local file system, as in this example here. Alternatively, you can use the Postman API to access the latest version of your collection. The second approach is recommended if you plan to update the collection more frequently.

The handler function is defined in index.js if you're uploading this script to AWS Lambda. Zip up the required files and dependencies.

$ node run zip

Example script is taken from the Newman open source project.

About

Load testing with AWS lambda and node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%