UNPKG

@gatling.io/http

Version:

Gatling JS is a JavaScript/TypeScript interface for the [Gatling load testing tool](https://gatling.io/).

15 lines (14 loc) 590 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.sitemap = void 0; const jvm_types_1 = require("@gatling.io/jvm-types"); const core_1 = require("@gatling.io/core"); /** * Bootstrap a feeder that reads from a sitemap XML file * * @param filePath - the path of the file, either relative to the root of the classpath, or absolute, expressed as a * Gatling Expression Language String * @returns the next DSL step */ const sitemap = (filePath) => (0, core_1.wrapFileBasedFeederBuilder)(jvm_types_1.HttpDsl.sitemap(filePath)); exports.sitemap = sitemap;