Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

https - node load testing-

const loadtest = require('loadtest'); const options = {    url: 'https://www.example.com',    maxRequests: 100,    secureProtocol: 'TLSv1_method'}; loadtest.loadTest(options, function(error) {    if (error) {        return console.error('Got an error: %s', error);    }    console.log('Tests run successfully');});
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #https #node #load
ADD COMMENT
Topic
Name
5+9 =