Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

loadmill

Package Overview
Dependencies
Maintainers
3
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loadmill - npm Package Compare versions

Comparing version 4.2.2 to 4.2.3

1

lib/index.d.ts

@@ -48,2 +48,3 @@ import './polyfills';

apiCatalogService?: string;
turboParallel?: boolean;
}

@@ -50,0 +51,0 @@ interface TestResult extends TestDef {

6

lib/index.js

@@ -84,3 +84,3 @@ "use strict";

return tslib_1.__awaiter(this, void 0, void 0, function () {
var testPlanId, overrideParameters, labels, labelsExpression, additionalDescription, pool, tags, parallel, branch, inlineParameterOverride, maxFlakyFlowRetries, apiCatalogService, _b, testPlanRunId, err;
var testPlanId, overrideParameters, labels, labelsExpression, additionalDescription, pool, tags, parallel, branch, inlineParameterOverride, maxFlakyFlowRetries, apiCatalogService, turboParallel, _b, testPlanRunId, err;
return tslib_1.__generator(this, function (_c) {

@@ -101,2 +101,3 @@ switch (_c.label) {

apiCatalogService = testPlan.options && testPlan.options.apiCatalogService;
turboParallel = !!(testPlan.options && testPlan.options.turboParallel);
return [4 /*yield*/, superagent.post(testPlansAPI + "/" + testPlanId + "/run")

@@ -114,3 +115,4 @@ .send({

inlineParameterOverride: inlineParameterOverride,
apiCatalogService: apiCatalogService
apiCatalogService: apiCatalogService,
turboParallel: turboParallel
})

@@ -117,0 +119,0 @@ .auth(token, '')];

@@ -38,2 +38,3 @@ "use strict";

.option("--apiCatalogService <apiCatalogService>", "Use the provided service when mapping the APIs in the catalog. Service will be created if not exist")
.option("--turbo-parallel", "Run the test plan in turbo mode")
.parse(process.argv);

@@ -46,7 +47,7 @@ start()["catch"](function (err) {

return tslib_1.__awaiter(this, void 0, void 0, function () {
var wait, bail, quiet, token, verbose, colors, report, errorsReport, junitReport, junitReportPath, mochawesomeReport, mochawesomeReportPath, parallel, loadTest, testPlan, additionalDescription, labels, labelsExpression, pool, tags, branch, retryFailedFlows, parametersFile, inlineParameterOverride, apiCatalogService, _a, input, rawParams, logger, parameters, loadmill, testFailed, testStopped, res, planLabels, planTags, running, e_1, extInfo, configFile, res_1, id;
var wait, bail, quiet, token, verbose, colors, report, errorsReport, junitReport, junitReportPath, mochawesomeReport, mochawesomeReportPath, parallel, loadTest, testPlan, additionalDescription, labels, labelsExpression, pool, tags, branch, retryFailedFlows, parametersFile, inlineParameterOverride, apiCatalogService, turboParallel, _a, input, rawParams, logger, parameters, loadmill, testFailed, testStopped, res, planLabels, planTags, running, e_1, extInfo, configFile, res_1, id;
return tslib_1.__generator(this, function (_b) {
switch (_b.label) {
case 0:
wait = program.wait, bail = program.bail, quiet = program.quiet, token = program.token, verbose = program.verbose, colors = program.colors, report = program.report, errorsReport = program.errorsReport, junitReport = program.junitReport, junitReportPath = program.junitReportPath, mochawesomeReport = program.mochawesomeReport, mochawesomeReportPath = program.mochawesomeReportPath, parallel = program.parallel, loadTest = program.loadTest, testPlan = program.testPlan, additionalDescription = program.additionalDescription, labels = program.labels, labelsExpression = program.labelsExpression, pool = program.pool, tags = program.tags, branch = program.branch, retryFailedFlows = program.retryFailedFlows, parametersFile = program.parametersFile, inlineParameterOverride = program.inlineParameterOverride, apiCatalogService = program.apiCatalogService, _a = program.args, input = _a[0], rawParams = _a.slice(1);
wait = program.wait, bail = program.bail, quiet = program.quiet, token = program.token, verbose = program.verbose, colors = program.colors, report = program.report, errorsReport = program.errorsReport, junitReport = program.junitReport, junitReportPath = program.junitReportPath, mochawesomeReport = program.mochawesomeReport, mochawesomeReportPath = program.mochawesomeReportPath, parallel = program.parallel, loadTest = program.loadTest, testPlan = program.testPlan, additionalDescription = program.additionalDescription, labels = program.labels, labelsExpression = program.labelsExpression, pool = program.pool, tags = program.tags, branch = program.branch, retryFailedFlows = program.retryFailedFlows, parametersFile = program.parametersFile, inlineParameterOverride = program.inlineParameterOverride, apiCatalogService = program.apiCatalogService, turboParallel = program.turboParallel, _a = program.args, input = _a[0], rawParams = _a.slice(1);
logger = utils_1.getLogger({ verbose: verbose, colors: colors });

@@ -86,2 +87,3 @@ if (!token) {

apiCatalogService: apiCatalogService,
turboParallel: turboParallel,
parameters: parameters

@@ -127,3 +129,4 @@ });

inlineParameterOverride: inlineParameterOverride,
apiCatalogService: apiCatalogService
apiCatalogService: apiCatalogService,
turboParallel: turboParallel
}

@@ -130,0 +133,0 @@ }, parameters)];

{
"name": "loadmill",
"version": "4.2.2",
"version": "4.2.3",
"description": "A node.js module for running load tests and functional tests on loadmill.com",

@@ -5,0 +5,0 @@ "keywords": [

@@ -104,2 +104,3 @@ import './polyfills'

const apiCatalogService = testPlan.options && testPlan.options.apiCatalogService;
const turboParallel = !!(testPlan.options && testPlan.options.turboParallel);
const {

@@ -123,2 +124,3 @@ body: {

apiCatalogService,
turboParallel,
})

@@ -360,2 +362,3 @@ .auth(token, '');

apiCatalogService?: string;
turboParallel?: boolean;
}

@@ -362,0 +365,0 @@ export interface TestResult extends TestDef {

@@ -47,2 +47,3 @@ import * as Loadmill from './index';

.option("--apiCatalogService <apiCatalogService>", "Use the provided service when mapping the APIs in the catalog. Service will be created if not exist")
.option("--turbo-parallel", "Run the test plan in turbo mode")
.parse(process.argv);

@@ -84,2 +85,3 @@

apiCatalogService,
turboParallel,
args: [input, ...rawParams]

@@ -126,2 +128,3 @@ } = program;

apiCatalogService,
turboParallel,
parameters,

@@ -177,2 +180,3 @@ });

apiCatalogService,
turboParallel,
}

@@ -179,0 +183,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc