Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kschingiz/artillery-engine-meteor
MeteorJS engine for Artillery load testing
https://github.com/kschingiz/artillery-engine-meteor
Last synced: 3 months ago
JSON representation
MeteorJS engine for Artillery load testing
- Host: GitHub
- URL: https://github.com/kschingiz/artillery-engine-meteor
- Owner: kschingiz
- Created: 2020-02-12T08:11:35.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-02T16:15:39.000Z (almost 2 years ago)
- Last Synced: 2024-09-30T05:20:51.294Z (3 months ago)
- Language: JavaScript
- Size: 302 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-meteor - artillery-engine-meteor - Artillery load testing for applications. (Packages)
- awesome-meteor - artillery-engine-meteor - Artillery load testing for MeteorJS applications. (Performance)
README
# MeteorJS Artillery engine
Artillery loading testing for MeteorJS applications
## Features
Engine supports meteor features:
1. Meteor call
2. Meteor subscribe
3. Login## Installation and usage
Install Artillery and Meteor engine
```
npm i -g artillery
npm i -g artillery-engine-meteor
```Create artillery config file:
```yml
config:
target: "ws://localhost:3000/websocket" # your app url
phases:
- duration: 60
arrivalRate: 20
engines:
meteor: {} # include meteor engine
scenarios:
- engine: "meteor" # meteor scenario
flow: # scenario flow
- login: # login first
username: USERNAME
password: PASSWORD
- call: # then Meteor.call
name: "method name"
payload: # make sure payload is Array type
- _id: "Payload"
- subscribe: # subscribe to publication
name: "pub name"
payload: # make sure payload is Array type
- "Payload"
```Run config:
```sh
artillery run config.yml
```## TODO:
1. Tests
2. Add logout and unsubscribe functions