2016-08-10 35 views
0

Apache JMeterのBeanShellアサーション応答がわかりません。JMeter BeanShellアサーションの比較

int varcount = Integer.parseInt(vars.get("getcount")); 
if ((varcount) < 25000) { 
    Failure = true; 
    FailureMessage = "testnsg"; 
} 

getcount値は、それがエラーなし25000しかし、上記のスクリプトが実行されて罰金を下回った場合に停止されるように、私は警告する必要が39000.とテストであり、私はその後((varcount) > 25000)との比較を変更したときに、私アラートを取得し、その結果、それは私が期待するものの反対だ」

Assertion error: false 
Assertion failure: true 
Assertion failure message: testnsg 

である。任意のアイデア?

答えて

関連する問題