Comments (5)
Apparently there is an issue. However, I was unable to reproduce this. It is probably related to the scenario structure you had. Could you pass the details of the simulation you were running?
For example with this simulation defined in here: https://github.com/mhjort/clj-gatling-example/blob/master/src/clj_gatling_example/simulations.clj I was able to start it with concurrency 10000 (with my machine it is not possible to run properly with that kind of an concurrency but it does not crash)
from trombi.
There it is:
(ns net.company.project.load.simulations
(:require [clojure.core.async :refer [chan go >!]]
[org.httpkit.client :as http]
))
(defn create-pairing
[]
{:name "Customer: Create pairing"
:request (fn [_]
(let [response (chan)
process-result (fn [{:keys [status]}]
(go
(>! response [(and status (<= 200 status 299))])
))]
(http/request {:method :post
:url "http://localhost:8080/api/v1/pairings"}
process-result)
response))})
(def purchase-simulation
{:name "Purchase simulation"
:scenarios [
{:name "Happy purchase"
:weight 100
:steps [
(create-pairing)
]}
{:name "Canceled purchase"
:weight 1
:steps [
(create-pairing)
]}
{:name "Customer rejected purchase"
:weight 1
:steps [
(create-pairing)
]}
{:name "Balance rejected purchase"
:weight 1
:steps [
(create-pairing)
]}
]})
(def simulations
{
:purchase purchase-simulation
})
I tried to cut down irrelevant things as much as possible. So e.g. those four "different" scenarios are meaningful, when I cut one out, the error goes away.
from trombi.
Thanks. I can now also reproduce the problem. I will investigate this one.
from trombi.
Found a root cause and managed to fix the bug. This is now fixed in 0.10.2
from trombi.
I confirm it is resolved. Thank you.
from trombi.
Related Issues (20)
- An issue with async/timeout HOT 7
- Add scenario pre-hook and post-hook HOT 1
- Simulation with concurrency distribution fails when duration left unspecified HOT 3
- Upgrade http-kit for JDK 9 HOT 6
- Issues with high concurrency HOT 2
- Log timeouts HOT 1
- With uneven scenario weights some scenarios might run with concurrency 0 HOT 1
- clj-time HOT 6
- Steps running serially? HOT 3
- How to identify concurrency issues HOT 7
- Kill a simulation? HOT 2
- Add raw reporter HOT 2
- File based raw reporter does not work when there are less than 20000 requests in simulation
- Catch also AssertionErrors and mark those requests as KOs
- IndexOutOfBoundsException when splitting rate to weighted scenarios HOT 1
- Progress reporter shows negative concurrency values sometimes in the end of the simulation
- Terminate scenario early based on step function return value HOT 1
- Reporters console output is called too early before the results have been calculated
- Concurrency is higher than given in options
- Divide by zero when experimental test runner stats is enabled HOT 2
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 trombi.