我有一個場景,其中有內部的,如果控制器如何運行IF控制器內的多個HTTP採樣
當if條件爲真,它只是運行第一個HTTP sampler.Its不執行兩個HTTP採樣HTTP採樣器2。
as example:-
if-controller (condition true, none of the check-box got checked)
++HTTP sampler1
++HTTP sampler2
輸出: - 僅HTTP採樣器1運行。即使採樣器1的結果是通過狀態,它也不會執行採樣器2
我知道我可以將它分成兩個if-控制器,它可以正常工作。但我不想那樣。因爲如果我有5個HTTP採樣器要在if-controller的基礎上執行,那麼我不應該將它分割爲5個 - 如果 - 每個控制器都嵌入單個HTTP採樣器。
if-controller (condition true, none of the checkbox got checked)
++HTTP sampler1
if-controller (condition true, none of the checkbox got checked)
++HTTP sampler2
有沒有辦法讓所有的HTTP採樣器在IF控制器下面執行並執行。我嘗試了簡單的控制器,但沒有運氣。
我更新了我的答案,如果正常,請回答 –