Answers for "https - node load testing-"

0

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');});
Posted by: Guest on August-27-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language