set_properties
テストまたはビーコンのプロパティを設定します。
書式
emcli set_properties -name=<target_name> -type=<target_type> -testname=<test_name -testtype=<test_type> [-beacons=<beacon_names>] [-properties='prop1:value1;prop2:value2;..']+ [ ] indicates that the parameter is optional
オプション
-
name
サービス・ターゲット名。
-
type
サービス・ターゲット・タイプ。
-
testname
プロパティを設定するテストの名前。
-
testtype
プロパティを設定するテストのタイプ。
-
beacons
プロパティを設定するビーコンの名前。
-
properties
設定するプロパティの名前と値(複数可)。
例
例1
この例では、すべてのビーコンについて、MyTarget
で定義されたテストMyTest
でプロパティtimeout
を30000
に、granularityをtransaction
に設定します。
emcli set_properties -name='MyTarget' -type='generic_service' -testname='MyTest' -testtype='HTTP' -propertyName='timeout:30000;granularity:transaction'
例2
この例では、MyBeacon
およびMyBeacon2
についてのみ、MyTarget
で定義されたテストMyTest
のプロパティ値を30000
に設定します。これは、指定されたプロパティをビーコン・レベルで設定できる場合にのみ機能します。
emcli set_properties -name='MyTarget' -type='generic_service' -testname='MyTest' -testtype='HTTP' -bcnName='MyBeacon;MyBeacon2' -propertyName='timeout' -propertyValue='30000'