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'