UNPKG

node-laravel-encryptor

Version:
32 lines (29 loc) 771 B
config: target: 'http://localhost:9999' plugins: expect: {} phases: - duration: 10 arrivalRate: 11 processor: "./artillery-func.js" scenarios: - name: "Integration Test, parallel request" flow: - loop: - get: url: "/?id={{$loopCount}}" afterResponse: "encryptor" capture: - json: "$.id" as: id - json: "$.encrypted" as: encrypted expect: - statusCode: 200 - contentType: json - hasProperty: encrypted - hasProperty: id - equals: - "{{ id }}" - "{{ $loopCount }}" count: 10