Вопрос

I have OS Process Sampler to invoke OS command via JMeter. I need to measure total time of script execution and define response assertion. Asseriont should fail if measured execution duration exceeds given limit.

How can I do this using JMeter? I can't see any possibility to measure execution duration.

Это было полезно?

Решение

Add a "Duration Assertion" as a child of your sampler.

https://jmeter.apache.org/usermanual/component_reference.html#Duration_Assertion

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top