Forum Discussion
h_ixon
16 years agoOccasional Contributor
Hy,
I have found a solution to my problem. I post it below. Thank's
I have found a solution to my problem. I post it below. Thank's
def opeList = mockRunner.mockService.getMockOperationList()
def operation = ""
// Check if an operation name appear on my request, if it's true the variable operation take is updated.
opeList.eachWithIndex() {
key, value ->
if ( requete =~ /\b${key.name}\b/ ){
operation = "${key.name}"
//log.info "operation = " + operation
}
}