Comments (5)
Fixed here @servohatred - just remove use strict
from your plugin and it should work.
from artillery.
Glad it worked @servohatred !
Yes we do support afterScenario
/beforeScenario
hooks (e.g. http engine), but it's worth noting that not all engines have it implemented. For example, the HTTP engine has those hooks, but Playwright engine does not.
from artillery.
Hi @servohatred 👋
I actually think that's a bug with the example plugin code, as it also fails with .js
processor . I'll fix it shortly.
from artillery.
Fixed here @servohatred - just remove
use strict
from your plugin and it should work.
Thank you very much for your help, I tried that and it worked. A quick question if posible .... Does artillery support adding afterScenario hooks ? I can see an before request hook in the example but not sure about the other one.
from artillery.
That was it, i've been trying that with the playwright engine but it's not working. Thank you for the clarification! Hope it gets implemented!
from artillery.
Related Issues (20)
- "histogram" event is not being triggered when using an event listener in plugin HOT 1
- YAML errors out when using before and after scenario hooks in YAML HOT 4
- We need the total of Failed users per phase HOT 1
- artillery-engine-processor could not be loaded
- Cannot find module 'artillery-engine-processor' HOT 3
- Error: Cookie not in this host's domain. Cookie
- errors.Cannot read properties of undefined (reading '0') HOT 9
- Using token generated from config.yml in scenarios/file1.yml
- ARTILLERY_CLOUD_API_KEY has no effect in .env file HOT 3
- Issues with playwright engine and target url as baseURL HOT 5
- Character limit of `--dotenv` in `run-fargate`
- Cannot find module run-fargate.js on a Multiple Scenario specs.
- InvalidParameterValueException: Unzipped size must be smaller than 262144000 bytes with artillery lambda HOT 6
- Headers in default Playwright config values are not being reflected in Artillery performance tests HOT 2
- How to generate a HTML report HOT 1
- Mock data update while running the config.yml file
- Playwright storagestage filename from payload fields HOT 2
- load data from CSV HOT 4
- Getting triggerUncaughtException for artillery 2.0.9 with Node 18.17.0 on Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artillery.