RestReplay run on: Dec 8, 2015 3:18:30 PM   test group: VarsAndValidators  Back to Master
Test Group: VarsAndValidators   Control File: _self_test/self-test.xml
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


Summary
testIDmethodcodetime(ms)statuswarnerrorDOM
exportVarsFromJexl POST2002SUCCESS
useVarValidator POST2009EXPECTED WARNINGS: 1 ERRORS: 1
useVarValidatorNoErrors POST2007SUCCESS


Test Details

SUCCESS:    exportVarsFromJexl    seq: 75
POST   http://localhost:28080/jsonCompare1?mimeOut=text/xml
200    gotExpected: true             time: 2ms
msg: OK
alerts:
req-headers: content-type: application/xml
resp-headers: Content-type: text/xml Content-length: 104 Location: http://localhost:28080/jsonCompare1?ID=32 Date: Tue, 08 Dec 2015 23:18:30 GMT
deleteURL: http://localhost:28080/jsonCompare1?ID=32
location: http://localhost:28080/jsonCompare1?ID=32
vars: SELFTEST_PORT: 28080
GLOBALMASTERVAR1: global_mastervar_value_1
GLOBALMASTERVAR2: global_mastervar_value_2
exports: OFFSET: [Ljava.lang.String;@5c725e09
OFFSET_LITERAL: [Ljava.lang.String;@587bd049
OFFSET_LITERAL_SINGLE: [Ljava.lang.String;@28a79601
REQUEST (raw) REQUEST (expanded)RESPONSE (unknown)EvalReport
EXPECTED   useVarValidator    seq: 76
POST   http://localhost:28080/jsonCompare1?mimeOut=text/xml
200    gotExpected: true             time: 9ms
msg: OK
alerts: ERRORVarsAndValidators.useVarValidatorOFFSET[1] was not 9, was: 18WARNVarsAndValidators.useVarValidatortheOFFSET0 was not 9, was: 10OKvalidator: [inline]
errors: 1
warnings: 1
req-headers: content-type: application/xml
resp-headers: Content-type: text/xml Content-length: 104 Location: http://localhost:28080/jsonCompare1?ID=33 Date: Tue, 08 Dec 2015 23:18:30 GMT
deleteURL: http://localhost:28080/jsonCompare1?ID=33
location: http://localhost:28080/jsonCompare1?ID=33
vars: SELFTEST_PORT: 28080
GLOBALMASTERVAR1: global_mastervar_value_1
GLOBALMASTERVAR2: global_mastervar_value_2
ARRAYS_USED_0: OFFSET: 10, 18, 21
ARRAYS_USED_1: OFFSET_LITERAL: 20, 33, 128
ARRAYS_USED_2: OFFSET_LITERAL_SINGLE: 21, 34, 129
theOFFSET0: 10
REQUEST (raw) REQUEST (expanded)RESPONSE (unknown)EvalReport
SUCCESS:    useVarValidatorNoErrors    seq: 77
POST   http://localhost:28080/jsonCompare1?mimeOut=text/xml
200    gotExpected: true             time: 7ms
msg: OK
alerts: OKvalidator: [inline]
req-headers: content-type: application/xml
resp-headers: Content-type: text/xml Content-length: 104 Location: http://localhost:28080/jsonCompare1?ID=34 Date: Tue, 08 Dec 2015 23:18:30 GMT
deleteURL: http://localhost:28080/jsonCompare1?ID=34
location: http://localhost:28080/jsonCompare1?ID=34
vars: SELFTEST_PORT: 28080
GLOBALMASTERVAR1: global_mastervar_value_1
GLOBALMASTERVAR2: global_mastervar_value_2
ARRAYS_USED_0: OFFSET: 10, 18, 21
ARRAYS_USED_1: OFFSET_LITERAL: 20, 33, 128
ARRAYS_USED_2: OFFSET_LITERAL_SINGLE: 21, 34, 129
theOFFSET0: 10
REQUEST (raw) REQUEST (expanded)RESPONSE (unknown)EvalReport


Eval Report

VarsAndValidators.exportVarsFromJexl     go to test
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
VarsAndValidators.useVarValidator     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] != '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 = ['...




Legend

Summary
SUCCESS
EXPECTED
FAILURE

This is a variable
This is an export
This is an error

This is a warning

This is a comment
✲ — AutodeletedTestResult
Eval Report for one testID (preflight)

preflight is for expressions like loop="${['a','b']}" which get evaluated before the test gets created, so you'll see the same testID is shown with a new header in the eval report after the preflight section.

Eval Report for one testID
vars:
VARIABLES    [access-count]
references:
importedItem.field
testID.field
title and id of level 0 items such as vars expression value
title and id of items that are eval'd in a nested context expression value

ResourceManager Summary (master index)

resource-found
resource-cached
resource-not-found
powered by RestReplay