RestReplay running:
version: 1.0.18
runID:
runHashCount,: 0
testGroup: VarsAndValidators
controlFile: _self_test/self-test.xml
Master: _self_test/master-self-test.xml
env:
reports directory: /Users/vcrocla/src/RestReplay/reports
protoHostPort: http://localhost:${SELFTEST_PORT} from control file.
auths map: Using auths from master file: AuthsMap: {default=''; []}
masterVars:
SELFTEST_PORT: 28080
GLOBALMASTERVAR1: global_mastervar_value_1
GLOBALMASTERVAR2: global_mastervar_value_2
param_autoDeletePOSTS: true
Dump info: payloads: false, dumpServiceResult: minimal
RunOptions.dumpRunOptions: false
vars:SELFTEST_PORT [1]
references:
['21','34','129']
arr = ['...
arr = ki...
vars to protoHostPorthttp://localhost:${SELFTEST_PORT}http://localhost:28080
ID: SELFTEST_PORT2808028080
ID: GLOBALMASTERVAR1global_mastervar_value_1global_mastervar_value_1
ID: GLOBALMASTERVAR2global_mastervar_value_2global_mastervar_value_2
expand req. filenameRel:_self_test/res/jsonTreeCompareL.xml_self_test/res/jsonTreeCompareL.xml_self_test/res/jsonTreeCompareL.xml
expand req. filename:/Users/vcrocla/src/RestReplay/src/main/resources/restreplay/_self_test/res/jsonTreeCompareL.xml/Users/vcrocla/src/RestReplay/src/main/resources/restreplay/_self_test/res/jsonTreeCompareL.xml/Users/vcrocla/src/RestReplay/src/main/resources/restreplay/_self_test/res/jsonTreeCompareL.xml
expand req. file:_self_test/res/jsonTreeCompareL.xml<?xml version="1.0" encoding="UTF-8"?>
<root>
<a>one</a>
<b>
<c>two</c>
</b>
</root><?xml version="1.0" encoding="UTF-8"?>
<root>
<a>one</a>
<b>
<c>two</c>
</b>
</root>
export vars: OFFSET${
arr = kit.newStringArray(3);
arr[0]="10";
arr[1]="18";
arr[2]="21";
return arr;
}[Ljava.lang.String;@5c725e09
ID: SELFTEST_PORT2808028080
ID: GLOBALMASTERVAR1global_mastervar_value_1global_mastervar_value_1
ID: GLOBALMASTERVAR2global_mastervar_value_2global_mastervar_value_2
export vars: OFFSET_LITERAL${
arr = ['20', '33', '128'];
return arr;
}[Ljava.lang.String;@587bd049
ID: SELFTEST_PORT2808028080
ID: GLOBALMASTERVAR1global_mastervar_value_1global_mastervar_value_1
ID: GLOBALMASTERVAR2global_mastervar_value_2global_mastervar_value_2
export vars: OFFSET_LITERAL_SINGLE${['21','34','129']}[Ljava.lang.String;@28a79601
ID: SELFTEST_PORT2808028080
ID: GLOBALMASTERVAR1global_mastervar_value_1global_mastervar_value_1
ID: GLOBALMASTERVAR2global_mastervar_value_2global_mastervar_value_2
vars:SELFTEST_PORT [1]
references:
exportVarsFromJexl.OFFSET_LITERAL_S...
exportVarsFromJexl.OFFSET_LITERAL_S...
exportVarsFromJexl.OFFSET[1]
exportVarsFromJexl.OFFSET_LITERAL[1...
exportVarsFromJexl.OFFSET_LITERAL[2...
exportVarsFromJexl.OFFSET[2]
exportVarsFromJexl.OFFSET_LITERAL_S...
exportVarsFromJexl.OFFSET[0]
exportVarsFromJexl.OFFSET_LITERAL[0...
vars to protoHostPorthttp://localhost:${SELFTEST_PORT}http://localhost:28080
ID: SELFTEST_PORT2808028080
ID: GLOBALMASTERVAR1global_mastervar_value_1global_mastervar_value_1
ID: GLOBALMASTERVAR2global_mastervar_value_2global_mastervar_value_2
ID: ARRAYS_USED_0OFFSET: ${exportVarsFromJexl.OFFSET[0]}, ${exportVarsFromJexl.OFFSET[1]}, ${exportVarsFromJexl.OFFSET[2]}OFFSET: 10, 18, 21
ID: ARRAYS_USED_1OFFSET_LITERAL: ${exportVarsFromJexl.OFFSET_LITERAL[0]}, ${exportVarsFromJexl.OFFSET_LITERAL[1]}, ${exportVarsFromJexl.OFFSET_LITERAL[2]}OFFSET_LITERAL: 20, 33, 128
ID: ARRAYS_USED_2OFFSET_LITERAL_SINGLE: ${exportVarsFromJexl.OFFSET_LITERAL_SINGLE[0]}, ${exportVarsFromJexl.OFFSET_LITERAL_SINGLE[1]}, ${exportVarsFromJexl.OFFSET_LITERAL_SINGLE[2]}OFFSET_LITERAL_SINGLE: 21, 34, 129
ID: theOFFSET0${exportVarsFromJexl.OFFSET[0]}10
expand req. filenameRel:_self_test/res/jsonTreeCompareL.xml_self_test/res/jsonTreeCompareL.xml_self_test/res/jsonTreeCompareL.xml
ID: ARRAYS_USED_0OFFSET: ${exportVarsFromJexl.OFFSET[0]}, ${exportVarsFromJexl.OFFSET[1]}, ${exportVarsFromJexl.OFFSET[2]}OFFSET: 10, 18, 21
ID: ARRAYS_USED_1OFFSET_LITERAL: ${exportVarsFromJexl.OFFSET_LITERAL[0]}, ${exportVarsFromJexl.OFFSET_LITERAL[1]}, ${exportVarsFromJexl.OFFSET_LITERAL[2]}OFFSET_LITERAL: 20, 33, 128
ID: ARRAYS_USED_2OFFSET_LITERAL_SINGLE: ${exportVarsFromJexl.OFFSET_LITERAL_SINGLE[0]}, ${exportVarsFromJexl.OFFSET_LITERAL_SINGLE[1]}, ${exportVarsFromJexl.OFFSET_LITERAL_SINGLE[2]}OFFSET_LITERAL_SINGLE: 21, 34, 129
ID: theOFFSET0${exportVarsFromJexl.OFFSET[0]}10
expand req. filename:/Users/vcrocla/src/RestReplay/src/main/resources/restreplay/_self_test/res/jsonTreeCompareL.xml/Users/vcrocla/src/RestReplay/src/main/resources/restreplay/_self_test/res/jsonTreeCompareL.xml/Users/vcrocla/src/RestReplay/src/main/resources/restreplay/_self_test/res/jsonTreeCompareL.xml
ID: ARRAYS_USED_0OFFSET: 10, 18, 21OFFSET: 10, 18, 21
ID: ARRAYS_USED_1OFFSET_LITERAL: 20, 33, 128OFFSET_LITERAL: 20, 33, 128
ID: ARRAYS_USED_2OFFSET_LITERAL_SINGLE: 21, 34, 129OFFSET_LITERAL_SINGLE: 21, 34, 129
ID: theOFFSET01010
expand req. file:_self_test/res/jsonTreeCompareL.xml<?xml version="1.0" encoding="UTF-8"?>
<root>
<a>one</a>
<b>
<c>two</c>
</b>
</root><?xml version="1.0" encoding="UTF-8"?>
<root>
<a>one</a>
<b>
<c>two</c>
</b>
</root>
ID: ARRAYS_USED_0OFFSET: 10, 18, 21OFFSET: 10, 18, 21
ID: ARRAYS_USED_1OFFSET_LITERAL: 20, 33, 128OFFSET_LITERAL: 20, 33, 128
ID: ARRAYS_USED_2OFFSET_LITERAL_SINGLE: 21, 34, 129OFFSET_LITERAL_SINGLE: 21, 34, 129
ID: theOFFSET01010
inline validator
if (exportVarsFromJexl.get('OFFSET')[1] != '9'){
serviceResult.addError("OFFSET[1] was not 9, was: "+exportVarsFromJexl.get('OFFSET')[1]);
}
if (theOFFSET0 != '9'){
serviceResult.addWarning("theOFFS...
VarsAndValidators.useVarValidatorNoErrors
go to test vars:SELFTEST_PORT [1]
references:
exportVarsFromJexl.OFFSET_LITERAL_S...
exportVarsFromJexl.OFFSET_LITERAL_S...
exportVarsFromJexl.OFFSET[1]
exportVarsFromJexl.OFFSET_LITERAL[1...
exportVarsFromJexl.OFFSET_LITERAL[2...
exportVarsFromJexl.OFFSET[2]
exportVarsFromJexl.OFFSET_LITERAL_S...
exportVarsFromJexl.OFFSET[0]
exportVarsFromJexl.OFFSET_LITERAL[0...
vars to protoHostPorthttp://localhost:${SELFTEST_PORT}http://localhost:28080
ID: SELFTEST_PORT2808028080
ID: GLOBALMASTERVAR1global_mastervar_value_1global_mastervar_value_1
ID: GLOBALMASTERVAR2global_mastervar_value_2global_mastervar_value_2
ID: ARRAYS_USED_0OFFSET: ${exportVarsFromJexl.OFFSET[0]}, ${exportVarsFromJexl.OFFSET[1]}, ${exportVarsFromJexl.OFFSET[2]}OFFSET: 10, 18, 21
ID: ARRAYS_USED_1OFFSET_LITERAL: ${exportVarsFromJexl.OFFSET_LITERAL[0]}, ${exportVarsFromJexl.OFFSET_LITERAL[1]}, ${exportVarsFromJexl.OFFSET_LITERAL[2]}OFFSET_LITERAL: 20, 33, 128
ID: ARRAYS_USED_2OFFSET_LITERAL_SINGLE: ${exportVarsFromJexl.OFFSET_LITERAL_SINGLE[0]}, ${exportVarsFromJexl.OFFSET_LITERAL_SINGLE[1]}, ${exportVarsFromJexl.OFFSET_LITERAL_SINGLE[2]}OFFSET_LITERAL_SINGLE: 21, 34, 129
ID: theOFFSET0${exportVarsFromJexl.OFFSET[0]}10
expand req. filenameRel:_self_test/res/jsonTreeCompareL.xml_self_test/res/jsonTreeCompareL.xml_self_test/res/jsonTreeCompareL.xml
ID: ARRAYS_USED_0OFFSET: ${exportVarsFromJexl.OFFSET[0]}, ${exportVarsFromJexl.OFFSET[1]}, ${exportVarsFromJexl.OFFSET[2]}OFFSET: 10, 18, 21
ID: ARRAYS_USED_1OFFSET_LITERAL: ${exportVarsFromJexl.OFFSET_LITERAL[0]}, ${exportVarsFromJexl.OFFSET_LITERAL[1]}, ${exportVarsFromJexl.OFFSET_LITERAL[2]}OFFSET_LITERAL: 20, 33, 128
ID: ARRAYS_USED_2OFFSET_LITERAL_SINGLE: ${exportVarsFromJexl.OFFSET_LITERAL_SINGLE[0]}, ${exportVarsFromJexl.OFFSET_LITERAL_SINGLE[1]}, ${exportVarsFromJexl.OFFSET_LITERAL_SINGLE[2]}OFFSET_LITERAL_SINGLE: 21, 34, 129
ID: theOFFSET0${exportVarsFromJexl.OFFSET[0]}10
expand req. filename:/Users/vcrocla/src/RestReplay/src/main/resources/restreplay/_self_test/res/jsonTreeCompareL.xml/Users/vcrocla/src/RestReplay/src/main/resources/restreplay/_self_test/res/jsonTreeCompareL.xml/Users/vcrocla/src/RestReplay/src/main/resources/restreplay/_self_test/res/jsonTreeCompareL.xml
ID: ARRAYS_USED_0OFFSET: 10, 18, 21OFFSET: 10, 18, 21
ID: ARRAYS_USED_1OFFSET_LITERAL: 20, 33, 128OFFSET_LITERAL: 20, 33, 128
ID: ARRAYS_USED_2OFFSET_LITERAL_SINGLE: 21, 34, 129OFFSET_LITERAL_SINGLE: 21, 34, 129
ID: theOFFSET01010
expand req. file:_self_test/res/jsonTreeCompareL.xml<?xml version="1.0" encoding="UTF-8"?>
<root>
<a>one</a>
<b>
<c>two</c>
</b>
</root><?xml version="1.0" encoding="UTF-8"?>
<root>
<a>one</a>
<b>
<c>two</c>
</b>
</root>
ID: ARRAYS_USED_0OFFSET: 10, 18, 21OFFSET: 10, 18, 21
ID: ARRAYS_USED_1OFFSET_LITERAL: 20, 33, 128OFFSET_LITERAL: 20, 33, 128
ID: ARRAYS_USED_2OFFSET_LITERAL_SINGLE: 21, 34, 129OFFSET_LITERAL_SINGLE: 21, 34, 129
ID: theOFFSET01010
inline validator
if (exportVarsFromJexl.get('OFFSET')[1] != '18'){
serviceResult.addError("OFFSET[1] was not 18, was: "+exportVarsFromJexl.get('OFFSET')[1]);
}
if (theOFFSET0 != '10'){
serviceResult.addWarning("theO...
Accumulated vars and references for TestGroup
vars:SELFTEST_PORT [3]
references:
['21','34','129']
exportVarsFromJexl.OFFSET[0]
exportVarsFromJexl.OFFSET_LITERAL[0...
arr = ki...
exportVarsFromJexl.OFFSET_LITERAL_S...
exportVarsFromJexl.OFFSET_LITERAL_S...
exportVarsFromJexl.OFFSET[1]
exportVarsFromJexl.OFFSET_LITERAL[1...
exportVarsFromJexl.OFFSET_LITERAL[2...
exportVarsFromJexl.OFFSET[2]
exportVarsFromJexl.OFFSET_LITERAL_S...
arr = ['...