Skip to content

nalindak/lambda-load-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lambda-load-test

Lambda based load testing utility

npm install lambda-load-test
touch test.js

add following content to test.js

'use strict';

var LoadTest = require('lambda-load-test');

var loadTest = new LoadTest({
    method: 'POST',
    applicationType: 'application/json',
    header: {
        'x-api-key': 'xxxxxKeyxxxxx'
    },
    body: {
        "test": "this is a test"
    },
    endpoint: 'https://something.com/something',
    requests: 1000,
    concurrency: 10
});

loadTest();

Then run the test,

AWS_PROFILE={PROFILE} node test.js

About

Lambda based load testing utility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published