8000 GitHub - subrato29/gatling-ts-demo: This is a Gatling boilerplate framework using TS
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

subrato29/gatling-ts-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gatling- TypeScript demo projects

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 gatling-ts-demo
npm install
npm run test # automatically download Gatling runtime, build the project, and run the videogame simulation

You can also launch the Gatling Recorder and use it to capture browser-based actions and help create a realistic user scenario:

npx gatling recorder

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 test # Run the included videogame simulation
npm run recorder # Starts the Gatling Recorder

Abo 4702 ut

This is a Gatling boilerplate framework using TS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0