Skip to content

gatling/gatling-postman-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gatling Postman - JavaScript and TypeScript demo projects

A simple showcase of JavaScript and TypeScript NPM projects using Gatling Postman. Please also check out the Gatling Postman reference documentation.

Prerequisites

You need Node.js v18 or later (LTS versions only) and npm v8 or later (included with Node.js).

Use demo project

Run the typeScript sample:

cd typescript
npm install
npx gatling run --typescript --simulation computerdatabase # automatically download Gatling runtime, build the project, and run the computerdatabase simulation

Or the JavaScript sample:

cd javascript
npm install
npx gatling run --simulation computerdatabase # automatically download Gatling runtime, build the project, and run the computerdatabase simulation

The gatling command-line tool has a built-in help function:

npx gatling --help # List all available commands
npx gatling run --help # List options for the "run" command (--help also works for all other available commands)

Included helper scripts

Note that both sample projects include a few aliases in the package.json's scripts section, which you can use for convenience or refer to as examples:

npm run clean # Delete Gatling bundled code and generated reports
npm run format # Format code with prettier
npm run check # TypeScript project only, type check but don't build or run
npm run build # Build project but don't run
npm run computerdatabase # Run the included computerdatabase simulation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published