Хорошо, я создал еще один тестовый проект с:
scn00.inject(rampUsers(100) during(2 seconds))
.protocols(protocol),
scn01.inject(nothingFor(20 seconds),rampUsers(100) during(2 seconds))
.protocols(protocol)
В этом сценарии ios я оставил только
.feed(customFeeder)
.pause(1 seconds)
.exec(customAction("Action X")((testData) => {
val y = testData.getConfig -- sometimes reads shared file during initialization
Thread.sleep(20000)
}))
, и результаты выглядели:
why in this chart we can see that:
- amount of 100 users was not reached? rampUsers(100) during (2 seconds)
- in that point this scenario should ends ( it contains almost only Thread.sleep(20000) )
- why: second scenario could reach amount of 100 users even if it differs only with nothingFor(20 seconds), additionaly: why this scenario did not start after 20seconds but 40 seconds?
- why: second scenario was frozen for 60 seconds and started to finishing after first scenario was completed by all users?
why it did not looked more or less like this:
введите описание изображения здесь