Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Donald Oakes committed Jun 5, 2020
1 parent 5ada8e5 commit ecc3674
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ JavaObjectHandler.test=2
JavaObjectHandler.yaml=1
JavaRequestHandler.java=1
Jsonable.proc=4
JsonableHandler.test=2
JsonableHandler.yaml=1
JsonableHandler.test=3
JsonableHandler.yaml=2
JsonableInput.test=2
JsonableInput.yaml=1
JsonableRequest.test=2
JsonableRequest.yaml=1
JsonableRequest.test=3
JsonableRequest.yaml=2
JsonableRequestHandler.java=1
Mountain.java=3
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ def response = post http("api/REST/variablesTest/Jsonable") {
assert response.code == 200

wait process("Jsonable.proc")
verify process
verify process {
excludeVariables = ['requestHeaders']
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,6 @@ process: # 10612
"elevation": 19339,
"name": "Kilimanjaro"
}
variable: # 12378
name: requestHeaders
value: |
{
"AuthenticatedUser": "mdwapp",
"Content-Type": "application/json",
"HttpMethod": "POST",
"Protocol": "REST",
"RemoteAddr": "${~.*}",
"RemoteHost": "${~.*}",
"RemotePort": "${~\\d*}",
"RequestPath": "variablesTest/Jsonable",
"RequestURL": "http://${~.*}/mdw/api/REST/variablesTest/Jsonable",
"ServiceClass": "com.centurylink.mdw.hub.servlet.RestServlet",
"accept": "${~.*}",
"connection": "keep-alive",
"content-length": "${~\\d*}",
"content-type": "application/json",
"document-id": "${~\\d*}",
"host": "${~.*}",
"mdw-request-id": "${masterRequestId}",
"user-agent": "${~.*}"
}
variable: # 12377
name: testCase
value: Request Handler
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ def response = post http("api/com/centurylink/mdw/tests/variables/Jsonable") {
}

wait process("Jsonable.proc")
verify process
verify process {
excludeVariables = ['requestHeaders']
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,6 @@ process: # 10614
"elevation": 29027,
"name": "Everest"
}
variable: # 12385
name: requestHeaders
value: |
{
"AuthenticatedUser": "mdwapp",
"Content-Type": "application/json",
"HttpMethod": "POST",
"Protocol": "REST",
"RemoteAddr": "${~.*}",
"RemoteHost": "${~.*}",
"RemotePort": "${~\\d*}",
"RequestPath": "com/centurylink/mdw/tests/variables/Jsonable",
"RequestURL": "http://${~.*}/mdw/api/com/centurylink/mdw/tests/variables/Jsonable",
"ServiceClass": "com.centurylink.mdw.hub.servlet.RestServlet",
"accept": "${~.*}",
"connection": "keep-alive",
"content-length": "${~\\d*}",
"content-type": "application/json",
"document-id": "${~\\d*}",
"host": "${~.*}",
"mdw-request-id": "${masterRequestId}",
"user-agent": "${~.*}"
}
variable: # 12388
name: testCase
value: Process Request

0 comments on commit ecc3674

Please sign in to comment.